Refactor Capturable Farmstead feature/templates
commitdbafb83cb3062f6f50d1c28eda2e61afbe5a8740
authorwowgetoffyourcellphone <wowgetoffyourcellphone@3db68df2-c116-0410-a063-a993310a9797>
Mon, 11 Sep 2023 00:08:13 +0000 (11 00:08 +0000)
committerwowgetoffyourcellphone <wowgetoffyourcellphone@3db68df2-c116-0410-a063-a993310a9797>
Mon, 11 Sep 2023 00:08:13 +0000 (11 00:08 +0000)
tree1957246a28fea9c3cf516aa9af7f15dec9ecb966
parent7a2231f0d56eccb42c94d6e4853cb3e0f0d30a4d
Refactor Capturable Farmstead feature/templates

Attempts to address Invalid warning messages for capturable farmsteads and creates a mixin as suggested by @Langbart

Renames the "farmsteads_" template files to "mill_" to eliminate confusion with standard buildable farmsteads and changes the refs in the skirmish maps to suit.

Genericizes the name to Rotary Mill instead of Farmstead, again to eliminate confusion between the two (the former is a capturable map object, while the latter is a player-buildable structure).

Fixes #6818
Differential revision: https://code.wildfiregames.com/D5113

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@27835 3db68df2-c116-0410-a063-a993310a9797
20 files changed:
binaries/data/mods/public/maps/skirmishes/alpine_valleys_2p.xml
binaries/data/mods/public/maps/skirmishes/arabian_oases_2p.xml
binaries/data/mods/public/maps/skirmishes/bactria_2p.xml
binaries/data/mods/public/maps/skirmishes/deccan_plateau_2p.xml
binaries/data/mods/public/maps/skirmishes/gallic_highlands_2p.xml
binaries/data/mods/public/maps/skirmishes/libyan_oasis_2p.xml
binaries/data/mods/public/maps/skirmishes/miletus_peninsula_2p.xml
binaries/data/mods/public/maps/skirmishes/saharan_oases_4p.xml
binaries/data/mods/public/simulation/data/auras/structures/farmstead_60.json
binaries/data/mods/public/simulation/templates/mixins/rotary_mill.xml [moved from binaries/data/mods/public/simulation/templates/template_structure_special_rotarymill.xml with 63% similarity]
binaries/data/mods/public/simulation/templates/structures/brit/rotarymill.xml
binaries/data/mods/public/simulation/templates/structures/gaul/rotarymill.xml
binaries/data/mods/public/simulation/templates/structures/mill_desert.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_desert.xml with 73% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_field_wheat.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_field_wheat.xml with 95% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_greek.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_greek.xml with 80% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_indian.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_indian.xml with 80% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_italian.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_italian.xml with 80% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_middle_eastern.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_middle_eastern.xml with 76% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_saharan.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_saharan.xml with 73% similarity]
binaries/data/mods/public/simulation/templates/structures/mill_temperate_europe.xml [moved from binaries/data/mods/public/simulation/templates/structures/farmstead_temperate_europe.xml with 74% similarity]