Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #846779 ยป 0043-Generalize-unit-type-build-requirements.patch

Marko Lindqvist, 2022-08-17 03:24 AM

View differences:

data/alien/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Earthly"
tech_req = "None"
;reqs
obsolete_by = "Native Settlers"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_native_settlers]
name = _("Native Settlers")
class = "Native"
tech_req = "Organic Structures"
reqs =
{ "type", "name", "range"
"Tech", "Organic Structures", "Player"
}
obsolete_by = "None"
graphic = "u.native_settlers"
graphic_alt = "u.worker"
......
[unit_engineer]
name = _("Engineer")
class = "Earthly"
tech_req = "None"
;reqs
obsolete_by = "Native Engineer"
graphic = "u.engineer"
graphic_alt = "u.engineers"
......
[unit_native_engineer]
name = _("Native Engineer")
class = "Native"
tech_req = "Smart Aliens"
reqs =
{ "type", "name", "range"
"Tech", "Smart Aliens", "Player"
}
obsolete_by = "None"
graphic = "u.native_engineer"
graphic_alt = "u.archers"
......
[unit_water_engineer]
name = _("Water Engineer")
class = "Amphibious"
tech_req = "Ocean Cities"
reqs =
{ "type", "name", "range"
"Tech", "Ocean Cities", "Player"
}
obsolete_by = "None"
graphic = "u.water_engineer"
graphic_alt = "u.legion"
......
[unit_star_marines]
name = _("Star Marines")
class = "Earthly"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.star_marines"
graphic_alt = "u.marines"
......
[unit_cyborgs]
name = _("Cyborgs")
class = "Earthly"
tech_req = "Cybernetics"
reqs =
{ "type", "name", "range"
"Tech", "Cybernetics", "Player"
}
obsolete_by = "None"
graphic = "u.cyborgs"
graphic_alt = "u.pikemen"
......
[unit_tank]
name = _("Tank")
class = "Earthly"
tech_req = "Brute Force"
reqs =
{ "type", "name", "range"
"Tech", "Brute Force", "Player"
}
obsolete_by = "None"
graphic = "u.tank"
graphic_alt = "u.armor"
......
[unit_warmonster]
name = _("War Monster")
class = "Native"
tech_req = "War Monsters"
reqs =
{ "type", "name", "range"
"Tech", "War Monsters", "Player"
}
obsolete_by = "None"
graphic = "u.war_monster"
graphic_alt = "u.alpine_troops"
......
[unit_crusher]
name = _("Crusher")
class = "Native"
tech_req = "Alien Training"
reqs =
{ "type", "name", "range"
"Tech", "Alien Training", "Player"
}
obsolete_by = "None"
graphic = "u.crusher"
graphic_alt = "u.horsemen"
......
[unit_cyber_alien]
name = _("Cyber Alien")
class = "Native"
tech_req = "Cyber Aliens"
reqs =
{ "type", "name", "range"
"Tech", "Cyber Aliens", "Player"
}
obsolete_by = "None"
graphic = "u.cyber_alien"
graphic_alt = "u.musketeers"
......
; /* TRANS: Alien lifeform. Name refers to Tyrannosaurus Rex, not "King" role */
name = _("Rex")
class = "Native"
tech_req = "Synthetic Food"
reqs =
{ "type", "name", "range"
"Tech", "Synthetic Food", "Player"
}
obsolete_by = "None"
graphic = "u.rex"
graphic_alt = "u.knights"
......
[unit_paradropper]
name = _("Paradropper")
class = "Native"
tech_req = "Paradrop"
reqs =
{ "type", "name", "range"
"Tech", "Paradrop", "Player"
}
obsolete_by = "None"
graphic = "u.paradropper"
graphic_alt = "u.paratroopers"
......
[unit_turtle]
name = _("Turtle Defender")
class = "Earthly"
tech_req = "Composites"
reqs =
{ "type", "name", "range"
"Tech", "Composites", "Player"
}
obsolete_by = "None"
graphic = "u.turtle_defender"
graphic_alt = "u.mech_inf"
......
[unit_earth_sub]
name = _("Earth Sub")
class = "Burrowing"
tech_req = "Burrowing"
reqs =
{ "type", "name", "range"
"Tech", "Burrowing", "Player"
}
obsolete_by = "None"
graphic = "u.earth_sub"
graphic_alt = "u.submarine"
......
[unit_hunter]
name = _("Hunter")
class = "Burrowing"
tech_req = "Supermodule"
reqs =
{ "type", "name", "range"
"Tech", "Supermodule", "Player"
}
obsolete_by = "None"
graphic = "u.hunter"
graphic_alt = "u.frigate"
......
[unit_light_saucer]
name = _("Light Saucer")
class = "Antigravity"
tech_req = "Antigravity"
reqs =
{ "type", "name", "range"
"Tech", "Antigravity", "Player"
}
obsolete_by = "None"
graphic = "u.light_saucer"
graphic_alt = "u.fighter"
......
[unit_bomb_saucer]
name = _("Bomb Saucer")
class = "Antigravity"
tech_req = "Unified Theory"
reqs =
{ "type", "name", "range"
"Tech", "Unified Theory", "Player"
}
obsolete_by = "None"
graphic = "u.bomb_saucer"
graphic_alt = "u.bomber"
......
[unit_spitter]
name = _("Spitter")
class = "Native"
tech_req = "Spitter Control"
reqs =
{ "type", "name", "range"
"Tech", "Spitter Control", "Player"
}
obsolete_by = "Heavy Spitter"
graphic = "u.spitter"
graphic_alt = "u.catapult"
......
[unit_heavy_spitter]
name = _("Heavy Spitter")
class = "Native"
tech_req = "Modified Spitter"
reqs =
{ "type", "name", "range"
"Tech", "Modified Spitter", "Player"
}
obsolete_by = "None"
graphic = "u.heavy_spitter"
graphic_alt = "u.cannon"
......
[unit_biomass]
name = _("Biomass")
class = "Native"
tech_req = "Controlled Biomass"
reqs =
{ "type", "name", "range"
"Tech", "Controlled Biomass", "Player"
}
obsolete_by = "None"
graphic = "u.biomass"
graphic_alt = "u.transport"
......
[unit_explorer]
name = _("Explorer")
class = "Earthly"
tech_req = "None"
;reqs
obsolete_by = "Scout Animal"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_native_scout]
name = _("Scout Animal")
class = "Native"
tech_req = "Alien Taming"
reqs =
{ "type", "name", "range"
"Tech", "Alien Taming", "Player"
}
obsolete_by = "None"
graphic = "u.scout_animal"
graphic_alt = "u.warriors"
......
[unit_raft]
name = _("Raft")
class = "Sea"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.raft"
graphic_alt = "u.trireme"
......
[unit_ship]
name = _("Ship")
class = "Sea"
tech_req = "Travel"
reqs =
{ "type", "name", "range"
"Tech", "Travel", "Player"
}
obsolete_by = "None"
graphic = "u.ship"
graphic_alt = "u.caravel"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Naval Superiority"
reqs =
{ "type", "name", "range"
"Tech", "Naval Superiority", "Player"
}
obsolete_by = "Battle Unit"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_battle_unit]
name = _("Battle Unit")
class = "Amphibious"
tech_req = "Amphibious Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.battle_unit"
graphic_alt = "u.battleship"
......
[unit_amphibious_transport]
name = _("Amphibious Transport")
class = "Amphibious"
tech_req = "Thermal Module"
reqs =
{ "type", "name", "range"
"Tech", "Thermal Module", "Player"
}
obsolete_by = "None"
graphic = "u.amphi_transport"
graphic_alt = "u.ironclad"
......
[unit_freight]
name = _("Freight")
class = "Earthly"
tech_req = "Faction Politics"
reqs =
{ "type", "name", "range"
"Tech", "Faction Politics", "Player"
}
obsolete_by = "Caravan"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Native"
tech_req = "Smart Aliens"
reqs =
{ "type", "name", "range"
"Tech", "Smart Aliens", "Player"
}
obsolete_by = "None"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_stealth_spy]
name = _("Stealth Spy")
class = "Earthly"
tech_req = "Stealth Module"
reqs =
{ "type", "name", "range"
"Tech", "Stealth Module", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_spy"
graphic_alt = "u.diplomat"
......
[unit_teleporting_missile]
name = _("Teleporting Missile")
class = "Missile"
tech_req = "Teleportation"
reqs =
{ "type", "name", "range"
"Tech", "Teleportation", "Player"
}
obsolete_by = "None"
graphic = "u.telep_missile"
graphic_alt = "u.cruise_missile"
......
[unit_antiburrow_missile]
name = _("Antiburrow Missile")
class = "Missile"
tech_req = "Crust Defense"
reqs =
{ "type", "name", "range"
"Tech", "Crust Defense", "Player"
}
obsolete_by = "None"
graphic = "u.antib_missile"
graphic_alt = "u.nuclear"
data/civ1/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_militia]
name = _("Militia") ; Civ2 Warriors
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Musketeers"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry") ; Civ2 Horsemen
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Armor"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Land"
tech_req = "Automobile"
reqs =
{ "type", "name", "range"
"Tech", "Automobile", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery") ; Civ2 Howitzer
class = "Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "None"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Trireme")
class = "Sea"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Sail"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_sail]
name = _("Sail") ; Civ2 Caravel
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Frigate"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Transport"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Cruiser"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Mass Production"
reqs =
{ "type", "name", "range"
"Tech", "Mass Production", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
reqs =
{ "type", "name", "range"
"Tech", "Industrialization", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
obsolete_by = "None"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "None"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
data/civ2/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Engineers"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_engineers]
name = _("Engineers")
class = "Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Pikemen"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_fanatics]
name = _("Fanatics")
class = "Land"
tech_req = "Fundamentalism"
gov_req = "Fundamentalism"
reqs =
{ "type", "name", "range"
"Tech", "Fundamentalism", "Player"
"Gov", "Fundamentalism", "Player"
}
obsolete_by = "None"
graphic = "u.fanatics"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_elephants]
name = _("Elephants")
class = "Land"
tech_req = "Polytheism"
reqs =
{ "type", "name", "range"
"Tech", "Polytheism", "Player"
}
obsolete_by = "Crusaders"
graphic = "u.elephants"
graphic_alt = "-"
......
[unit_crusaders]
name = _("Crusaders")
class = "Land"
tech_req = "Monotheism"
reqs =
{ "type", "name", "range"
"Tech", "Monotheism", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.crusaders"
graphic_alt = "-"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Trireme")
class = "Sea"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Caravel"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Electricity"
reqs =
{ "type", "name", "range"
"Tech", "Electricity", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Automobile"
reqs =
{ "type", "name", "range"
"Tech", "Automobile", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
reqs =
{ "type", "name", "range"
"Tech", "Industrialization", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "Freight"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Land"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "Partisan"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
data/civ2civ3/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Small Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_migrants]
name = _("Migrants")
class = "Small Land"
tech_req = "Pottery"
reqs =
{ "type", "name", "range"
"Tech", "Pottery", "Player"
}
obsolete_by = "None"
graphic = "u.migrants"
graphic_alt = "u.worker"
......
[unit_worker]
name = _("?unit:Workers")
class = "Small Land"
tech_req = "None"
;reqs
obsolete_by = "Engineers"
graphic = "u.worker"
graphic_alt = "u.engineers" ; for compatibility
......
[unit_engineers]
name = _("Engineers")
class = "Small Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Musketeers"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "Marines"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_fanatics]
name = _("Fanatics")
class = "Land"
tech_req = "Guerilla Warfare"
gov_req = "Fundamentalism"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
"Gov", "Fundamentalism", "Player"
}
obsolete_by = "None"
graphic = "u.fanatics"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Big Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Big Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_elephants]
name = _("Elephants")
class = "Land"
tech_req = "Polytheism"
reqs =
{ "type", "name", "range"
"Tech", "Polytheism", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.elephants"
graphic_alt = "u.chariot"
......
[unit_crusaders]
name = _("Crusaders")
class = "Land"
tech_req = "Monotheism"
reqs =
{ "type", "name", "range"
"Tech", "Monotheism", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.crusaders"
graphic_alt = "u.knights"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Big Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Big Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Big Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Big Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Big Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
[unit_helicopter]
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
[unit_trireme]
name = _("Trireme")
class = "Trireme"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Transport"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Engineering"
reqs =
{ "type", "name", "range"
"Tech", "Engineering", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Mass Production"
reqs =
{ "type", "name", "range"
"Tech", "Mass Production", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Engineering"
reqs =
{ "type", "name", "range"
"Tech", "Engineering", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Nuclear Fission"
reqs =
{ "type", "name", "range"
"Tech", "Nuclear Fission", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Small Land"
tech_req = "Alphabet"
reqs =
{ "type", "name", "range"
"Tech", "Alphabet", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Small Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Merchant"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "Freight"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Merchant"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Small Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "None"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_leader]
name = _("?unit:Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader"
graphic_alt = "u.explorer"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
......
[unit_awacs]
name = _("AWACS")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.awacs"
graphic_alt = "u.bomber" ; backwards compatibility
data/classic/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_worker]
name = _("?unit:Workers")
class = "Land"
tech_req = "Pottery"
reqs =
{ "type", "name", "range"
"Tech", "Pottery", "Player"
}
obsolete_by = "Engineers"
graphic = "u.worker"
graphic_alt = "u.engineers" ; for compatibility
......
[unit_engineers]
name = _("Engineers")
class = "Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Pikemen"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Trireme")
class = "Trireme"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Caravel"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Electricity"
reqs =
{ "type", "name", "range"
"Tech", "Electricity", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Automobile"
reqs =
{ "type", "name", "range"
"Tech", "Automobile", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
reqs =
{ "type", "name", "range"
"Tech", "Industrialization", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "Freight"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Land"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "Partisan"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_leader]
name = _("?unit:Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader"
graphic_alt = "u.explorer"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
......
[unit_awacs]
name = _("AWACS")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.awacs"
graphic_alt = "u.bomber" ; backwards compatibility
data/goldkeep/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_worker]
name = _("?unit:Workers")
class = "Land"
tech_req = "Pottery"
reqs =
{ "type", "name", "range"
"Tech", "Pottery", "Player"
}
obsolete_by = "Engineers"
graphic = "u.worker"
graphic_alt = "u.engineers" ; for compatibility
......
[unit_engineers]
name = _("Engineers")
class = "Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Pikemen"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Big Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Big Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Big Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Big Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Big Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Big Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Trireme")
class = "Trireme"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Caravel"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Electricity"
reqs =
{ "type", "name", "range"
"Tech", "Electricity", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Automobile"
reqs =
{ "type", "name", "range"
"Tech", "Automobile", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
reqs =
{ "type", "name", "range"
"Tech", "Industrialization", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "None"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Big Land"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "Partisan"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_leader]
name = _("?unit:Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader"
graphic_alt = "u.explorer"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
......
[unit_awacs]
name = _("AWACS")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.awacs"
graphic_alt = "u.bomber" ; backwards compatibility
data/granularity/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_nomad]
name = _("Nomad")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.nomad"
graphic_alt = "u.worker"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "Cave Painting"
reqs =
{ "type", "name", "range"
"Tech", "Cave Painting", "Player"
}
obsolete_by = "None"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_hunters]
name = _("Hunters")
class = "Land"
tech_req = "Animal Taming"
reqs =
{ "type", "name", "range"
"Tech", "Animal Taming", "Player"
}
obsolete_by = "None"
graphic = "u.hunters"
graphic_alt = "u.warriors"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "None"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "Fire"
reqs =
{ "type", "name", "range"
"Tech", "Fire", "Player"
}
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_worker]
name = _("?unit:Workers")
class = "Land"
tech_req = "Agriculture"
reqs =
{ "type", "name", "range"
"Tech", "Agriculture", "Player"
}
obsolete_by = "None"
graphic = "u.worker"
graphic_alt = "-"
......
[unit_boat]
name = _("Boats")
class = "Sea"
tech_req = "Carving"
reqs =
{ "type", "name", "range"
"Tech", "Carving", "Player"
}
obsolete_by = "None"
graphic = "u.boats"
graphic_alt = "u.trireme"
data/multiplayer/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_worker]
name = _("?unit:Workers")
class = "Land"
tech_req = "Pottery"
reqs =
{ "type", "name", "range"
"Tech", "Pottery", "Player"
}
obsolete_by = "Engineers"
graphic = "u.worker"
graphic_alt = "u.engineers" ; for compatibility
......
[unit_engineers]
name = _("Engineers")
class = "Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Pikemen"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_fanatics]
name = _("Fanatics")
class = "Land"
tech_req = "Fundamentalism"
gov_req = "Fundamentalism"
reqs =
{ "type", "name", "range"
"Tech", "Fundamentalism", "Player"
"Gov", "Fundamentalism", "Player"
}
obsolete_by = "None"
graphic = "u.fanatics"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_elephants]
name = _("Elephants")
class = "Land"
tech_req = "Polytheism"
reqs =
{ "type", "name", "range"
"Tech", "Polytheism", "Player"
}
obsolete_by = "Crusaders"
graphic = "u.elephants"
graphic_alt = "-"
......
[unit_crusaders]
name = _("Crusaders")
class = "Land"
tech_req = "Monotheism"
reqs =
{ "type", "name", "range"
"Tech", "Monotheism", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.crusaders"
graphic_alt = "-"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Trireme")
class = "Trireme"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Caravel"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Electricity"
reqs =
{ "type", "name", "range"
"Tech", "Electricity", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Automobile"
reqs =
{ "type", "name", "range"
"Tech", "Automobile", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
reqs =
{ "type", "name", "range"
"Tech", "Industrialization", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "Freight"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Land"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "Partisan"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_leader]
name = _("?unit:Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader"
graphic_alt = "u.explorer"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
......
[unit_awacs]
name = _("AWACS")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.awacs"
graphic_alt = "u.bomber" ; backwards compatibility
data/ruledit/comments-3.2.txt
; present; especially if preferred graphic is non-standard,\n\
; this should be a standard tag. Otherwise can use eg \"-\"\n\
; for no alternate graphic.\n\
; tech_req = required advance, names from techs.ruleset, or special:\n\
; \"None\" => available from start\n\
; impr_req = required city improvement, names from buildings.ruleset\n\
; gov_req = required government, names from governments.ruleset\n\
; reqs = requirements to build the unit (see effects.ruleset\n\
; and README.effects for help on requirements)\n\
; obsolete_by = can be upgraded to and made obsolete by another unit by name\n\
; build_cost = production shields required to build\n\
; pop_cost = population removed from city when built; for \'Join City\'\n\
data/sandbox/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Small Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_migrants]
name = _("Migrants")
class = "Small Land"
tech_req = "Pottery"
reqs =
{ "type", "name", "range"
"Tech", "Pottery", "Player"
}
obsolete_by = "None"
graphic = "u.migrants"
graphic_alt = "u.worker"
......
[unit_worker]
name = _("?unit:Workers")
class = "Small Land"
tech_req = "None"
;reqs
obsolete_by = "Engineers"
graphic = "u.worker"
graphic_alt = "u.engineers" ; for compatibility
......
[unit_engineers]
name = _("Engineers")
class = "Small Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_mechanic]
name = _("Mechanic")
class = "Small Land"
tech_req = "Engineering"
reqs =
{ "type", "name", "range"
"Tech", "Engineering", "Player"
}
obsolete_by = "None"
graphic = "u.mechanic"
graphic_alt = "u.engineers"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Musketeers"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "Marines"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_fanatics]
name = _("Fanatics")
class = "Land"
tech_req = "Guerilla Warfare"
gov_req = "Fundamentalism"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
"Gov", "Fundamentalism", "Player"
}
obsolete_by = "None"
graphic = "u.fanatics"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Big Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Big Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_elephants]
name = _("Elephants")
class = "Land"
tech_req = "Polytheism"
reqs =
{ "type", "name", "range"
"Tech", "Polytheism", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.elephants"
graphic_alt = "u.chariot"
......
[unit_crusaders]
name = _("Crusaders")
class = "Land"
tech_req = "Monotheism"
reqs =
{ "type", "name", "range"
"Tech", "Monotheism", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.crusaders"
graphic_alt = "u.knights"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Big Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Big Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Big Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Big Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Big Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
[unit_helicopter]
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
[unit_trireme]
name = _("Trireme")
class = "Trireme"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Transport"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Engineering"
reqs =
{ "type", "name", "range"
"Tech", "Engineering", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Mass Production"
reqs =
{ "type", "name", "range"
"Tech", "Mass Production", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_SSBN]
name = _("SSBN")
class = "Sea"
tech_req = "Nuclear Fission"
reqs =
{ "type", "name", "range"
"Tech", "Nuclear Fission", "Player"
}
obsolete_by = "None"
graphic = "u.ssbn"
graphic_alt = "u.submarine"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Engineering"
reqs =
{ "type", "name", "range"
"Tech", "Engineering", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Nuclear Fission"
reqs =
{ "type", "name", "range"
"Tech", "Nuclear Fission", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_ICBM]
name = _("ICBM")
class = "Missile"
tech_req = "Fusion Power"
reqs =
{ "type", "name", "range"
"Tech", "Fusion Power", "Player"
}
obsolete_by = "None"
graphic = "u.icbm"
graphic_alt = "u.nuclear"
......
[unit_diplomat]
name = _("Diplomat")
class = "Small Land"
tech_req = "Alphabet"
reqs =
{ "type", "name", "range"
"Tech", "Alphabet", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Small Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Merchant"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "Freight"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Merchant"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Small Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "None"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_leader]
name = _("?unit:Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader"
graphic_alt = "u.explorer"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
......
[unit_awacs]
name = _("AWACS")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.awacs"
graphic_alt = "u.bomber" ; backwards compatibility
data/stub/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_generic]
name = _("Generic")
class = "Generic"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_ship]
name = _("Generic Ship")
class = "Generic Ship"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.warriors"
graphic_alt = "-"
data/webperimental/units.ruleset
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; impr_req = required city improvement, names from buildings.ruleset
; gov_req = required government, names from governments.ruleset
; reqs = requirements to build the unit (see effects.ruleset
; and README.effects for help on requirements)
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'Join City'
......
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
......
[unit_worker]
name = _("?unit:Workers")
class = "Land"
tech_req = "Pottery"
reqs =
{ "type", "name", "range"
"Tech", "Pottery", "Player"
}
obsolete_by = "Engineers"
graphic = "u.worker"
graphic_alt = "u.engineers" ; for compatibility
......
[unit_engineers]
name = _("Engineers")
class = "Land"
tech_req = "Explosives"
reqs =
{ "type", "name", "range"
"Tech", "Explosives", "Player"
}
obsolete_by = "None"
graphic = "u.engineers"
graphic_alt = "-"
......
[unit_warriors]
name = _("Warriors")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "Pikemen"
graphic = "u.warriors"
graphic_alt = "-"
......
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
reqs =
{ "type", "name", "range"
"Tech", "Bronze Working", "Player"
}
obsolete_by = "Pikemen"
graphic = "u.phalanx"
graphic_alt = "-"
......
[unit_archers]
name = _("Archers")
class = "Land"
tech_req = "Warrior Code"
reqs =
{ "type", "name", "range"
"Tech", "Warrior Code", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.archers"
graphic_alt = "-"
......
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
reqs =
{ "type", "name", "range"
"Tech", "Iron Working", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
......
[unit_pikemen]
name = _("Pikemen")
class = "Land"
tech_req = "Feudalism"
reqs =
{ "type", "name", "range"
"Tech", "Feudalism", "Player"
}
obsolete_by = "Musketeers"
graphic = "u.pikemen"
graphic_alt = "-"
......
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
reqs =
{ "type", "name", "range"
"Tech", "Gunpowder", "Player"
}
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
......
[unit_partisan]
name = _("Partisan")
class = "Land"
tech_req = "Guerilla Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Guerilla Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.partisan"
graphic_alt = "-"
......
[unit_alpine_troops]
name = _("Alpine Troops")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "None"
graphic = "u.alpine_troops"
graphic_alt = "-"
......
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
reqs =
{ "type", "name", "range"
"Tech", "Conscription", "Player"
}
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
......
[unit_marines]
name = _("Marines")
class = "Land"
tech_req = "Amphibious Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Amphibious Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.marines"
graphic_alt = "-"
......
[unit_paratroopers]
name = _("Paratroopers")
class = "Land"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.paratroopers"
graphic_alt = "-"
......
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Land"
tech_req = "Labor Union"
reqs =
{ "type", "name", "range"
"Tech", "Labor Union", "Player"
}
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
......
[unit_horsemen]
name = _("Horsemen")
class = "Land"
tech_req = "Horseback Riding"
reqs =
{ "type", "name", "range"
"Tech", "Horseback Riding", "Player"
}
obsolete_by = "Knights"
graphic = "u.horsemen"
graphic_alt = "-"
......
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
reqs =
{ "type", "name", "range"
"Tech", "The Wheel", "Player"
}
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
......
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
reqs =
{ "type", "name", "range"
"Tech", "Chivalry", "Player"
}
obsolete_by = "Dragoons"
graphic = "u.knights"
graphic_alt = "-"
......
[unit_dragoons]
name = _("Dragoons")
class = "Land"
tech_req = "Leadership"
reqs =
{ "type", "name", "range"
"Tech", "Leadership", "Player"
}
obsolete_by = "Cavalry"
graphic = "u.dragoons"
graphic_alt = "-"
......
[unit_cavalry]
name = _("Cavalry")
class = "Land"
tech_req = "Tactics"
reqs =
{ "type", "name", "range"
"Tech", "Tactics", "Player"
}
obsolete_by = "Armor"
graphic = "u.cavalry"
graphic_alt = "-"
......
[unit_armor]
name = _("Armor")
class = "Land"
tech_req = "Mobile Warfare"
reqs =
{ "type", "name", "range"
"Tech", "Mobile Warfare", "Player"
}
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
......
[unit_catapult]
name = _("Catapult")
class = "Land"
tech_req = "Mathematics"
reqs =
{ "type", "name", "range"
"Tech", "Mathematics", "Player"
}
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
......
[unit_cannon]
name = _("Cannon")
class = "Land"
tech_req = "Metallurgy"
reqs =
{ "type", "name", "range"
"Tech", "Metallurgy", "Player"
}
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
......
[unit_artillery]
name = _("Artillery")
class = "Land"
tech_req = "Machine Tools"
reqs =
{ "type", "name", "range"
"Tech", "Machine Tools", "Player"
}
obsolete_by = "Howitzer"
graphic = "u.artillery"
graphic_alt = "-"
......
[unit_howitzer]
name = _("Howitzer")
class = "Land"
tech_req = "Robotics"
reqs =
{ "type", "name", "range"
"Tech", "Robotics", "Player"
}
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
......
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
reqs =
{ "type", "name", "range"
"Tech", "Flight", "Player"
}
obsolete_by = "Stealth Fighter"
graphic = "u.fighter"
graphic_alt = "-"
......
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "Stealth Bomber"
graphic = "u.bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Helicopter")
class = "Helicopter"
tech_req = "Combined Arms"
reqs =
{ "type", "name", "range"
"Tech", "Combined Arms", "Player"
}
obsolete_by = "None"
graphic = "u.helicopter"
graphic_alt = "-"
......
[unit_stealth_fighter]
name = _("Stealth Fighter")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_fighter"
graphic_alt = "-"
......
[unit_stealth_bomber]
name = _("Stealth Bomber")
class = "Air"
tech_req = "Stealth"
reqs =
{ "type", "name", "range"
"Tech", "Stealth", "Player"
}
obsolete_by = "None"
graphic = "u.stealth_bomber"
graphic_alt = "-"
......
; /* TRANS: unit type */
name = _("Trireme")
class = "Trireme"
tech_req = "Map Making"
reqs =
{ "type", "name", "range"
"Tech", "Map Making", "Player"
}
obsolete_by = "Caravel"
graphic = "u.trireme"
graphic_alt = "-"
......
[unit_caravel]
name = _("Caravel")
class = "Sea"
tech_req = "Navigation"
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
}
obsolete_by = "Galleon"
graphic = "u.caravel"
graphic_alt = "-"
......
[unit_galleon]
name = _("Galleon")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Transport"
graphic = "u.galleon"
graphic_alt = "-"
......
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
reqs =
{ "type", "name", "range"
"Tech", "Magnetism", "Player"
}
obsolete_by = "Ironclad"
graphic = "u.frigate"
graphic_alt = "-"
......
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
reqs =
{ "type", "name", "range"
"Tech", "Steam Engine", "Player"
}
obsolete_by = "Destroyer"
graphic = "u.ironclad"
graphic_alt = "-"
......
[unit_destroyer]
name = _("Destroyer")
class = "Sea"
tech_req = "Electricity"
reqs =
{ "type", "name", "range"
"Tech", "Electricity", "Player"
}
obsolete_by = "None"
graphic = "u.destroyer"
graphic_alt = "-"
......
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Steel"
reqs =
{ "type", "name", "range"
"Tech", "Steel", "Player"
}
obsolete_by = "AEGIS Cruiser"
graphic = "u.cruiser"
graphic_alt = "-"
......
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
class = "Sea"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.aegis_cruiser"
graphic_alt = "-"
......
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Automobile"
reqs =
{ "type", "name", "range"
"Tech", "Automobile", "Player"
}
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
......
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Combustion"
reqs =
{ "type", "name", "range"
"Tech", "Combustion", "Player"
}
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
......
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
......
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
reqs =
{ "type", "name", "range"
"Tech", "Industrialization", "Player"
}
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
......
[unit_cruise_missile]
name = _("Cruise Missile")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.cruise_missile"
graphic_alt = "-"
......
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
reqs =
{ "type", "name", "range"
"Tech", "Rocketry", "Player"
}
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
......
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
reqs =
{ "type", "name", "range"
"Tech", "Writing", "Player"
}
obsolete_by = "Spy"
graphic = "u.diplomat"
graphic_alt = "-"
......
[unit_spy]
name = _("Spy")
class = "Land"
tech_req = "Espionage"
reqs =
{ "type", "name", "range"
"Tech", "Espionage", "Player"
}
obsolete_by = "None"
graphic = "u.spy"
graphic_alt = "-"
......
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
reqs =
{ "type", "name", "range"
"Tech", "Trade", "Player"
}
obsolete_by = "Freight"
graphic = "u.caravan"
graphic_alt = "-"
......
[unit_freight]
name = _("Freight")
class = "Land"
tech_req = "The Corporation"
reqs =
{ "type", "name", "range"
"Tech", "The Corporation", "Player"
}
obsolete_by = "None"
graphic = "u.freight"
graphic_alt = "-"
......
[unit_explorer]
name = _("Explorer")
class = "Land"
tech_req = "Seafaring"
reqs =
{ "type", "name", "range"
"Tech", "Seafaring", "Player"
}
obsolete_by = "Partisan"
graphic = "u.explorer"
graphic_alt = "-"
......
[unit_leader]
name = _("?unit:Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader"
graphic_alt = "u.explorer"
......
; /* TRANS: unit type */
name = _("?unit:Leader Yacht")
class = "Trireme"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.leader_boat"
graphic_alt = "u.leader"
......
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
;reqs
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
......
[unit_awacs]
name = _("AWACS")
class = "Air"
tech_req = "Advanced Flight"
reqs =
{ "type", "name", "range"
"Tech", "Advanced Flight", "Player"
}
obsolete_by = "None"
graphic = "u.awacs"
graphic_alt = "u.bomber" ; backwards compatibility
server/ruleset.c
const int i = utype_index(u);
const struct section *psection = section_list_get(sec, i);
const char *sec_name = section_name(psection);
struct advance *adv_req;
if (!lookup_tech(file, &adv_req, sec_name,
"tech_req", filename,
rule_name_get(&u->name))) {
ok = FALSE;
break;
}
if (adv_req == A_NEVER) {
ruleset_error(LOG_ERROR, "%s lacks valid tech_req.",
rule_name_get(&u->name));
ok = FALSE;
break;
} else if (adv_req != A_NONE) {
requirement_vector_append(&u->build_reqs,
req_from_values(VUT_ADVANCE, REQ_RANGE_PLAYER,
FALSE, TRUE, FALSE,
advance_number(adv_req)));
}
/* Read the government build requirement from the old ruleset format
* and put it in unit_type's build_reqs requirement vector.
* The build_reqs requirement vector isn't ready to be exposed in the
* ruleset yet.
* Barbarians can build certain units as long as anyone in the world
* has the required tech. Regular players must have the required tech
* them self to build the same unit. One way to solve this is to make
* unit building an action enabler controlled action with a city (not
* unit) actor.
* Putting a requirement vector on unit types in the ruleset will
* force ruleset authors to change all their unit type build
* requirements to a requirement vector. Forcing them to convert their
* unit type requirements again in the next version (should building be
* switched to an action enabler with a city actor) is not good. */
if (NULL != section_entry_by_name(psection, "gov_req")) {
char tmp[200] = "\0";
struct government *need_government;
fc_strlcat(tmp, section_name(psection), sizeof(tmp));
fc_strlcat(tmp, ".gov_req", sizeof(tmp));
need_government = lookup_government(file, tmp, filename, NULL);
if (need_government == NULL) {
if (compat->compat_mode && compat->version < RSFORMAT_3_2) {
struct advance *adv_req;
struct impr_type *impr_req = NULL;
if (!lookup_tech(file, &adv_req, sec_name,
"tech_req", filename,
rule_name_get(&u->name))) {
ok = FALSE;
break;
}
if (adv_req == A_NEVER) {
ruleset_error(LOG_ERROR, "%s lacks valid tech_req.",
rule_name_get(&u->name));
ok = FALSE;
break;
} else if (adv_req != A_NONE) {
requirement_vector_append(&u->build_reqs,
req_from_values(VUT_ADVANCE, REQ_RANGE_PLAYER,
FALSE, TRUE, FALSE,
advance_number(adv_req)));
}
/* Read the government build requirement from the old ruleset format
* and put it in unit_type's build_reqs requirement vector.
* The build_reqs requirement vector isn't ready to be exposed in the
* ruleset yet.
* Barbarians can build certain units as long as anyone in the world
* has the required tech. Regular players must have the required tech
* them self to build the same unit. One way to solve this is to make
* unit building an action enabler controlled action with a city (not
* unit) actor.
* Putting a requirement vector on unit types in the ruleset will
* force ruleset authors to change all their unit type build
* requirements to a requirement vector. Forcing them to convert their
* unit type requirements again in the next version (should building be
* switched to an action enabler with a city actor) is not good. */
if (NULL != section_entry_by_name(psection, "gov_req")) {
char tmp[200] = "\0";
struct government *need_government;
fc_strlcat(tmp, section_name(psection), sizeof(tmp));
fc_strlcat(tmp, ".gov_req", sizeof(tmp));
need_government = lookup_government(file, tmp, filename, NULL);
if (need_government == NULL) {
ok = FALSE;
break;
}
requirement_vector_append(&u->build_reqs, req_from_values(
VUT_GOVERNMENT, REQ_RANGE_PLAYER,
FALSE, TRUE, FALSE,
government_number(need_government)));
}
/* Read the building build requirement from the old ruleset format
* and put it in unit_type's build_reqs requirement vector.
* The build_reqs requirement vector isn't ready to be exposed in the
* ruleset yet.
* See the comment for gov_req above for why. */
if (!lookup_building(file, sec_name, "impr_req",
&impr_req, filename,
rule_name_get(&u->name))) {
ok = FALSE;
break;
}
if (impr_req) {
requirement_vector_append(&u->build_reqs, req_from_values(
VUT_IMPROVEMENT, REQ_RANGE_CITY,
FALSE, TRUE, FALSE,
improvement_number(impr_req)));
}
} else {
/* Freeciv-3.2 format */
struct requirement_vector *reqs;
reqs = lookup_req_list(file, compat, sec_name, "reqs",
utype_rule_name(u));
if (reqs == NULL) {
ok = FALSE;
break;
}
requirement_vector_append(&u->build_reqs, req_from_values(
VUT_GOVERNMENT, REQ_RANGE_PLAYER,
FALSE, TRUE, FALSE,
government_number(need_government)));
requirement_vector_copy(&u->build_reqs, reqs);
}
if (!load_ruleset_veteran(file, sec_name, &u->veteran,
......
struct unit_class *pclass;
const char *sec_name = section_name(section_list_get(sec, i));
const char *str;
struct impr_type *impr_req = NULL;
/* Read the building build requirement from the old ruleset format
* and put it in unit_type's build_reqs requirement vector.
* The build_reqs requirement vector isn't ready to be exposed in the
* ruleset yet.
* See the comment for gov_req above for why. */
if (!lookup_building(file, sec_name, "impr_req",
&impr_req, filename,
rule_name_get(&u->name))) {
ok = FALSE;
break;
}
if (impr_req) {
requirement_vector_append(&u->build_reqs, req_from_values(
VUT_IMPROVEMENT, REQ_RANGE_CITY,
FALSE, TRUE, FALSE,
improvement_number(impr_req)));
}
sval = secfile_lookup_str(file, "%s.class", sec_name);
pclass = unit_class_by_rule_name(sval);
......
break;
}
u->uclass = pclass;
sz_strlcpy(u->sound_move,
secfile_lookup_str_default(file, "-", "%s.sound_move",
sec_name));
tools/ruledit/edit_utype.cpp
QVBoxLayout *main_layout = new QVBoxLayout(this);
QGridLayout *unit_layout = new QGridLayout();
QLabel *label;
QMenu *req;
int row = 0;
ui = ui_in;
......
setWindowTitle(QString::fromUtf8(utype_rule_name(utype)));
label = new QLabel(QString::fromUtf8(R__("Requirement")));
label->setParent(this);
req = new QMenu();
req_button = new QToolButton();
req_button->setParent(this);
req_button->setToolButtonStyle(Qt::ToolButtonTextOnly);
req_button->setPopupMode(QToolButton::MenuButtonPopup);
req_button->setMenu(req);
tab_tech::techs_to_menu(req);
connect(req_button, SIGNAL(triggered(QAction *)), this, SLOT(req_menu(QAction *)));
unit_layout->addWidget(label, row, 0);
unit_layout->addWidget(req_button, row++, 1);
label = new QLabel(QString::fromUtf8(R__("Build Cost")));
label->setParent(this);
......
**************************************************************************/
void edit_utype::refresh()
{
req_button->setText(tab_tech::tech_name(utype_primary_tech_req(utype)));
bcost->setValue(utype->build_cost);
attack->setValue(utype->attack_strength);
defense->setValue(utype->defense_strength);
move_rate->setValue(utype->move_rate);
}
/**********************************************************************//**
User selected tech to be req of utype
**************************************************************************/
void edit_utype::req_menu(QAction *action)
{
struct advance *padv;
QByteArray an_bytes;
an_bytes = action->text().toUtf8();
padv = advance_by_rule_name(an_bytes.data());
if (padv != nullptr) {
if (padv != advance_by_number(A_NONE)) {
bool found = FALSE;
requirement_vector_iterate(&utype->build_reqs, preq) {
if (preq->source.kind == VUT_ADVANCE) {
preq->source.value.advance = padv;
found = TRUE;
break;
}
} requirement_vector_iterate_end;
if (!found) {
requirement_vector_append(&utype->build_reqs,
req_from_values(VUT_ADVANCE, REQ_RANGE_PLAYER,
FALSE, TRUE, FALSE,
advance_number(padv)));
}
} else {
size_t i;
size_t vsize = requirement_vector_size(&utype->build_reqs);
for (i = 0; i < vsize; i++) {
struct requirement *cur = requirement_vector_get(&utype->build_reqs, i);
if (cur->source.kind == VUT_ADVANCE) {
requirement_vector_remove(&utype->build_reqs, i);
break;
}
}
}
refresh();