- [NEW] Rat penat

This commit is contained in:
2026-04-14 10:10:08 +02:00
parent f3417d6faa
commit e040a3896d
7 changed files with 55 additions and 0 deletions

View File

@@ -295,6 +295,22 @@ function me.create(type, options)
room = options.room,
ia = ia.update_dimoni
}
elseif key == "ratpenat" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=8,h=8 },
bbo = { left=1, top=1, right=1, bottom=1 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/ratpenat.gif"),
animation = "ratpenat",
state = me.ALIVE,
enemy = true,
room = options.room,
ia = ia.update_ratpenat
}
else
error("Template not recognized")
end