Feature #131 ยป 0025-Granularity-Add-Emissary-unit.patch
| data/granularity/actions.ruleset | ||
|---|---|---|
|
; the following character as a mnemonic in its graphical toolkit.
|
||
|
; The second %s marks where extra details should be inserted.
|
||
|
; /* TRANS: Becom_e Ambassador (100% chance of success). */
|
||
|
ui_name_establish_embassy_stay = _("Becom%se Ambassador%s")
|
||
|
; /* TRANS: _Build City (100% chance of success). */
|
||
|
ui_name_found_city = _("%sBuild City%s")
|
||
|
; /* <-- avoid gettext warnings
|
||
|
;
|
||
|
; Action enablers:
|
||
|
;
|
||
|
; action = the action to enable.
|
||
|
; actor_reqs = requirements that apply to the actor.
|
||
|
; target_reqs = requirements that apply to the target.
|
||
|
;
|
||
|
; README.actions lists the possible actions and their hard coded
|
||
|
; requirements.
|
||
|
;
|
||
|
; An action enabler is active when its actor_reqs AND its target_reqs are
|
||
|
; satisfied.
|
||
|
;
|
||
|
; */ <-- avoid gettext warnings
|
||
|
; No enabled actions
|
||
|
; [actionenabler_embassy]
|
||
|
; action = "Establish Embassy"
|
||
|
; /* TRANS: _Deboard (100% chance of success). */
|
||
|
ui_name_transport_deboard = _("%sDeboard%s")
|
||
| ... | ... | |
|
; requirements. Avoid double entries in the auto help by silencing it.
|
||
|
quiet_actions = "Transport Disembark 2", "Unit Move"
|
||
|
; /* <-- avoid gettext warnings
|
||
|
;
|
||
|
; Action enablers:
|
||
|
;
|
||
|
; action = the action to enable.
|
||
|
; actor_reqs = requirements that apply to the actor.
|
||
|
; target_reqs = requirements that apply to the target.
|
||
|
;
|
||
|
; README.actions lists the possible actions and their hard coded
|
||
|
; requirements.
|
||
|
;
|
||
|
; An action enabler is active when its actor_reqs AND its target_reqs are
|
||
|
; satisfied.
|
||
|
;
|
||
|
; */ <-- avoid gettext warnings
|
||
|
[actionenabler_establish_embassy]
|
||
|
action = "Establish Embassy Stay"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Diplomat", "Local", TRUE
|
||
|
"UnitState", "OnLivableTile", "Local", TRUE
|
||
|
"MinMoveFrags", "1", "Local", TRUE
|
||
|
"DiplRel", "Foreign", "Local", TRUE
|
||
|
"DiplRel", "Has real embassy", "Local", FALSE
|
||
|
}
|
||
|
target_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"NationGroup", "Barbarian", "Player", FALSE
|
||
|
}
|
||
|
[actionenabler_found_city]
|
||
|
action = "Found City"
|
||
|
actor_reqs =
|
||
| data/granularity/techs.ruleset | ||
|---|---|---|
|
req2 = "None"
|
||
|
flags = ""
|
||
|
graphic = "a.cave_painting"
|
||
|
graphic_alt = "a.alphabet"
|
||
|
graphic_alt = "-"
|
||
|
helptext = _("Cave Paintings record hunting and fights.")
|
||
|
[advance_diplomacy]
|
||
|
name = _("Diplomacy")
|
||
|
req1 = "Government"
|
||
|
req2 = "Maps"
|
||
|
flags = ""
|
||
|
graphic = "a.diplomacy"
|
||
|
graphic_alt = "-"
|
||
|
;helptext =
|
||
|
[advance_fire]
|
||
|
name = _("Fire")
|
||
|
req1 = "None"
|
||
| data/granularity/units.ruleset | ||
|---|---|---|
|
helptext = _("\
|
||
|
Boats carved from logs.\
|
||
|
")
|
||
|
[unit_emissary]
|
||
|
name = _("Emissary")
|
||
|
class = "Land"
|
||
|
reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"Tech", "Diplomacy", "Player"
|
||
|
}
|
||
|
obsolete_by = "None"
|
||
|
graphic = "u.emissary"
|
||
|
graphic_alt = "u.diplomat"
|
||
|
sound_move = "m_emissary"
|
||
|
sound_move_alt = "m_generic"
|
||
|
sound_fight = "f_emissary"
|
||
|
sound_fight_alt = "f_generic"
|
||
|
build_cost = 2500
|
||
|
pop_cost = 0
|
||
|
attack = 0
|
||
|
defense = 5
|
||
|
hitpoints = 10
|
||
|
firepower = 1
|
||
|
move_rate = 70
|
||
|
vision_radius_sq = 2
|
||
|
transport_cap = 0
|
||
|
fuel = 0
|
||
|
uk_happy = 0
|
||
|
uk_shield = 0
|
||
|
uk_food = 0
|
||
|
uk_gold = 0
|
||
|
tp_defense = "Alight"
|
||
|
flags = "Diplomat"
|
||
|
roles = "DiplomatStartUnit"
|
||
|
;helptext =
|
||