Topic: Lua: Access to Prefer Rookies/Heros
kaputtnik Topic Opener |
Posted at: 2020-12-31, 11:30
I want to create an addon which sets for each new military building the following values:
Those settings should be valid until the user changes them. As far i can see there is no possibility to access the prefer rookies/heros setting. How can this be accessed? Top Quote |
Nordfriese |
Posted at: 2020-12-31, 11:59
Lua support for these properties is not implemented yet, but it can be extracted from PR #3662 where it is already implemented. I am going to extract all the new Lua functions from the scenario editor branch into a new branch as soon as the PR list is a bit shorter again… Top Quote |
Nordfriese |
Posted at: 2021-01-03, 23:01
https://github.com/widelands/widelands/pull/4584 Top Quote |