wesnoth/data/campaigns/tutorial/lua
Celtic Minstrel 915fd49ae6 Tutorial: Specify the side of Li'sar in the char select
When a unit data passed to `to_map` either lacks a side or has
side zero, implementation automatically sets it to 1, thus the
existing code worked fine. However:

1. The lack of a `side` could trigger a warning in EmmyLua. It
currently doesn't trigger that, but would with Celtic Minstrel's
planned improvements in Wesnoth's lint hints.

2. The tutorial should be good example code, and the special-case
in the C++ code that made this work is a case of "assume it's a
SP situation, and choose the result that benefits side 1".
2024-02-15 09:57:17 +01:00
..
character_selection.lua Tutorial: Specify the side of Li'sar in the char select 2024-02-15 09:57:17 +01:00
hint_message.lua Make tutorial hint messages persistent (#6620) 2022-05-20 12:23:49 -04:00