Canik05 / freeciv-tnt

https://www.tacticsandtriumph.com
Other
3 stars 2 forks source link

Enable webclient cultivate/plant migration #32

Closed cazfi closed 2 years ago

cazfi commented 2 years ago

This PR backports freeciv.org patch "Separate cultivate/plant time from irrigation/mining time". The two other backports included are there just to reduce textual conflict when the main patch was applied.

The reason for backporting this is that with dedicated cultivate_time and plant_time terrain properties, webclient can e.g. check if the ruleset has cultivate enabled for the terrain by "if (tile_terrain(ptile)['cultivate_time'] > 0)". This is likely needed when migrating webclient to use cultivate/plant actions.

As usual with ruleset format changes, only rulesets supplied by freeciv.org have been updated. TnT's custom rulesets have not been touched.