- [NEW] Ja lleva o fica els items segons l'habitació que entra

This commit is contained in:
2025-11-14 20:08:26 +01:00
parent 6db92c3df6
commit 8dc76e1382
4 changed files with 17 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ templates = {
animation = "mummy_walk",
state = templates.ALIVE,
enemy = true,
room = options.room,
ia = sprites.update_mummy
}
elseif type == "bullet" then
@@ -35,7 +36,7 @@ templates = {
else
error("Template not recognized")
end
sprite.room = rooms.current()
--sprite.room = rooms.current()
print("creat sprite de tipus "..type)
return sprite
end,