Issue712

Title NO_TEXT not present in lua dialogs
Priority critical Status resolved
Assigned To fluzz Keywords dialog
Linked issues Watchers fluzz

Submitted on 2013-11-11 22h14 by matthiaskrgr, last changed by Xenux.

Messages
Author: matthiaskrgr Date: 2013-11-11   22h14
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")
Author: Xenux Date: 2013-11-28   22h29
Fixed by 4292f96566520d8c7799d04a205125d112915eb8
History
Date User Action Args
2013-11-28 22:29:37Xenuxsetstatus: open -> resolved
2013-11-28 22:29:29Xenuxsetmessages: + msg2643
2013-11-11 22:14:48matthiaskrgrcreate