mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 04:17:20 +00:00

There is 2 new keys for [trait] : - male_name : name displayed if the unit is male - female_name : name displayed if the unit is female otherwise if none of the above is used/found the old "name" key is used.
120 lines
1.9 KiB
INI
120 lines
1.9 KiB
INI
#textdomain wesnoth
|
|
|
|
#define TRAIT_LOYAL
|
|
[trait]
|
|
id=loyal
|
|
male_name= _ "loyal"
|
|
female_name= _ "female^loyal"
|
|
description= _ "Zero upkeep"
|
|
[effect]
|
|
apply_to=loyal
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_UNDEAD
|
|
[trait]
|
|
id=undead
|
|
male_name= _ "undead"
|
|
female_name= _ "female^undead"
|
|
description= _ "Immune to poison"
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_STRONG
|
|
[trait]
|
|
id=strong
|
|
male_name= _ "strong"
|
|
female_name= _ "female^strong"
|
|
[effect]
|
|
apply_to=attack
|
|
range=melee
|
|
increase_damage=1
|
|
[/effect]
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=1
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_DEXTROUS
|
|
[trait]
|
|
id=dextrous
|
|
male_name= _ "dextrous"
|
|
female_name= _ "female^dextrous"
|
|
[effect]
|
|
apply_to=attack
|
|
range=ranged
|
|
increase_damage=1
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_QUICK
|
|
[trait]
|
|
id=quick
|
|
male_name= _ "quick"
|
|
female_name= _ "female^quick"
|
|
[effect]
|
|
apply_to=movement
|
|
increase=1
|
|
[/effect]
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=-10%
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_INTELLIGENT
|
|
[trait]
|
|
id=intelligent
|
|
male_name= _ "intelligent"
|
|
female_name= _ "female^intelligent"
|
|
[effect]
|
|
apply_to=max_experience
|
|
increase=-20%
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_RESILIENT
|
|
[trait]
|
|
id=resilient
|
|
male_name= _ "resilient"
|
|
female_name= _ "female^resilient"
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=10%
|
|
[/effect]
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=3
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_HEALTHY
|
|
[trait]
|
|
id=healthy
|
|
male_name= _ "healthy"
|
|
female_name= _ "female^healthy"
|
|
description= _ "Heals faster if resting"
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=3
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_FEARLESS
|
|
[trait]
|
|
id=fearless
|
|
male_name= _ "fearless"
|
|
female_name= _ "female^fearless"
|
|
description= _ "Fights normally during unfavorable times of day/night"
|
|
[/trait]
|
|
#enddef
|
|
|