Feature #2288 ยป 0080-granularity-Add-Biplane-unit.patch
| data/granularity/actions.ruleset | ||
|---|---|---|
|
; Will performing this action always consume the actor unit?
|
||
|
found_city_consuming_always = TRUE
|
||
|
; The maximum distance from the actor unit to the center of the
|
||
|
; scouted area. The value 1 means that the tile must be a tile
|
||
|
; adjacent to the actor unit. The special value "unlimited" lifts the
|
||
|
; maximum distance restriction.
|
||
|
scout_max_range = 6
|
||
|
; Blank ruleset defined user actions.
|
||
|
; See the section "Ruleset defined actions" in doc/README.actions
|
||
|
; Example: set up "User Action 1"
|
||
| ... | ... | |
|
action = "Teleport"
|
||
|
ui_name = _("%sRelocate%s")
|
||
|
[action_recon]
|
||
|
action = "Scout"
|
||
|
ui_name = _("Re%scon%s")
|
||
|
; /* <-- avoid gettext warnings
|
||
|
;
|
||
| ... | ... | |
|
[enabler_bombard]
|
||
|
action = "Bombard"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"UnitClass", "Air", "Local"
|
||
|
"MinMoveFrags", "5", "Local"
|
||
|
{ "type", "name", "range"
|
||
|
"UnitType", "Bomber", "Local"
|
||
|
"MinMoveFrags", "5", "Local"
|
||
|
}
|
||
|
[enabler_recon]
|
||
|
action = "Scout"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"UnitType", "Biplane", "Local"
|
||
|
"MinMoveFrags", "5", "Local"
|
||
|
}
|
||
|
[enabler_fortify]
|
||
| data/granularity/effects.ruleset | ||
|---|---|---|
|
"Action", "Surgical Strike Building", "Local", TRUE
|
||
|
}
|
||
|
[effect_action_success_recon]
|
||
|
type = "Action_Success_Actor_Move_Cost"
|
||
|
value = 65535
|
||
|
reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"Action", "Scout", "Local", TRUE
|
||
|
}
|
||
|
[effect_no_tools]
|
||
|
type = "Output_Bonus"
|
||
|
value = -50
|
||
| data/granularity/techs.ruleset | ||
|---|---|---|
|
or 25% full when city shrinks.\
|
||
|
")
|
||
|
[advance_radio]
|
||
|
name = _("Radio")
|
||
|
req1 = "Flight"
|
||
|
req2 = "None"
|
||
|
flags = ""
|
||
|
graphic = "a.radio"
|
||
|
graphic_alt = "-"
|
||
|
;helptext =
|
||
|
[advance_road_building]
|
||
|
name = _("Road Building")
|
||
|
req1 = "None"
|
||
| data/granularity/units.ruleset | ||
|---|---|---|
|
Bounty Hunters are able to capture all enemy units.\
|
||
|
")
|
||
|
[unit_biplane]
|
||
|
name = _("Biplane")
|
||
|
class = "Air"
|
||
|
reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"Tech", "Flight", "Player"
|
||
|
}
|
||
|
obsolete_by = "None"
|
||
|
graphic = "u.biplane"
|
||
|
graphic_alt = "u.fighter"
|
||
|
sound_move = "m_biplane"
|
||
|
sound_move_alt = "m_generic"
|
||
|
sound_fight = "f_biplane"
|
||
|
sound_fight_alt = "f_generic"
|
||
|
build_cost = 10000
|
||
|
pop_cost = 0
|
||
|
attack = 50
|
||
|
defense = 50
|
||
|
hitpoints = 20
|
||
|
firepower = 1
|
||
|
move_rate = 100
|
||
|
bombard_rate = 8
|
||
|
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 = _("\
|
||
|
Unit capable of recon missions.\
|
||
|
")
|
||
|
[unit_bomber]
|
||
|
name = _("Bomber")
|
||
|
class = "Air"
|
||
|
reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"Tech", "Flight", "Player"
|
||
|
"Tech", "Radio", "Player"
|
||
|
}
|
||
|
obsolete_by = "None"
|
||
|
graphic = "u.bomber"
|
||