Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/data/civs/kush.json
{ | { | ||||
"Code": "kush", | "Code": "kush", | ||||
"Culture": "egyptian", | "Culture": "egyptian", | ||||
"Name": "Kushites", | "Name": "Kushites", | ||||
"Emblem": "session/portraits/emblems/emblem_kushites.png", | "Emblem": "session/portraits/emblems/emblem_kushites.png", | ||||
"History": "The Kingdom of Kush was an ancient African kingdom situated on the confluences of the Blue Nile, White Nile and River Atbara in what is now the Republic of Sudan. The Kushite era of rule in the region was established after the Bronze Age collapse of the New Kingdom of Egypt, and it was centered at Napata in its early phase. They invaded Egypt in the 8th century BC, and the Kushite emperors ruled as Pharaohs of the Twenty-fifth dynasty of Egypt for a century, until they were expelled by the Assyrians. Kushite culture was influenced heavily by the Egyptians, with Kushite pyramid building and monumental temple architecture still extent. The Kushites even worshipped many Egyptian gods, including Amun. During Classical antiquity, the Kushite imperial capital was at Meroe. In early Greek geography, the Meroitic kingdom was known as Aethiopia. The Kushite kingdom persisted until the 4th century AD, when it weakened and disintegrated due to internal rebellion, eventually succumbing to the rising power of Axum.", | "History": "The Kingdom of Kush was an ancient African kingdom situated on the confluences of the Blue Nile, White Nile and River Atbara in what is now the Republic of Sudan. The Kushite era of rule in the region was established after the Bronze Age collapse of the New Kingdom of Egypt, and it was centered at Napata in its early phase. They invaded Egypt in the 8th century BC, and the Kushite emperors ruled as Pharaohs of the Twenty-fifth dynasty of Egypt for a century, until they were expelled by the Assyrians. Kushite culture was influenced heavily by the Egyptians, with Kushite pyramid building and monumental temple architecture still extent. The Kushites even worshipped many Egyptian gods, including Amun. During Classical antiquity, the Kushite imperial capital was at Meroe. In early Greek geography, the Meroitic kingdom was known as Aethiopia. The Kushite kingdom persisted until the 4th century AD, when it weakened and disintegrated due to internal rebellion, eventually succumbing to the rising power of Axum.", | ||||
"Music": | "Music": [ | ||||
[ | { | ||||
{ "File": "Ammon-Ra.ogg", "Type": "peace" }, | "File": "Ammon-Ra.ogg", | ||||
{ "File": "Sands_of_Time.ogg", "Type": "peace" }, | "Type": "peace" | ||||
{ "File": "Land_between_the_two_Seas.ogg", "Type": "peace" }, | }, | ||||
{ "File": "Valley_of_the_Nile.ogg", "Type": "peace" } | { | ||||
"File": "Sands_of_Time.ogg", | |||||
"Type": "peace" | |||||
}, | |||||
{ | |||||
"File": "Land_between_the_two_Seas.ogg", | |||||
"Type": "peace" | |||||
}, | |||||
{ | |||||
"File": "Valley_of_the_Nile.ogg", | |||||
"Type": "peace" | |||||
} | |||||
], | ], | ||||
"Factions": | "Factions": [ | ||||
[ | |||||
{ | { | ||||
"Name": "Kushite Africans", | "Name": "Kushite Africans", | ||||
"Description": "The great African kingdom that straddled the Nile River in Nubia, in the South of Egypt.", | "Description": "The great African kingdom that straddled the Nile River in Nubia, in the South of Egypt.", | ||||
"Technologies": | "Technologies": [ | ||||
[ | |||||
{ | { | ||||
"Name": "Monumental Architecture", | "Name": "Monumental Architecture", | ||||
"Description": "+50% HP and -50% build time for Civic Centers, Temples, Pyramids and Wonders." | "Description": "+50% HP and -50% build time for Civic Centers, Temples, Pyramids and Wonders." | ||||
}, | }, | ||||
{ | { | ||||
"Name": "High Priest of Amun", | "Name": "High Priest of Amun", | ||||
"History": "Have your priests instructed by the High Priest himself - may Amun bless him.", | "History": "Have your priests instructed by the High Priest himself - may Amun bless him.", | ||||
"Description": "Allow to train elite rank healers" | "Description": "Allow to train elite rank healers" | ||||
} | } | ||||
], | ], | ||||
"Heroes": | "Heroes": [ | ||||
[ | |||||
{ | { | ||||
"Name": "Nastasen", | "Name": "Nastasen", | ||||
"Class": "", | "Class": "", | ||||
"Armament": "", | "Armament": "", | ||||
"Emblem": "emblem.png", | "Emblem": "", | ||||
"History": "" | "History": "" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Arakamani", | "Name": "Arakamani", | ||||
"Class": "", | "Class": "", | ||||
"Armament": "", | "Armament": "", | ||||
"Emblem": "emblem.png", | "Emblem": "", | ||||
"History": "" | "History": "" | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Amanirenas", | "Name": "Amanirenas", | ||||
"Class": "", | "Class": "", | ||||
"Armament": "", | "Armament": "", | ||||
"Emblem": "emblem.png", | "Emblem": "", | ||||
"History": "" | "History": "" | ||||
} | } | ||||
] | ] | ||||
} | } | ||||
], | ], | ||||
"CivBonuses": | "CivBonuses": [ | ||||
[ | |||||
{ | { | ||||
"Name": "The Pyramids of Meroe", | "Name": "The Pyramids of Meroe", | ||||
"Description": "Building a Kushite pyramid increases Civic Center territory influence by +10% for each one built." | "Description": "Building a Kushite pyramid increases Civic Center territory influence by +10% for each one built." | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Mineral Deposits", | "Name": "Mineral Deposits", | ||||
"Description": "Kushite players receive a free extra Metal Mine somewhere in their home territory." | "Description": "Kushite players receive a free extra Metal Mine somewhere in their home territory." | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Elephant Roundup", | "Name": "Elephant Roundup", | ||||
"Description": "Can capture Gaia elephants and garrison them into a corral to reduce training costs for War Elephants." | "Description": "Can capture Gaia elephants and garrison them into a corral to reduce training costs for War Elephants." | ||||
} | } | ||||
], | ], | ||||
"TeamBonuses": | "TeamBonuses": [ | ||||
[ | |||||
{ | { | ||||
"Name": "Elephant Suppliers", | "Name": "Elephant Suppliers", | ||||
"Description": "Allied Elephants −20% resource costs and training time." | "Description": "Allied Elephants −20% resource costs and training time." | ||||
} | } | ||||
], | ], | ||||
"Structures": | "Structures": [ | ||||
[ | |||||
{ | { | ||||
"Name": "Temple of Amun", | "Name": "Temple of Amun", | ||||
"Class": "", | "Class": "", | ||||
"Emblem": "emblem.png", | "Emblem": "", | ||||
"History": "History.", | "History": "", | ||||
"Requirements": ".", | "Requirements": "", | ||||
"Phase": "City", | "Phase": "City", | ||||
"Special": "The Kushites can upgrade individual Temples to Temples of Amun, which can train Napatan Temple Guard champions and heal units faster." | "Special": "The Kushites can upgrade individual Temples to Temples of Amun, which can train Napatan Temple Guard champions and heal units faster." | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Temple of Apedemak", | "Name": "Temple of Apedemak", | ||||
"Class": "", | "Class": "", | ||||
"Emblem": "emblem.png", | "Emblem": "", | ||||
"History": "History.", | "History": "", | ||||
"Requirements": ".", | "Requirements": "", | ||||
"Phase": "City", | "Phase": "City", | ||||
"Special": "The Kushites can upgrade individual Temples to Temples of Apedemak, which can train Meroe Temple Guard champions and heal units faster." | "Special": "The Kushites can upgrade individual Temples to Temples of Apedemak, which can train Meroe Temple Guard champions and heal units faster." | ||||
}, | }, | ||||
{ | { | ||||
"Name": "Kushite Pyramids", | "Name": "Kushite Pyramids", | ||||
"Class": "", | "Class": "", | ||||
"Emblem": "emblem.png", | "Emblem": "", | ||||
"History": "The Kushites built over 200 pyramids in Nubia.", | "History": "The Kushites built over 200 pyramids in Nubia.", | ||||
"Requirements": ".", | "Requirements": "", | ||||
"Phase": "Village", | "Phase": "Village", | ||||
"Special": "Building a Small Kushite Pyramid unlocks the Town Phase. Building a Large Kushite Pyramid unlocks the City Phase. And each pyramid built adds +10% territory effect to Civic Centers." | "Special": "Building a Small Kushite Pyramid unlocks the Town Phase. Building a Large Kushite Pyramid unlocks the City Phase. And each pyramid built adds +10% territory effect to Civic Centers." | ||||
} | } | ||||
], | ], | ||||
"StartEntities": | "StartEntities": [ | ||||
[ | |||||
{ | { | ||||
"Template": "structures/kush_civil_centre" | "Template": "structures/kush_civil_centre" | ||||
}, | }, | ||||
{ | { | ||||
"Template": "units/kush_support_female_citizen", | "Template": "units/kush_support_female_citizen", | ||||
"Count": 4 | "Count": 4 | ||||
}, | }, | ||||
{ | { | ||||
"Template": "units/kush_infantry_spearman_b", | "Template": "units/kush_infantry_spearman_b", | ||||
"Count": 2 | "Count": 2 | ||||
}, | }, | ||||
{ | { | ||||
"Template": "units/kush_infantry_archer_b", | "Template": "units/kush_infantry_archer_b", | ||||
"Count": 2 | "Count": 2 | ||||
}, | }, | ||||
{ | { | ||||
"Template": "units/kush_cavalry_javelinist_b" | "Template": "units/kush_cavalry_javelinist_b" | ||||
} | } | ||||
], | ], | ||||
"WallSets": | "WallSets": [ | ||||
[ | |||||
"structures/wallset_palisade", | "structures/wallset_palisade", | ||||
"structures/kush_wallset_stone" | "structures/kush_wallset_stone" | ||||
elexis: Keeping each property on a separate line has the advantage that one can add additional… | |||||
Done Inline ActionsWith “property” you mean what's inside the braces and separated by commas? Nescio: With “property” you mean what's inside the braces and separated by commas?
I agree for n>=3… | |||||
], | ], | ||||
"Formations": | "Formations": [ | ||||
[ | |||||
"special/formations/null", | "special/formations/null", | ||||
"special/formations/box", | "special/formations/box", | ||||
"special/formations/column_closed", | "special/formations/column_closed", | ||||
"special/formations/line_closed", | "special/formations/line_closed", | ||||
"special/formations/column_open", | "special/formations/column_open", | ||||
"special/formations/line_open", | "special/formations/line_open", | ||||
"special/formations/flank", | "special/formations/flank", | ||||
"special/formations/skirmish", | "special/formations/skirmish", | ||||
"special/formations/wedge", | "special/formations/wedge", | ||||
"special/formations/battle_line", | "special/formations/battle_line", | ||||
"special/formations/syntagma" | "special/formations/syntagma" | ||||
], | ], | ||||
"AINames": | "AINames": [ | ||||
[ | |||||
"Kashta", | "Kashta", | ||||
"Alara", | "Alara", | ||||
"Pebatjma", | "Pebatjma", | ||||
"Shabaka", | "Shabaka", | ||||
"Shebitku", | "Shebitku", | ||||
"Qalhata", | "Qalhata", | ||||
"Takahatenamun", | "Takahatenamun", | ||||
"Tantamani", | "Tantamani", | ||||
"Atlanersa", | "Atlanersa", | ||||
"Nasalsa", | "Nasalsa", | ||||
"Malewiebamani", | "Malewiebamani", | ||||
"Harsiotef", | "Harsiotef", | ||||
"Shanakdakhete", | "Shanakdakhete", | ||||
"Amanishakheto" | "Amanishakheto" | ||||
], | ], | ||||
"SkirmishReplacements": | "SkirmishReplacements": { | ||||
{ | |||||
"skirmish/units/default_infantry_ranged_b": "units/kush_infantry_archer_b", | "skirmish/units/default_infantry_ranged_b": "units/kush_infantry_archer_b", | ||||
"skirmish/structures/default_house_10": "structures/{civ}_house" | "skirmish/structures/default_house_10": "structures/{civ}_house" | ||||
}, | }, | ||||
"SelectableInGameSetup": true | "SelectableInGameSetup": true | ||||
} | } |
Wildfire Games · Phabricator
Keeping each property on a separate line has the advantage that one can add additional properties easily and the data layout resembles a table, (i.e. it allows the reader to read one column at a time, i.e. only the property names, then find the property name interested in, and only then lookup the value of that property, as opposed to having to pass all keys and all values until the pair in one wanted to find is located).
This becomes more relevant with greater amounts of properties, but it's true for n=2 already and doing it so for n=2 means that it will be consistent with the n>=3 cases and allows to insert the 3rd property without changing the other lines.