Add Han Chinese Techs, Auras

Patch by: artoo @wowgetoffyourcellphone, @Alexandermb, @Nescio, @Stan,
@wltonlopes, @Kate, @lastrodamo, @Kimball, @niektb, @Lionkanzen,
@Brightgalrs, @wackyserious, @Gen.Kenobi, @s0600204, @leper, sciondev,
@Mr.lie, J.R.I.B.-Wein, David Flores, @sanderd17, @asterix @thamlett
Refs #6412

This was SVN commit r26419.
This commit is contained in:
Stan 2022-02-19 16:56:31 +00:00
parent 5a0be24262
commit ef5089be6e
42 changed files with 597 additions and 8 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<setup>
<icon name="icon_food_rice"
sprite="stretched:session/icons/resources/rice_small.png"
size="16 16"
/>
</setup>

View File

@ -0,0 +1,12 @@
{
"type": "range",
"radius": 75,
"affects": ["Human"],
"modifications": [
{ "value": "Health/RegenRate", "add": 1 },
{ "value": "Health/Max", "multiply": 1.25 }
],
"auraName": "Taoism",
"auraDescription": "Humans +1 health regeneration rate, +25% health",
"overlayIcon": "art/textures/ui/session/auras/health_bonus.png"
}

View File

@ -0,0 +1,10 @@
{
"type": "global",
"affects": ["Trade"],
"affectedPlayers": ["ExclusiveMutualAlly"],
"modifications": [
{ "value": "Market/InternationalBonus", "multiply": 1.2 }
],
"auraName": "Silk Road",
"auraDescription": "Allies +20% international trade bonus."
}

View File

@ -0,0 +1,9 @@
{
"type": "global",
"affects": ["Structure"],
"modifications": [
{ "value": "TerritoryInfluence/Radius", "multiply": 1.2 }
],
"auraName": "Territorial Expansion",
"auraDescription": "At its height, the Empire's borders spanned from the Fergana Valley in the west, to Korea in the east, and to northern Vietnam in the south.\nTerritory influence bonus +20%."
}

View File

@ -0,0 +1,9 @@
{
"type": "global",
"affects": ["Soldier"],
"modifications": [
{ "value": "Researcher/TechCostMultiplier/time", "multiply": 0.5 }
],
"auraName": "Imperial Music Bureau",
"auraDescription": "The Music Bureau was charged directly, by the emperor to perform various tasks related to music, poetry, entertainment, or religious worship.\n Techcost -50%."
}

View File

@ -0,0 +1,12 @@
{
"type": "range",
"radius": 40,
"affects": ["Worker"],
"modifications": [
{ "value": "Builder/Rate", "multiply": 1.02 }
],
"auraName": "Building Programs",
"auraDescription": "Builders construct buildings +2% faster for every nearby Minister.",
"overlayIcon": "art/textures/ui/session/auras/build_bonus.png",
"stackable": true
}

View File

@ -0,0 +1,14 @@
{
"type": "global",
"affects": ["Minister"],
"modifications": [
{ "value": "Cost/Resources/food", "multiply": 1.2 },
{ "value": "Cost/Resources/wood", "multiply": 1.2 },
{ "value": "Cost/Resources/stone", "multiply": 1.2 },
{ "value": "Cost/Resources/metal", "multiply": 1.2 },
{ "value": "Cost/BuildTime", "multiply": 1.2 }
],
"auraDescription": "Cost +20% and build time +20% for each new Minister trained.",
"auraName": "The Cost of Splendor",
"stackable": true
}

View File

@ -0,0 +1,29 @@
{
"type": "garrison",
"affects": ["Structure", "!ImperialMinistry"],
"modifications": [
{
"value": "Researcher/TechCostMultiplier/wood",
"multiply": 0.98
},
{
"value": "Researcher/TechCostMultiplier/food",
"multiply": 0.98
},
{
"value": "Researcher/TechCostMultiplier/metal",
"multiply": 0.98
},
{
"value": "Researcher/TechCostMultiplier/stone",
"multiply": 0.98
},
{
"value": "Researcher/TechCostMultiplier/time",
"multiply": 0.98
}
],
"auraName": "Excellency of Works",
"auraDescription": "Decrease resource costs and research time of technologies in a building by 2% for each Minister garrisoned within.",
"stackable": true
}

View File

@ -0,0 +1,12 @@
{
"type": "garrison",
"affects": ["ImperialMinistry"],
"modifications": [
{ "value": "ResourceTrickle/Rates/wood", "add": 0.1 },
{ "value": "ResourceTrickle/Rates/stone", "add": 0.1 },
{ "value": "ResourceTrickle/Rates/metal", "add": 0.1 }
],
"auraName": "Nationalized Industries",
"auraDescription": "The Imperial Ministry gains a +0.1 wood, stone, metal trickle for each garrisoned minister.",
"stackable": true
}

View File

@ -0,0 +1,12 @@
{
"type": "range",
"radius": 40,
"affects": ["Worker"],
"modifications": [
{ "value": "ResourceGatherer/BaseSpeed", "multiply": 1.02 }
],
"auraName": "Minister over the Masses",
"auraDescription": "Gatherers +2% gathering rate for every nearby Minister.",
"overlayIcon": "art/textures/ui/session/auras/buildgather_bonus.png",
"stackable": true
}

View File

@ -0,0 +1,12 @@
{
"type": "range",
"radius": 40,
"affects": ["CitizenSoldier"],
"affectedPlayers": ["Ally"],
"modifications": [
{ "value": "Promotion/RequiredXp", "multiply": 0.5 }
],
"auraName": "Northern Army",
"auraDescription": "Own and Allied Soldiers -50% promotion experience.",
"overlayIcon": "art/textures/ui/session/auras/xp.png"
}

View File

@ -0,0 +1,11 @@
{
"type": "global",
"affects": ["Soldier"],
"affectedPlayers": ["Ally"],
"modifications": [
{ "value": "UnitMotion/WalkSpeed", "multiply": 1.15 },
{ "value": "Vision/Range", "multiply": 1.25 }
],
"auraName": "Southern Army",
"auraDescription": "Own and Allied Soldiers +15% walk speed and +25% vision range."
}

View File

@ -0,0 +1,10 @@
{
"type": "global",
"affects": ["Wall"],
"modifications": [
{ "value": "Health/RegenRate", "add": 10 }
],
"auraName": "Confucian Reforms",
"auraDescription": "Walls +10 health regeneration rate.",
"overlayIcon": "art/textures/ui/session/auras/repair.png"
}

View File

@ -0,0 +1,13 @@
{
"type": "range",
"radius": 40,
"affects": ["Cavalry"],
"modifications": [
{ "value": "Attack/Melee/Damage/Hack", "multiply": 1.2 },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2 },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 1.2 }
],
"auraName": "Confucian Reforms",
"auraDescription": "Cavalry +20% attack damage.",
"overlayIcon": "art/textures/ui/session/auras/attack_bonus.png"
}

View File

@ -0,0 +1,17 @@
{
"type": "range",
"radius": 60,
"affects": ["Champion"],
"modifications": [
{ "value": "Attack/Capture/Capture", "add": 2 },
{ "value": "Attack/Melee/Damage/Hack", "multiply": 1.2 },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2 },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 1.2 },
{ "value": "Attack/Ranged/Damage/Hack", "multiply": 1.2 },
{ "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2 },
{ "value": "Attack/Ranged/Damage/Crush", "multiply": 1.2 }
],
"auraName": "Mandate of Heaven",
"auraDescription": "Champions +2 capture attack strength, +20% melee and ranged attack damage.",
"overlayIcon": "art/textures/ui/session/auras/attack_bonus.png"
}

View File

@ -0,0 +1,17 @@
{
"type": "range",
"radius": 30,
"affects": ["Cavalry"],
"affectedPlayers": ["Enemy"],
"modifications": [
{ "value": "Attack/Melee/Damage/Hack", "multiply": 0.9 },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 0.9 },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 0.9 },
{ "value": "Attack/Ranged/Damage/Hack", "multiply": 0.9 },
{ "value": "Attack/Ranged/Damage/Pierce", "multiply": 0.9 },
{ "value": "Attack/Ranged/Damage/Crush", "multiply": 0.9 }
],
"auraName": "Mandate of Heaven",
"auraDescription": "Enemy Cavalry −10% melee and ranged attack damage.",
"overlayIcon": "art/textures/ui/session/auras/broken_sword.png"
}

View File

@ -0,0 +1,12 @@
{
"type": "range",
"radius": 8,
"affectedPlayers": ["Enemy"],
"affects": ["Unit"],
"modifications": [
{ "value": "Health/RegenRate", "add": -10 }
],
"auraName": "Scythes",
"auraDescription": "Nearby enemy units -10 health/second.",
"overlayIcon": "art/textures/ui/session/auras/damage.png"
}

View File

@ -7,7 +7,8 @@
"fish": "Fish",
"fruit": "Fruit",
"grain": "Grain",
"meat": "Meat"
"meat": "Meat",
"rice": "Rice"
},
"properties": ["barterable", "tradable", "tributable"],
"truePrice": 100,

View File

@ -0,0 +1,23 @@
{
"genericName": "Sun Tzu's \"The Art of War\"",
"specificName": { "han": "Sūnzǐ BīngFǎ" },
"description": "This famous and most important work of the Seven Military Classics teaches Chinese commanders everything about planning battles, maintaining armies, and defeating one's enemies.",
"cost": {
"food": 800,
"metal": 800
},
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "patriotism.png",
"researchTime": 40,
"tooltip": "All Citizen-Soldiers -25% required promotion experience.",
"modifications": [
{ "value": "Promotion/RequiredXp", "multiply": 0.75 }
],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,9 @@
{
"genericName": "Federated States",
"autoResearch": true,
"description": "By uniting China under one emperor, the Han Dynasty ruled over 40 million people, one of the largest empires of antiquity by population.",
"requirements": { "civ": "han" },
"modifications": [
{ "value": "Player/MaxPopulation", "multiply": 1.1 }
]
}

View File

@ -0,0 +1,12 @@
{
"genericName": "Great Wall",
"autoResearch": true,
"description": "Han built massive walls, the great wall.",
"icon": "wall.png",
"tooltip": "City Walls +50% health.",
"requirements": { "civ": "han" },
"modifications": [
{ "value": "Health/Max", "multiply": 1.5 }
],
"affects": ["Wall"]
}

View File

@ -0,0 +1,31 @@
{
"genericName": "Civil Engineering - Level 1",
"specificName": { "han": "Gōngchéng" },
"description": "",
"cost": {
"food": 0,
"wood": 250,
"stone": 250,
"metal": 0
},
"requirements": {
"all": [
{ "tech": "phase_town" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in Town Phase.",
"icon": "chinese_engineering_01.png",
"researchTime": 40,
"tooltip": "All structures -15% build time, +10% health and -5% cost.",
"modifications": [
{ "value": "Cost/BuildTime","multiply": 0.85 },
{ "value": "Health/Max","multiply": 1.1 },
{ "value": "Cost/Resources/food", "multiply": 0.95 },
{ "value": "Cost/Resources/wood", "multiply": 0.95 },
{ "value": "Cost/Resources/stone", "multiply": 0.95 },
{ "value": "Cost/Resources/metal", "multiply": 0.95 }
],
"affects": ["Structure"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,32 @@
{
"genericName": "Civil Engineering - Level 2",
"specificName": { "han": "Gōngchéng" },
"supersedes": "civil_engineering_01",
"description": "",
"cost": {
"food": 0,
"wood": 500,
"stone": 500,
"metal": 0
},
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "chinese_engineering_02.png",
"researchTime": 40,
"tooltip": "All structures -25% build time, +20% health and -5% cost.",
"modifications": [
{ "value": "Cost/BuildTime", "multiply": 0.75 },
{ "value": "Health/Max", "multiply": 1.2 },
{ "value": "Cost/Resources/food", "multiply": 0.95 },
{ "value": "Cost/Resources/wood", "multiply": 0.95 },
{ "value": "Cost/Resources/stone", "multiply": 0.95 },
{ "value": "Cost/Resources/metal", "multiply": 0.95 }
],
"affects": ["Structure"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,30 @@
{
"genericName": "Civil Service - Level 1",
"specificName": { "han": "Guānliáo" },
"description": "",
"cost": {
"food": 250,
"wood": 250,
"stone": 0,
"metal": 0
},
"requirements": {
"all": [
{ "tech": "phase_town" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in Town Phase.",
"icon": "chinese_bureaucracy_01.png",
"researchTime": 40,
"tooltip": "Technologies at all buildings, except the Blacksmith, -15% cost and -15% research time.",
"modifications": [
{ "value": "Researcher/TechCostMultiplier/time", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/wood", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/food", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/metal", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/stone", "multiply": 0.85 }
],
"affects": ["Structure", "!Blacksmith"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,31 @@
{
"genericName": "Civil Service - Level 2",
"specificName": { "han": "Guānliáo" },
"supersedes": "civil_service_01",
"description": "",
"cost": {
"food": 200,
"wood": 200,
"stone": 200,
"metal": 400
},
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "chinese_bureaucracy_02.png",
"researchTime": 40,
"tooltip": "Technologies at all buildings, except the Blacksmith, -15% cost and -15% research time.",
"modifications": [
{ "value": "Researcher/TechCostMultiplier/time", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/wood", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/food", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/metal", "multiply": 0.85 },
{ "value": "Researcher/TechCostMultiplier/stone", "multiply": 0.85 }
],
"affects": ["Structure", "!Blacksmith"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,24 @@
{
"genericName": "Chain Pump",
"description": "Install a chain pump for improved irrigation.",
"cost": {
"wood": 400,
"metal": 300
},
"supersedes": "gather_farming_water_weeding",
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "flood_control.png",
"researchTime": 70,
"tooltip": "Workers +25% rice gather rate.",
"modifications": [
{ "value": "ResourceGatherer/Rates/food.rice", "multiply": 1.25 }
],
"affects": ["Worker"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -6,7 +6,12 @@
"metal": 300
},
"supersedes": "gather_farming_training",
"requirements": { "tech": "phase_city" },
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "notciv": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "olives.png",
"researchTime": 60,

View File

@ -5,7 +5,12 @@
"wood": 200,
"metal": 100
},
"requirements": { "tech": "phase_village" },
"requirements": {
"all": [
{ "tech": "phase_village" },
{ "notciv": "han" }
]
},
"requirementsTooltip": "Unlocked in Village Phase.",
"icon": "plow.png",
"researchTime": 40,

View File

@ -0,0 +1,23 @@
{
"genericName": "Seed Drill",
"description": "Equip your workers with seed drills.",
"cost": {
"wood": 200,
"metal": 100
},
"requirements": {
"all": [
{ "tech": "phase_village" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in Village Phase.",
"icon": "torsion_springs.png",
"researchTime": 50,
"tooltip": "Workers +25% rice gather rate.",
"modifications": [
{ "value": "ResourceGatherer/Rates/food.rice", "multiply": 1.25 }
],
"affects": ["Worker"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -6,7 +6,12 @@
"metal": 200
},
"supersedes": "gather_farming_plows",
"requirements": { "tech": "phase_town" },
"requirements": {
"all": [
{ "tech": "phase_town" },
{ "notciv": "han" }
]
},
"requirementsTooltip": "Unlocked in Town Phase.",
"icon": "farming_training.png",
"researchTime": 50,

View File

@ -0,0 +1,24 @@
{
"genericName": "Water Weeding",
"description": "Grow water weeds to to supply rice plants with nutricients.",
"cost": {
"wood": 300,
"metal": 200
},
"supersedes": "gather_farming_seed_drill",
"requirements": {
"all": [
{ "tech": "phase_town" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in Town Phase.",
"icon": "irrigation.png",
"researchTime": 60,
"tooltip": "Workers +25% rice gather rate.",
"modifications": [
{ "value": "ResourceGatherer/Rates/food.rice", "multiply": 1.25 }
],
"affects": ["Worker"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,11 @@
{
"genericName": "Fire Arrows vs Poison Arrows",
"top": "fire_arrows",
"bottom": "poison_arrows",
"requirements": {
"all": [
{ "civ": "han" },
{ "tech": "phase_city", "tech": "unlock_champion_infantry" }
]
}
}

View File

@ -0,0 +1,25 @@
{
"genericName": "Poison Arrows",
"description": "",
"cost": {
"food": 1200,
"wood": 1200
},
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "arrow_poison.png",
"researchTime": 50,
"tooltip": "Ranged Soldiers +20% attack damage.",
"modifications": [
{ "value": "Attack/Ranged/Damage/Hack", "multiply": 1.2 },
{ "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2 },
{ "value": "Attack/Ranged/Damage/Crush", "multiply": 1.2 }
],
"affects": ["Soldier"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,25 @@
{
"genericName": "Poison Blades",
"description": "",
"cost": {
"food": 1200,
"metal": 1200
},
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "sword_poison.png",
"researchTime": 50,
"tooltip": "Melee Soldiers +20% attack damage.",
"modifications": [
{ "value": "Attack/Melee/Damage/Hack", "multiply": 1.2 },
{ "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2 },
{ "value": "Attack/Melee/Damage/Crush", "multiply": 1.2 }
],
"affects": ["Soldier"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,24 @@
{
"genericName": "Silk Road",
"description": "",
"supersedes": "trade_gain_02",
"cost": {
"food": 500,
"wood": 500
},
"requirements": {
"all": [
{ "tech": "phase_city" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "trade_routes.png",
"researchTime": 50,
"tooltip": "Traders +20% international trade bonus.",
"modifications": [
{ "value": "Market/InternationalBonus", "multiply": 1.2 }
],
"affects": ["Trade"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -0,0 +1,27 @@
{
"genericName": "Crossbow Tradition",
"description": "The Chinese had a tradition of fine archery and a penchant for using massed crossbowmen in battle.",
"cost": {
"food": 500,
"wood": 500,
"stone": 0,
"metal": 250
},
"requirements": {
"all": [
{ "tech": "phase_town" },
{ "civ": "han" }
]
},
"requirementsTooltip": "Unlocked in Town Phase.",
"icon": "armor_plates_ranged.png",
"researchTime": 40,
"tooltip": "Range +10 meters, −10% ranged attack spread for crossbow-wielding units.",
"modifications": [
{ "value": "Attack/Ranged/MaxRange", "add": 10.0 },
{ "value": "Attack/Ranged/Spread", "multiply": 0.9 },
{ "value": "Vision/Range", "add": 10.0 }
],
"affects": ["Crossbowman"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -13,6 +13,6 @@
"modifications": [
{ "value": "BuildingAI/GarrisonArrowMultiplier", "multiply": 1.4 }
],
"affects": ["SentryTower", "StoneTower"],
"affects": ["SentryTower", "StoneTower", "GreatTower"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -13,6 +13,6 @@
"modifications": [
{ "value": "Attack/Ranged/MinRange", "replace": 0 }
],
"affects": ["SentryTower", "StoneTower"],
"affects": ["SentryTower", "StoneTower", "GreatTower"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -14,6 +14,6 @@
{ "value": "Attack/Ranged/MaxRange", "add": 8 },
{ "value": "Vision/Range","add": 8 }
],
"affects": ["SentryTower", "StoneTower"],
"affects": ["SentryTower", "StoneTower", "GreatTower"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -2,6 +2,7 @@
"genericName": "Sentries",
"specificName": {
"athen": "Nyktophylakes",
"han": "Shàobīng",
"mace": "Nyktophylakes",
"ptol": "Nyktophylakes",
"rome": "Vigiles",
@ -20,6 +21,6 @@
"modifications": [
{ "value": "BuildingAI/DefaultArrowCount", "add": 1 }
],
"affects": ["SentryTower", "StoneTower"],
"affects": ["SentryTower", "StoneTower", "GreatTower"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View File

@ -9,6 +9,7 @@
{ "tech": "phase_city" },
{ "notciv": "athen" },
{ "notciv": "brit" },
{ "notciv": "han" },
{ "notciv": "maur" },
{ "notciv": "spart" }
]

View File

@ -14,6 +14,7 @@
{ "tech": "phase_city" },
{ "notciv": "athen" },
{ "notciv": "cart" },
{ "notciv": "han" },
{ "notciv": "pers" },
{ "notciv": "sele" },
{ "notciv": "spart" }