Move effect string macro text into various definitions.
This commit is contained in:
parent
df99280274
commit
d7fa23abc5
4 changed files with 58 additions and 143 deletions
|
@ -24,7 +24,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Adamant armor"
|
||||
icon=items/armor.png
|
||||
description={WC_STR_BLADE}+"/"+{WC_STR_IMPACT}+"/"+{WC_STR_PIERCE}+": "+{WC_STR_UP_TO 10}+{WC_STR_RESISTANCES}+", "+{WC_STR_STEADFAST}
|
||||
description={WC_STR_BLADE}+"/"+{WC_STR_IMPACT}+"/"+{WC_STR_PIERCE}+": up to 10%"+{WC_STR_RESISTANCES}+", "+{WC_STR_STEADFAST}
|
||||
info=_ "The sturdy plates of this lightweight armor increase the user’s physical resistances (to a maximum of 10%) and grants the steadfast ability."
|
||||
sound=dagger-swish.wav
|
||||
[effect]
|
||||
|
@ -64,7 +64,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Azure pearl"
|
||||
icon=items/ball-blue.png
|
||||
description={WC_STR_SWIM}+", "+{WC_STR_SUBMERGE}
|
||||
description=_ "Full movement and up to 60% defense in water or swamp and up to 70% defense in reef."
|
||||
info=_ "This wondrous gem lets the bearer breathe and move through water as if it was air, strongly improving their mobility in water and granting the submerge ability."
|
||||
sound=dagger-swish.wav
|
||||
[effect]
|
||||
|
@ -97,7 +97,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Bezoar"
|
||||
icon=items/ball-green.png
|
||||
description={WC_STR_FEARLESS}+", "+{WC_STR_UNDEAD}+", "+{WC_STR_HEALTHY}+", "+{WC_STR_TENACITY}
|
||||
description={WC_STR_FEARLESS}+", "+{WC_STR_UNDEAD}+", "+{WC_STR_HEALTHY}+", tenacity"
|
||||
info=_ "This shamanic totem protects from poison, drain, and plague. Bearers of the totem are immune to fear and their vulnerabilities are reduced."
|
||||
sound=heal.wav
|
||||
{TRAIT_UNDEAD}
|
||||
|
@ -224,9 +224,9 @@ _ "XP to advance" #enddef
|
|||
id=forcefield
|
||||
value=-13
|
||||
cumulative=no
|
||||
name= {WC_STR_FORCEFIELD}
|
||||
female_name= {WC_STR_FORCEFIELD}
|
||||
description= {WC_STR_FORCEFIELD_DESCRIPTION}
|
||||
name=_ "forcefield"
|
||||
female_name=_ "forcefield"
|
||||
description=_ "Adjacent enemies do 13% less damage."
|
||||
affect_self=no
|
||||
affect_allies=no
|
||||
affect_enemies=yes
|
||||
|
@ -352,7 +352,7 @@ _ "XP to advance" #enddef
|
|||
[effect]
|
||||
apply_to=new_attack
|
||||
name="ice bow"
|
||||
description= {WC_STR_ART_SLOW_R}
|
||||
description=_ "ice bow"
|
||||
icon=attacks/iceball.png
|
||||
type=cold
|
||||
range=ranged
|
||||
|
@ -413,7 +413,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Melange"
|
||||
icon=items/potion-yellow.png
|
||||
description={WC_STR_LIVING}+" +1 "+{WC_STR_DAMAGE}+{WC_STR_AND}+"+1 "+{WC_STR_MOVES}+{WC_STR_AND}+"-20% "+{WC_STR_EXPERIENCE}
|
||||
description=_ "no undead^consumed by a living being: +1 "+{WC_STR_DAMAGE}+{WC_STR_AND}+"+1 "+{WC_STR_MOVES}+{WC_STR_AND}+"-20% "+{WC_STR_EXPERIENCE}
|
||||
info=_ "This exotic drug of organic origin enhances user’s vitality and awareness. It has no effect when consumed by undead."
|
||||
sound=potion.ogg
|
||||
[filter]
|
||||
|
@ -483,7 +483,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Ring of power"
|
||||
icon=items/ring-gold.png
|
||||
description={WC_STR_ARCANE}+"/"+{WC_STR_COLD}+"/"+{WC_STR_FIRE}+": "+{WC_STR_DISENGAGE}+{WC_STR_AND}+"+20% "+{WC_STR_DAMAGE}
|
||||
description={WC_STR_ARCANE}+"/"+{WC_STR_COLD}+"/"+{WC_STR_FIRE}+": disengage"+{WC_STR_AND}+"+20% "+{WC_STR_DAMAGE}
|
||||
info=_ "Wearing this ring enhances damage with arcane and elemental attacks, allowing using them with supernatural skill and presence."
|
||||
{WCT_ANIMATION_RING power "210,210,57"}
|
||||
not_available=enemy
|
||||
|
@ -542,7 +542,7 @@ _ "XP to advance" #enddef
|
|||
[effect]
|
||||
apply_to=new_attack
|
||||
name=staff of radiance
|
||||
description= {WC_STR_ART_ARCANE}
|
||||
description=_ "staff of radiance"
|
||||
icon=attacks/lightbeam.png
|
||||
type=arcane
|
||||
range=ranged
|
||||
|
@ -582,7 +582,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Stormbringer"
|
||||
icon=items/flame-sword.png
|
||||
description={WC_STR_MELEE}+": "+ {WC_STR_FURY}
|
||||
description={WC_STR_MELEE}+": fury"
|
||||
info=_ "This tormented sword causes rage in any who wield it. Melee attacks will gain the fury ability pressing engagement for 3 rounds."
|
||||
sound=dagger-swish.wav
|
||||
not_available=player
|
||||
|
@ -596,9 +596,9 @@ _ "XP to advance" #enddef
|
|||
mode=append
|
||||
[berserk]
|
||||
id=wct_fury
|
||||
name= {WC_STR_FURY}
|
||||
female_name= {WC_STR_FURY}
|
||||
description= {WC_STR_FURY_DESCRIPTION}
|
||||
name=_ "fury"
|
||||
female_name=_ "fury"
|
||||
description=_ "Whether used offensively or defensively, this attack presses the engagement until one of the combatants is slain, or 3 rounds of attacks have occurred."
|
||||
value=3
|
||||
[/berserk]
|
||||
[/set_specials]
|
||||
|
@ -625,7 +625,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Terror disguise"
|
||||
icon=items/scarecrow.png
|
||||
description= {WC_STR_DARKNESS}+", "+{WC_STR_CHAOTIC}+", "+{WC_STR_CORRUPTION}+", "+{WC_STR_DISTRACT}
|
||||
description=_ "darkness, "+{WC_STR_CHAOTIC}+", corruption, distract"
|
||||
info=_ "This cursed outfit spreads a trail of darkness, harming those who get too close."
|
||||
sound_male=dwarf-laugh.wav
|
||||
sound_female=witches-laugh.wav
|
||||
|
@ -646,16 +646,16 @@ _ "XP to advance" #enddef
|
|||
value=-25
|
||||
min_value=-25
|
||||
cumulative=no
|
||||
name= {WC_STR_DARKNESS}
|
||||
female_name= {WC_STR_DARKNESS}
|
||||
description= {WC_STR_DARKNESS_DESCRIPTION}
|
||||
name=_ "darkness"
|
||||
female_name=_ "darkness"
|
||||
description=_ "This unit darkens the surrounding area, making chaotic units fight better, and lawful units fight worse. Any units adjacent to this unit will fight as if it were dusk when it is day, and as if it were night when it is dusk."
|
||||
affect_self=yes
|
||||
[/illuminates]
|
||||
[dummy]
|
||||
id=wc2_corruption
|
||||
name= {WC_STR_CORRUPTION}
|
||||
female_name= {WC_STR_CORRUPTION}
|
||||
description= {WC_STR_CORRUPTION_DESCRIPTION}
|
||||
name=_ "corruption"
|
||||
female_name=_ "corruption"
|
||||
description=_ "This unit corrupts adjacent enemies at the beginning of our turn. Corrupted units lose 6 HP or are reduced to 1 HP. Corruption cannot, of itself, kill a unit."
|
||||
[/dummy]
|
||||
[/abilities]
|
||||
[/effect]
|
||||
|
@ -712,7 +712,7 @@ _ "XP to advance" #enddef
|
|||
[effect]
|
||||
apply_to=new_attack
|
||||
name=storm trident
|
||||
description= {WC_STR_ART_FIRE}
|
||||
description=_ "storm trident"
|
||||
icon=attacks/lightning.png
|
||||
type=fire
|
||||
range=ranged
|
||||
|
@ -753,9 +753,9 @@ _ "XP to advance" #enddef
|
|||
id=banner
|
||||
add=20
|
||||
cumulative=yes
|
||||
name= {WC_STR_BANNER}
|
||||
female_name= {WC_STR_BANNER}
|
||||
description= {WC_STR_BANNER_DESCRIPTION}
|
||||
name=_ "banner"
|
||||
female_name=_ "banner"
|
||||
description=_ "This unit can lead ~allied~ units that are next to it, making them fight better. Adjacent allied units will do 20% more damage. This is cumulative with leadership."
|
||||
affect_self=no
|
||||
affect_allies=yes
|
||||
[affect_adjacent]
|
||||
|
@ -768,7 +768,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Winged scepter"
|
||||
icon=items/staff.png
|
||||
description= {WC_STR_FLIGHT}
|
||||
description=_ "Full movement and up to 50% defense in all terrains but cave or mushroom grove."
|
||||
info=_ "This wondrous rod imparts the user the ability to soar through the skies, making it a breeze to move through most terrain. Units that can already fly get improved defenses."
|
||||
sound=dagger-swish.wav
|
||||
[effect]
|
||||
|
@ -811,7 +811,7 @@ _ "XP to advance" #enddef
|
|||
[artifact]
|
||||
name=_ "Winter’s bloom"
|
||||
icon=items/flower3.png
|
||||
description="+15 "+{WC_STR_HITPOINTS}+", "+{WC_STR_UP_TO 20}+{WC_STR_RESISTANCE}+{WC_STR_COLD}
|
||||
description="+15 "+{WC_STR_HITPOINTS}+", up to 20%"+{WC_STR_RESISTANCE}+{WC_STR_COLD}
|
||||
info=_ "This delicate blossom rarely found in snowy peaks, is strongly appreciated for its beneficial effects on health."
|
||||
sound=heal.wav
|
||||
[effect]
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
[grade]
|
||||
{WCT_CHANCES_RANGER_TERRAIN_SPECIALS 17 2}
|
||||
{WCT_CHANCE_FEARLESS 5}
|
||||
{CHANCE_WCT_ABILITY 3 DISTRACT}
|
||||
{CHANCE_WCT_ABILITY_DISTRACT 3}
|
||||
{WCT_CHANCE_ABILITY 13 AMBUSH}
|
||||
{WCT_CHANCE_ABILITY 4 NIGHTSTALK}
|
||||
{WCT_CHANCE_ABILITY 4 CONCEALMENT}
|
||||
|
@ -143,7 +143,7 @@
|
|||
{WCT_CHANCES_RANGER_TERRAIN_SPECIALS 27 3}
|
||||
{WCT_CHANCE_FEARLESS 9}
|
||||
{WCT_CHANCE_BACKSTAB 2}
|
||||
{CHANCE_WCT_ABILITY 7 DISTRACT}
|
||||
{CHANCE_WCT_ABILITY_DISTRACT 7}
|
||||
{WCT_CHANCE_ABILITY 3 SKIRMISHER}
|
||||
{WCT_CHANCE_ABILITY 24 AMBUSH}
|
||||
{WCT_CHANCE_ABILITY 9 NIGHTSTALK}
|
||||
|
@ -188,21 +188,21 @@
|
|||
[grade]
|
||||
[/grade]
|
||||
[grade]
|
||||
{CHANCE_WCT_ABILITY 5 TENACITY}
|
||||
{CHANCE_WCT_ABILITY_TENACITY 5}
|
||||
{WCT_CHANCE_ALWAYS_REST 3}
|
||||
{WCT_CHANCE_HP_PER_LEVEL 78 1}
|
||||
{WCT_CHANCE_HP 25 2}
|
||||
{WCT_CHANCE_HP 10 10%}
|
||||
[/grade]
|
||||
[grade]
|
||||
{CHANCE_WCT_ABILITY 11 TENACITY}
|
||||
{CHANCE_WCT_ABILITY_TENACITY 11}
|
||||
{WCT_CHANCE_ALWAYS_REST 6}
|
||||
{WCT_CHANCE_HP_PER_LEVEL 78 2}
|
||||
{WCT_CHANCE_HP 25 4}
|
||||
{WCT_CHANCE_HP 20 10%}
|
||||
[/grade]
|
||||
[grade]
|
||||
{CHANCE_WCT_ABILITY 18 TENACITY}
|
||||
{CHANCE_WCT_ABILITY_TENACITY 18}
|
||||
{WCT_CHANCE_ALWAYS_REST 9}
|
||||
{WCT_CHANCE_HP_PER_LEVEL 78 3}
|
||||
{WCT_CHANCE_HP 25 6}
|
||||
|
@ -217,7 +217,7 @@
|
|||
#define WCT_CHANCE_RANGED_DISENGAGE CHANCE
|
||||
[chance]
|
||||
value={CHANCE}
|
||||
info={WC_STR_RANGED}+": "+{WC_STR_DISENGAGE}
|
||||
info={WC_STR_RANGED}+": disengage"
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=ranged
|
||||
|
@ -231,8 +231,8 @@
|
|||
mode=append
|
||||
[dummy]
|
||||
id=wc2_disengage
|
||||
name= {WC_STR_DISENGAGE}
|
||||
description= {WC_STR_DISENGAGE_DESCRIPTION}
|
||||
name=_ "disengage"
|
||||
description=_ "Attack with this weapon gives unit 1 moves at end of combat (unit doesn’t gain a new attack)."
|
||||
[filter_self]
|
||||
## works around a bug with special_actve filter.
|
||||
[/filter_self]
|
||||
|
@ -243,7 +243,7 @@
|
|||
#define WCT_CHANCE_MOVE_ON_RECRUIT CHANCE
|
||||
[chance]
|
||||
value={CHANCE}
|
||||
info={WC_STR_MOVE_ON_RECRUIT}
|
||||
info=_ "Full movement on turn recruited or recalled"
|
||||
[effect]
|
||||
apply_to="wc2_move_on_recruit"
|
||||
[/effect]
|
||||
|
@ -367,14 +367,26 @@
|
|||
[/chance]
|
||||
#enddef
|
||||
|
||||
#define CHANCE_WCT_ABILITY CHANCE ABILITY
|
||||
#define CHANCE_WCT_ABILITY_DISTRACT CHANCE
|
||||
[chance]
|
||||
value={CHANCE}
|
||||
info={WC_STR_{ABILITY}}
|
||||
info=_ "distract"
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
{WCT_ABILITY_{ABILITY}}
|
||||
{WCT_ABILITY_DISTRACT}
|
||||
[/abilities]
|
||||
[/effect]
|
||||
[/chance]
|
||||
#enddef
|
||||
#define CHANCE_WCT_ABILITY_TENACITY CHANCE
|
||||
[chance]
|
||||
value={CHANCE}
|
||||
info=_ "tenacity"
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
{WCT_ABILITY_TENACITY}
|
||||
[/abilities]
|
||||
[/effect]
|
||||
[/chance]
|
||||
|
@ -383,9 +395,9 @@
|
|||
#define WCT_ABILITY_DISTRACT
|
||||
[skirmisher]
|
||||
id=distract
|
||||
name= {WC_STR_DISTRACT}
|
||||
female_name= {WC_STR_DISTRACT}
|
||||
description= {WC_STR_DISTRACT_DESCRIPTION}
|
||||
name=_ "distract"
|
||||
female_name=_ "distract"
|
||||
description=_ "Allied units ignore enemy zones of control adjacent to this unit."
|
||||
affect_self=no
|
||||
affect_allies=yes
|
||||
[affect_adjacent]
|
||||
|
@ -407,9 +419,9 @@
|
|||
[filter_base_value]
|
||||
less_than=0
|
||||
[/filter_base_value]
|
||||
name= {WC_STR_TENACITY}
|
||||
female_name= {WC_STR_TENACITY}
|
||||
description= {WC_STR_TENACITY_DESCRIPTION}
|
||||
name=_ "tenacity"
|
||||
female_name=_ "tenacity"
|
||||
description=_ "This unit’s vulnerabilities are halved when defending."
|
||||
affect_self=yes
|
||||
active_on=defense
|
||||
[/resistance]
|
||||
|
@ -610,7 +622,7 @@
|
|||
#define WCT_CHANCE_LOYAL CHANCE
|
||||
[chance]
|
||||
value={CHANCE}
|
||||
info={WC_STR_FREE_UPKEEP}
|
||||
info=_ "free upkeep"
|
||||
[effect]
|
||||
apply_to=loyal
|
||||
[/effect]
|
||||
|
|
|
@ -1,94 +0,0 @@
|
|||
#textdomain wesnoth-wc
|
||||
|
||||
#define WC_STR_ART_ARCANE
|
||||
_ "staff of radiance" #enddef
|
||||
|
||||
#define WC_STR_ART_FIRE
|
||||
_ "storm trident" #enddef
|
||||
|
||||
#define WC_STR_ART_SLOW_R
|
||||
_ "ice bow" #enddef
|
||||
|
||||
#define WC_STR_BANNER
|
||||
_ "banner" #enddef
|
||||
|
||||
#define WC_STR_BANNER_DESCRIPTION
|
||||
_ "This unit can lead ~allied~ units that are next to it, making them fight better. Adjacent allied units will do 20% more damage. This is cumulative with leadership." #enddef
|
||||
|
||||
#define WC_STR_CORRUPTION
|
||||
_ "corruption" #enddef
|
||||
|
||||
#define WC_STR_CORRUPTION_DESCRIPTION
|
||||
_ "This unit corrupts adjacent enemies at the beginning of our turn. Corrupted units lose 6 HP or are reduced to 1 HP. Corruption cannot, of itself, kill a unit." #enddef
|
||||
|
||||
#define WC_STR_DARKNESS
|
||||
_ "darkness" #enddef
|
||||
|
||||
#define WC_STR_DARKNESS_DESCRIPTION
|
||||
_ "This unit darkens the surrounding area, making chaotic units fight better, and lawful units fight worse. Any units adjacent to this unit will fight as if it were dusk when it is day, and as if it were night when it is dusk." #enddef
|
||||
|
||||
#define WC_STR_DISTRACT
|
||||
_ "distract" #enddef
|
||||
|
||||
#define WC_STR_DISTRACT_DESCRIPTION
|
||||
_ "Allied units ignore enemy zones of control adjacent to this unit." #enddef
|
||||
|
||||
#define WC_STR_FLIGHT
|
||||
_ "flight" #enddef
|
||||
|
||||
#define WC_STR_FLIGHT_DESCRIPTION
|
||||
_ "Full movement and up to 50% defense in all terrains but cave or mushroom grove." #enddef
|
||||
|
||||
#define WC_STR_SWIM
|
||||
_ "swim" #enddef
|
||||
|
||||
#define WC_STR_SWIM_DESCRIPTION
|
||||
_ "Full movement and up to 60% defense in water or swamp and up to 70% defense in reef." #enddef
|
||||
|
||||
#define WC_STR_FORCEFIELD
|
||||
_ "forcefield" #enddef
|
||||
|
||||
#define WC_STR_FORCEFIELD_DESCRIPTION
|
||||
_ "Adjacent enemies do 13% less damage." #enddef
|
||||
|
||||
#define WC_STR_FURY
|
||||
_ "fury" #enddef
|
||||
|
||||
#define WC_STR_FURY_DESCRIPTION
|
||||
_ "Whether used offensively or defensively, this attack presses the engagement until one of the combatants is slain, or 3 rounds of attacks have occurred." #enddef
|
||||
|
||||
#define WC_STR_MOVE_ON_RECRUIT
|
||||
_ "Full movement on turn recruited or recalled" #enddef
|
||||
|
||||
#define WC_STR_OPTIONAL_CHARGE
|
||||
_ "optional charge" #enddef
|
||||
|
||||
#define WC_STR_TENACITY
|
||||
_ "tenacity" #enddef
|
||||
|
||||
#define WC_STR_TENACITY_DESCRIPTION
|
||||
_ "This unit’s vulnerabilities are halved when defending." #enddef
|
||||
|
||||
#define WC_STR_FREE_UPKEEP
|
||||
_ "free upkeep" #enddef
|
||||
|
||||
#define WC_STR_FULL_MOVEMENT
|
||||
_ "full movement" #enddef
|
||||
|
||||
#define WC_STR_WATER
|
||||
_ "terrain^water" #enddef
|
||||
|
||||
#define WC_STR_DEFENSES_IMP
|
||||
_ "improved defenses" #enddef
|
||||
|
||||
#define WC_STR_LIVING
|
||||
_ "no undead^consumed by a living being:" #enddef
|
||||
|
||||
#define WC_STR_UP_TO VALUE
|
||||
_ "up to"+" {VALUE}% " #enddef
|
||||
|
||||
#define WC_STR_DISENGAGE
|
||||
_ "disengage" #enddef
|
||||
|
||||
#define WC_STR_DISENGAGE_DESCRIPTION
|
||||
_ "Attack with this weapon gives unit 1 moves at end of combat (unit doesn’t gain a new attack)." #enddef
|
|
@ -121,9 +121,6 @@ _ "steadfast" #enddef
|
|||
#define WC_STR_STRIKES
|
||||
_ "Strikes" #enddef
|
||||
|
||||
#define WC_STR_SUBMERGE
|
||||
_ "submerge" #enddef
|
||||
|
||||
#define WC_STR_SWAMP
|
||||
_ "Swamp" #enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue