Initial commit
This commit is contained in:
commit
e385a53158
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
||||||
|
<Mod _format_version="0" version_built_with="7" >
|
||||||
|
</Mod>
|
Binary file not shown.
After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
|
@ -0,0 +1,18 @@
|
||||||
|
dofile("data/scripts/utilities.lua")
|
||||||
|
|
||||||
|
function OnPlayerSpawned(player_entity)
|
||||||
|
-- Remove original cape
|
||||||
|
local had_cape = false
|
||||||
|
local player_child_entities = EntityGetAllChildren(player_entity)
|
||||||
|
if player_child_entities ~= nil then
|
||||||
|
for i, child in ipairs(player_child_entities) do
|
||||||
|
if EntityGetName(child) == "cape" then
|
||||||
|
EntityKill(child)
|
||||||
|
had_cape = true
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- TODO: add tail
|
||||||
|
end
|
|
@ -0,0 +1,4 @@
|
||||||
|
<mod name="Casey Reskin"
|
||||||
|
description="Play as.. me!"
|
||||||
|
request_no_api_restrictions="0">
|
||||||
|
</mod>
|
|
@ -0,0 +1 @@
|
||||||
|
skin_casey
|
Loading…
Reference in New Issue