Latest Posts

Topic: Documentation rework

Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1954
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2020-01-14, 17:28

Here are the functions in master: https://github.com/widelands/widelands/blob/master/src/scripting/lua_map.cc#L3760

Changes merged on 07.12.19 (https://github.com/widelands/widelands/pull/3481)

Edit: The doc page still shows the four old functions ware_target_quantity(), worker_target_quantity(), set_ware_target_quantity(), and set_worker_target_quantity(), which have been replaced with just two functions target_quantity() and set_target_quantity().

Edited: 2020-01-14, 17:34

Top Quote
kaputtnik
Avatar
Topic Opener
Joined: 2013-02-18, 19:48
Posts: 2440
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2020-01-14, 20:25

Found it... our server is still pulling the code from launchpad, so since switching to github there are no updates.

The launchpad site mentions it is an official mirror from the git repo, but i don't know if this is really true or how this works...

stonerl?
GunChleoc?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote