Project

General

Profile

Feature #211 ยป 0025-Granularity-Add-Archers.patch

Marko Lindqvist, 01/31/2024 02:41 AM

View differences:

data/granularity/buildings.ruleset
genus = "Improvement"
reqs =
{ "type", "name", "range"
"Tech", "Military Training", "Player"
"Tech", "Combat Practice", "Player"
}
graphic = "b.barracks"
graphic_alt = "b.barracks_i"
data/granularity/techs.ruleset
graphic_alt = "-"
;helptext =
[advance_archery]
name = _("Archery")
req1 = "Combat Practice"
req2 = "None"
flags = ""
graphic = "a.archery"
graphic_alt = "-"
;helptext =
[advance_art]
name = _("Art")
req1 = "Pottery"
......
graphic_alt = "-"
helptext = _("Cave Paintings record hunting and fights.")
[advance_combat_practice]
name = _("Combat Practice")
req1 = "Government"
req2 = "Animal Taming"
flags = ""
graphic = "a.combat_practice"
graphic_alt = "-"
helptext = _("\
Also humans can be trained.\
")
[advance_counting]
name = _("Counting")
req1 = "None"
......
graphic_alt = "-"
;helptext =
[advance_military_training]
name = _("Military Training")
req1 = "Government"
req2 = "Animal Taming"
flags = ""
graphic = "a.military_training"
graphic_alt = "-"
helptext = _("\
Also humans can be trained.\
")
[advance_mining]
name = _("Mining")
req1 = "Carving"
......
[advance_trenches]
name = _("Trenches")
req1 = "Mining"
req2 = "Military Training"
req2 = "Combat Practice"
flags = ""
graphic = "a.trenches"
graphic_alt = "-"
data/granularity/units.ruleset
as much of it from their homecity.\
")
[unit_archers]
name = _("Archers")
class = "Land"
reqs =
{ "type", "name", "range"
"Tech", "Archery", "Player"
}
obsolete_by = "None"
graphic = "u.archers"
graphic_alt = "-"
sound_move = "m_archers"
sound_move_alt = "m_generic"
sound_fight = "f_archers"
sound_fight_alt = "f_generic"
build_cost = 2000
pop_cost = 0
attack = 30
defense = 10
hitpoints = 10
firepower = 1
move_rate = 50
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 0
uk_shield = 100
uk_food = 0
uk_gold = 0
tp_defense = "Alight"
;flags =
;roles =
helptext = _("\
Powerful attack unit.\
")
[unit_horsemen]
name = _("Horsemen")
class = "Land"
    (1-1/1)