- [NEW] Ja lleva o fica els items segons l'habitació que entra
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user