Fix han techs to affect Grain instead of rice
This commit is contained in:
parent
77c4a62114
commit
7e28227fa6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "community-mod",
|
||||
"version": "0.26.0",
|
||||
"version": "0.26.1",
|
||||
"label": "0 A.D. Community Mod",
|
||||
"url": "https://gitlab.com/wraitii/0ad-community-mod-a26",
|
||||
"description": "The Community Mod is a community-led effort to improve the gameplay of 0 A.D., officially backed by the 0 A.D. team.",
|
||||
|
@ -105,7 +105,7 @@ PETRA.ResearchManager.prototype.researchWantedTechs = function(gameState, techs)
|
||||
return { "name": tech[0], "increasePriority": this.CostSum(template.cost) < 400 };
|
||||
else if (template.modifications[i].value === "ResourceGatherer/Rates/food.fruit")
|
||||
return { "name": tech[0], "increasePriority": this.CostSum(template.cost) < 400 };
|
||||
else if (template.modifications[i].value === "ResourceGatherer/Rates/food.grain" || template.modifications[i].value === "ResourceGatherer/Rates/food.rice")
|
||||
else if (template.modifications[i].value === "ResourceGatherer/Rates/food.grain")
|
||||
return { "name": tech[0], "increasePriority": false };
|
||||
else if (template.modifications[i].value === "ResourceGatherer/Rates/wood.tree")
|
||||
return { "name": tech[0], "increasePriority": this.CostSum(template.cost) < 400 };
|
||||
|
@ -15,9 +15,9 @@
|
||||
"requirementsTooltip": "Unlocked in City Phase.",
|
||||
"icon": "flood_control.png",
|
||||
"researchTime": 70,
|
||||
"tooltip": "Workers +20% rice gather rate.",
|
||||
"tooltip": "Workers +20% grain gather rate.",
|
||||
"modifications": [
|
||||
{ "value": "ResourceGatherer/Rates/food.rice", "multiply": 1.2 }
|
||||
{ "value": "ResourceGatherer/Rates/food.grain", "multiply": 1.2 }
|
||||
],
|
||||
"affects": ["Worker"],
|
||||
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
|
||||
|
@ -14,9 +14,9 @@
|
||||
"requirementsTooltip": "Unlocked in Village Phase.",
|
||||
"icon": "torsion_springs.png",
|
||||
"researchTime": 50,
|
||||
"tooltip": "Workers +20% rice gather rate.",
|
||||
"tooltip": "Workers +20% grain gather rate.",
|
||||
"modifications": [
|
||||
{ "value": "ResourceGatherer/Rates/food.rice", "multiply": 1.2 }
|
||||
{ "value": "ResourceGatherer/Rates/food.grain", "multiply": 1.2 }
|
||||
],
|
||||
"affects": ["Worker"],
|
||||
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
|
||||
|
@ -15,7 +15,7 @@
|
||||
"requirementsTooltip": "Unlocked in Town Phase.",
|
||||
"icon": "irrigation.png",
|
||||
"researchTime": 60,
|
||||
"tooltip": "Workers +20% rice gather rate.",
|
||||
"tooltip": "Workers +20% grain gather rate.",
|
||||
"modifications": [
|
||||
{ "value": "ResourceGatherer/Rates/food.grain", "multiply": 1.2 }
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user