<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39466 >
For #17187: Move hut code into lua script, and can be useful in the future.
>> One hut issue remains: Only Legions are given as mercenaries. This can
>> be solved by porting a method to find a unittype for role, or simplified
>> now that different rulesets can customize by script.
>We should probably port find_a_unit_type to find units by role to the
To make scripts able to access ruleset data, we should make (for
example) the function find_a_unit_type available. It would fit in the
find module as for example:
Freeciv-dev mailing list