mattsc
0e017d9f7c
Lua code: replace deprecated wesnoth.set_variable() calls
...
(cherry-picked from commit ce7faae4f4
)
2018-10-07 03:21:07 +00:00
mattsc
05d5afa6a9
Lua code: replace deprecated wesnoth.get_variable() calls
...
(cherry-picked from commit f1764d182f
)
2018-10-07 03:21:06 +00:00
mattsc
448a20779f
Lua code: replace deprecated wesnoth.tovconfig() calls
...
(cherry-picked from commit 138107c8f6
)
2018-10-07 03:21:06 +00:00
Celtic Minstrel
08ec9017b5
Lua API: Some tweaks of the experimental wml module
2018-03-17 16:48:00 -04:00
Charles Dang
0103959c36
Cleaned up deprecated API usage in core Lua
...
[ci skip]
2018-03-13 16:55:36 +11:00
vgaming
8ba6e5f40e
fix code problems found by luacheck ( #2380 )
...
actual bugs found:
* backwards_compatibility.lua (undeclared global "helper")
* core.lua (use of undeclared global "helper")
* wml_tags.transform_unit had wrong code to deal with recall_cost
* wrong variable name in cave_map_generator
2018-01-20 23:05:58 -05:00
Gregory A Lundberg
468f07364e
Bug in [for] missing step
...
https://forums.wesnoth.org/viewtopic.php?t=46450 reports a Lua crash if end is given but step is not. The wiki says the default step is 1. Note that if end is negative, the [for] does nothing (per sniity check).
2017-06-21 20:45:21 -05:00
Celtic Minstrel
41d0a6b3d8
Fix #1688
2017-05-12 17:21:38 -04:00
Celtic Minstrel
8d4cf3cf62
Shorten requires where possible
2017-05-03 02:42:25 -04:00
Celtic Minstrel
5fdb73b92f
Fix an error in [for] if step not specified
2016-12-11 18:06:51 -05:00
Celtic Minstrel
293151687c
Fix number-nil comparison in [for]
2016-10-26 15:15:47 -04:00
fendrin
b9d2ec4409
Renamed [foreach] variable= to array= and item_var= to variable=
2016-08-06 06:20:41 +02:00
Celtic Minstrel
d3374d3670
WML tags fixup
2016-04-04 20:10:52 -04:00
Celtic Minstrel
a791909544
Split the more complicated WML tags into separate Lua files
2016-04-04 17:03:38 -04:00