Project

General

Profile

Feature #520 » 0055-Granularity-Add-Bounty-Hunter.patch

main - Marko Lindqvist, 04/30/2024 05:07 AM

View differences:

data/granularity/actions.ruleset
"CityTile", "Center", "Tile", FALSE
}
[enabler_capture_bounty_hunter]
action = "Capture Units"
actor_reqs =
{ "type", "name", "range"
"UnitType", "Bounty Hunter", "Local"
"DiplRel", "War", "Local"
"MinMoveFrags", "1", "Local"
}
target_reqs =
{ "type", "name", "range", "present"
"UnitState", "Transporting", "Local", FALSE
"CityTile", "Center", "Tile", FALSE
}
[enabler_gain_veterancy]
action = "Gain Veterancy"
actor_reqs =
data/granularity/techs.ruleset
Make Irrigation fully effective.\
")
[advance_policing]
name = _("Policing")
req1 = "Code of Laws"
req2 = "Bronze Weapons"
flags = ""
graphic = "a.policing"
graphic_alt = "-"
;helptext =
[advance_pottery]
name = _("Pottery")
req1 = "Fire"
data/granularity/units.ruleset
Horsemen are the first fast unit.\
")
[unit_catapuly]
[unit_catapult]
name = _("Catapult")
class = "Land"
reqs =
......
Catapults are the first bombarding unit and it can also destroy buildings.\
")
[unit_bounty_hunter]
name = _("Bounty Hunter")
class = "Land"
reqs =
{ "type", "name", "range"
"Tech", "Policing", "Player"
}
obsolete_by = "None"
graphic = "u.bounty_hunter"
graphic_alt = "u.legion"
sound_move = "m_bounty_hunter"
sound_move_alt = "m_generic"
sound_fight = "f_bounty_hunter"
sound_fight_alt = "f_generic"
build_cost = 2800
pop_cost = 0
attack = 10
defense = 10
hitpoints = 10
firepower = 1
move_rate = 30
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 = _("\
Bounty Hunters are able to capture all enemy units.\
")
[unit_bomber]
name = _("Bomber")
class = "Air"
......
uk_food = 0
uk_gold = 0
tp_defense = "Alight"
flags = "Cities"
flags = "Cities", "Defenseless"
helptext = _("\
Settlers are specialized in founding new cities.\
")
(1-1/2)