in the dialogs converter by the script, NO_TEXT (to hide the node text which
would otherwise be shown as tux_says()) is not present resulting in some
dublicated sayings (at least it sometimes looks like it).
for example:
AfterTakeover.dialog:
Nr=1 Text=_"cd repair&settings/"
NO_TEXT
<LuaCode>
tux_says(_"cd repair&settings/", "NO_WAIT")
next(2)
topic("repair_and_settings")
</LuaCode>
AfterTakeover.lua:
{
id = "node1",
text = _"cd repair&settings/",
code = function()
tux_says(_"cd repair&settings/", "NO_WAIT")
next("node2")
push_topic("repair_and_settings")
end,
},
the lua code will show ingame as:
tux_says(cd repair&settings/)
tux_says(cd repair&settings/)
next("node2")
|