Farms near freshwater (#3063)

* Farms near freshwater
* Farm now has unique "Can also be built on tiles adjacent to fresh water"
https://civilization.fandom.com/wiki/Farm_(Civ5)
Even snow: https://www.reddit.com/r/civ/comments/11qtko/farms_on_snow/
Hill+Farm, Snow+Farm, Tundra+Farm sprites by THE BUCKETEER and Ravignir from discord
* fields improvingTech and improvingTechStats converted into uniques
e.g.:
"[+1 Production] once [Scientific Theory] is discovered"
"[+1 Food] on [fresh water] tiles once [Civil Service] is discovered"
"[+1 Food] on [non-fresh water] tiles once [Fertilizer] is discovered"

* ai will build trading posts and farms in snow and tundra if it has no better tiles to work on

* "Provides a one-time Production bonus to the closest city when cut down" unique for forest

* update template.properties
This commit is contained in:
HadeanLake
2020-09-02 19:49:29 +03:00
committed by GitHub
parent 64d12a5d2f
commit 8f75368b99
16 changed files with 328 additions and 267 deletions

View File

@ -87,7 +87,8 @@
"unbuildable": true,
"defenceBonus": 0.25,
"occursOn": ["Tundra","Plains","Grassland","Hill"],
"rough": true
"rough": true,
"uniques": ["Provides a one-time Production bonus to the closest city when cut down"]
},
{
"name": "Jungle",

View File

@ -6,8 +6,7 @@
"food": 1,
"turnsToBuild": 7,
"techRequired": "Agriculture",
"improvingTech": "Fertilizer",
"improvingTechStats": {"food": 1}
"uniques": ["Can also be built on tiles adjacent to fresh water", "[+1 Food] on [fresh water] tiles once [Civil Service] is discovered", "[+1 Food] on [non-fresh water] tiles once [Fertilizer] is discovered"],
},
{
"name": "Lumber mill",
@ -15,8 +14,7 @@
"production": 1,
"turnsToBuild": 7,
"techRequired": "Construction",
"improvingTech": "Steam Power",
"improvingTechStats": {"production": 1}
"uniques": ["[+1 Production] once [Scientific Theory] is discovered"]
},
{
"name": "Mine",
@ -24,8 +22,7 @@
"production": 1,
"turnsToBuild": 7,
"techRequired": "Mining",
"improvingTech": "Chemistry",
"improvingTechStats": {"production": 1}
"uniques": ["[+1 Production] once [Chemistry] is discovered"]
},
{
"name": "Trading post",
@ -33,8 +30,7 @@
"gold": 1,
"turnsToBuild": 7,
"techRequired": "Guilds",
"improvingTech": "Economics",
"improvingTechStats": {"gold": 1}
"uniques": ["[+1 Gold] once [Economics] is discovered"]
},
// Resource-specific
@ -43,8 +39,7 @@
"resourceTerrainAllow": ["Forest"],
"turnsToBuild": 7,
"techRequired": "Trapping",
"improvingTech": "Economics",
"improvingTechStats": {"gold": 1}
"uniques": ["[+1 Gold] once [Economics] is discovered"]
},
{
"name": "Oil well",
@ -55,31 +50,27 @@
"name": "Pasture",
"turnsToBuild": 8,
"techRequired": "Animal Husbandry",
"improvingTech": "Fertilizer",
"improvingTechStats": {"food": 1}
"uniques": ["[+1 Food] once [Fertilizer] is discovered"]
},
{
"name": "Plantation",
"turnsToBuild": 6,
"gold": 1,
"techRequired": "Calendar",
"improvingTech": "Fertilizer",
"improvingTechStats": {"food": 1}
"uniques": ["[+1 Food] once [Fertilizer] is discovered"]
},
{
"name": "Quarry",
"turnsToBuild": 8,
"techRequired": "Masonry",
"improvingTech": "Chemistry",
"improvingTechStats": {"production": 1}
"uniques": ["[+1 Production] once [Chemistry] is discovered"]
},
{
"name": "Fishing Boats",
"terrainsCanBeBuiltOn": ["Coast"],
"food": 1,
"techRequired": "Sailing",
"improvingTech": "Compass",
"improvingTechStats": {"gold": 1}
"uniques": ["[+1 Gold] once [Compass] is discovered"]
},
// Military improvement
@ -110,28 +101,28 @@
"name": "Remove Forest",
"turnsToBuild": 4,
"terrainsCanBeBuiltOn": ["Forest"],
"techRequired": "Mining"
"techRequired": "Mining",
"uniques": ["Can be built outside your borders"]
},
{
"name": "Remove Jungle",
"turnsToBuild": 7,
"terrainsCanBeBuiltOn": ["Jungle"],
"techRequired": "Bronze Working"
"techRequired": "Bronze Working",
"uniques": ["Can be built outside your borders"]
},
{
"name": "Remove Fallout",
"turnsToBuild": 8,
"terrainsCanBeBuiltOn": ["Fallout"],
"techRequired": "Atomic Theory"
"techRequired": "Atomic Theory",
"uniques": ["Can be built outside your borders"]
},
{
"name": "Remove Marsh",
"turnsToBuild": 6,
"terrainsCanBeBuiltOn": ["Marsh"],
"techRequired": "Bronze Working"
"techRequired": "Bronze Working",
"uniques": ["Can be built outside your borders"]
},
@ -148,34 +139,30 @@
},
{
"name": "Cancel improvement order",
"uniques": ["Can be built outside your borders"]
},
// Great Person improvements
{
"name": "Academy",
"science": 8,
"uniques": ["Great Improvement"],
"improvingTech": "Scientific Theory",
"improvingTechStats": {"science": 2}
"uniques": ["Great Improvement", "[+2 Science] once [Scientific Theory] is discovered"]
// in Gods & Kings academy will also have "[+2 Science] once [Atomic Theory] is discovered"
},
{
"name": "Landmark",
"culture": 6,
"uniques": ["Great Improvement"],
"uniques": ["Great Improvement"]
},
{
"name": "Manufactory",
"production": 4,
"improvingTech": "Chemistry",
"uniques": ["Great Improvement"],
"improvingTechStats": {"production": 1}
"uniques": ["Great Improvement", "[+1 Production] once [Chemistry] is discovered"]
},
{
"name": "Customs house",
"gold": 4,
"improvingTech": "Economics",
"uniques": ["Great Improvement"],
"improvingTechStats": {"gold": 1}
"uniques": ["Great Improvement", "[+1 Gold] once [Economics] is discovered"]
},
{
"name": "Citadel",
@ -190,8 +177,7 @@
"turnsToBuild": 4,
"uniques": ["[+1 Culture] for each adjacent [Moai]", "Can only be built on Coastal tiles"],
"techRequired": "Construction",
"improvingTech": "Flight",
"improvingTechStats": {"gold": 1}
"uniques": ["[+1 Gold] once [Flight] is discovered"]
},
{
"name": "Terrace farm",
@ -199,10 +185,8 @@
"terrainsCanBeBuiltOn": ["Hill"],
"food": 1,
"turnsToBuild": 7,
"uniques": ["[+1 Food] for each adjacent [Mountain]", "Cannot be built on bonus resource"],
"techRequired": "Construction",
"improvingTech": "Fertilizer",
"improvingTechStats": {"food":1}
"uniques": ["[+1 Food] for each adjacent [Mountain]", "Cannot be built on bonus resource", "[+1 Food] on [fresh water] tiles once [Civil Service] is discovered", "[+1 Food] on [non-fresh water] tiles once [Fertilizer] is discovered"],
"techRequired": "Construction"
},
{ "name": "Ancient ruins" },

View File

@ -434,6 +434,7 @@ Our proposed trade request is no longer relevant! =
[defender] withdrew from a [attacker] =
[building] has provided [amount] Gold! =
[civName] has stolen your territory! =
Clearing a [forest] has created [amount] Production for [cityName] =
# World Screen UI
@ -599,6 +600,8 @@ vs [unitType] =
Terrain =
Tile =
Missing resource =
[stats] on [tileType] tiles =
from improvements: =
Hurry Research =
@ -630,6 +633,8 @@ Water =
# For [stats] from [Water resource] tiles in this city
Water resource =
River =
fresh water =
non-fresh water =
Wonders =
Base values =