Generalized building of improvements (#4252)

* Generalized building of improvements

* Readded support for the deprecated unique "Can build improvements on tiles"

* Small code quality changes

* Implemented requested chagnes
This commit is contained in:
Xander Lenstra
2021-06-25 15:35:15 +02:00
committed by GitHub
parent 06b2e7da2f
commit e6850b857a
12 changed files with 156 additions and 113 deletions

View File

@ -7,7 +7,7 @@
"name": "Worker",
"unitType": "Civilian",
"movement": 2,
"uniques": ["Can build improvements on tiles"],
"uniques": ["Can build [Land] improvements on tiles"],
"cost": 70
},
{
@ -372,10 +372,9 @@
"upgradesTo": "Longswordsman",
"obsoleteTech": "Gunpowder",
"requiredResource": "Iron",
"uniques": ["Can construct roads"],
"uniques": ["Can build [Road] improvements on tiles", "Can build [Fort] improvements on tiles"],
"hurryCostModifier": 20,
"attackSound": "metalhit"
// can construct fort (if required for fort tech is researched)
},
{
"name": "Mohawk Warrior",