Initial commit

This commit is contained in:
Casey 2024-07-01 16:05:54 +03:00
commit e385a53158
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
9 changed files with 25 additions and 0 deletions

BIN
_sources/player.aseprite Normal file

Binary file not shown.

Binary file not shown.

2
compatibility.xml Normal file
View File

@ -0,0 +1,2 @@
<Mod _format_version="0" version_built_with="7" >
</Mod>

BIN
data/enemies_gfx/player.png Normal file

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

18
init.lua Normal file
View File

@ -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

4
mod.xml Normal file
View File

@ -0,0 +1,4 @@
<mod name="Casey Reskin"
description="Play as.. me!"
request_no_api_restrictions="0">
</mod>

1
mod_id.txt Normal file
View File

@ -0,0 +1 @@
skin_casey