widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #09918
[Merge] lp:~widelands-dev/widelands/bug-1675179-lua-hide-fields into lp:widelands
The proposal to merge lp:~widelands-dev/widelands/bug-1675179-lua-hide-fields into lp:widelands has been updated.
Description changed to:
New Lua function for the Barbarians 3 scenario.
For testing, one can change the Empire 1 scenario like this:
-- Show the sea
p1:reveal_fields(sea:region(6))
local ship = p1:place_ship(sea)
sleep(1000)
p1:reveal_fields(wl.Game().map.player_slots[1].starting_field:region(50))
sleep(4000)
p1:hide_fields(wl.Game().map.player_slots[1].starting_field:region(50), true)
campaign_message_box(diary_page_2)
-- Hide the sea after 5 seconds
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1675179-lua-hide-fields/+merge/320981
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1675179-lua-hide-fields into lp:widelands.
References