HttT S17: Add a wmllint: noconvert directive amidst Lua code
wmllint doesn't know what Lua is or that it should skip it. The code in question was triggering the viewing_side -> side plain text substitution rule because wesnoth.find_path takes an optional last table argument that includes a 'viewing_side' table entry, that is completely unrelated to the [filter_vision] viewing_side -> SSF change in 1.11.x.
This commit is contained in:
parent
58d11d7f07
commit
ab35f30287
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@
|
|||
local W = H.set_wml_action_metatable {}
|
||||
local delf = wesnoth.get_units { id = 'Delfador' }[1]
|
||||
local sceptre_x, sceptre_y = wesnoth.get_variable('scepter_x'), wesnoth.get_variable('scepter_y')
|
||||
local path = wesnoth.find_path(delf, sceptre_x, sceptre_y, {ignore_units = true, viewing_side = 0})
|
||||
local path = wesnoth.find_path(delf, sceptre_x, sceptre_y, {ignore_units = true, viewing_side = 0}) -- # wmllint: noconvert
|
||||
_ = wesnoth.textdomain 'wesnoth-httt'
|
||||
|
||||
local dirs = { _"I sense the path to the sceptre is to the east of me.",
|
||||
|
|
Loading…
Add table
Reference in a new issue