[WIP] Lluita contra jefes. Casi implementat se serebro de la bestia

This commit is contained in:
2026-04-06 01:58:49 +02:00
parent aaf5c0fb47
commit 6ac7a811d9
7 changed files with 498 additions and 115 deletions

View File

@@ -4,7 +4,7 @@ function trigger.new(_hab,_x,_y,_action,_escena,_id,_type,_doors,_linked_id)
local world_x, world_y = coords.room_to_world(_hab,_x,_y)
_bb={x=0,y=0,w=16,h=16} --default
-- if _type=="switch" then _bb={x=0,y=0,w=16,h=17} end
if _id then print("NEW => ".._id) end
-- if _id then print("NEW => ".._id) end
_type = _type or "invisible"
return {
name="trigger",