[WIP] Lluita contra jefes. Eliminats actors de la zona de combat
This commit is contained in:
@@ -6,7 +6,6 @@ function trigger.new(_hab,_x,_y,_action,_escena,_id,_type,_doors,_linked_id)
|
||||
-- if _type=="switch" then _bb={x=0,y=0,w=16,h=17} end
|
||||
if _id then print("NEW => ".._id) end
|
||||
_type = _type or "invisible"
|
||||
if _linked_id then print("LINKED => ".._id.." -> ".._linked_id[1].." +") end
|
||||
return {
|
||||
name="trigger",
|
||||
type=_type,
|
||||
@@ -23,6 +22,7 @@ if _linked_id then print("LINKED => ".._id.." -> ".._linked_id[1].." +") end
|
||||
draw=trigger.draw,
|
||||
linked_id=_linked_id,
|
||||
enabled=true,
|
||||
disable_reason="",
|
||||
bb=_bb }
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user