[FIX] Col·lisió en el peu
[FIX] Canviada dialeg.run a dialeg.show [NEW] Afegit dialeg.add
This commit is contained in:
+10
-10
@@ -256,16 +256,16 @@ function premiere.healer_update()
|
||||
local hab, tx, ty = coords.world_to_tile(premiere.x, premiere.y)
|
||||
if hab == 55 and tx==0 and ty==3 and premiere.health_wait==100 then
|
||||
-- 55 (0,3)
|
||||
local _text = "Tenne! Io t'achudo. Figo!";
|
||||
table.insert(
|
||||
dialeg.list,
|
||||
{ actor=premiere,
|
||||
text=_text,
|
||||
time=200,
|
||||
w = math.floor(4.6*#_text),
|
||||
h = 20,
|
||||
}
|
||||
)
|
||||
dialeg.add(premiere, "Tenne! Io t'achudo. Figo!", 200)
|
||||
-- table.insert(
|
||||
-- dialeg.list,
|
||||
-- { actor=premiere,
|
||||
-- text=_text,
|
||||
-- time=200,
|
||||
-- w = math.floor(4.6*#_text),
|
||||
-- h = 20,
|
||||
-- }
|
||||
-- )
|
||||
premiere.health_wait = premiere.health_wait - 1
|
||||
table.insert( actors, health_potion.new(
|
||||
premiere.hab,
|
||||
|
||||
Reference in New Issue
Block a user