Debian Codegraph @

lib/gamedata/player_property.txt

raw
1 # File: player_property.txt
2
3 # Used in conjunction with list-player-flags.h, list-object-flags.h and
4 # list-elements.h
5 # Player properties
6
7 # Descriptions and names can be edited without bad effects.
8 # Changing the code, or type will severely disrupt the game, and should only
9 # be done when the associated list-*.h files (and other code) are also
10 # being changed, and the game recompiled.
11 # Adding new entries will have no effect without further datafile and code
12 # changes
13
14 # Fields:
15 # type - the type of player property. Valid types are
16 # player - special player flag from list-player-flags.h
17 # object - object flag from list-object-flags.h
18 # element - resistance, immunity or vulnerability to an element
19 # code - the property name used by the game. Element codes are templates, and
20 # one is made for each element
21 # bindui - Binds the property to a user interface element in ui_entry.txt.
22 # When binding an element property, the name will be parameterized
23 # with the element name. Takes two parameters. The first is an
24 # integer, which if nonzero, says the value is passed to the user
25 # interface element as an auxiliary one (used on some to indicate a
26 # sustain, for instance). The second is the value to pass. That can
27 # be an integer or "special" where the latter indicates that the
28 # value passed will be determined internally. bindui currently only
29 # affects parts of the second character screen and the equippable
30 # comparison. It can appear multiple times for the same entry to
31 # bind it to multiple user interface elements.
32 # name - the name of the property
33 # desc - the description of the property
34 # value - value for elements; -1 (vulnerability), 1 (resistance) or 3 (immunity)
35
36 ## Shapechange player flags
37
38 type:player
39 code:ROCK
40 name:Rock
41 desc:You are made of rock.
42
43 ## Racial player flags
44
45 type:player
46 code:KNOW_MUSHROOM
47 name:Mushroom Lore
48 desc:You easily recognize mushrooms.
49
50 type:player
51 code:KNOW_ZAPPER
52 name:Device Lore
53 desc:You easily recognize magic devices.
54
55 type:player
56 code:SEE_ORE
57 name:Miner
58 desc:You can sense ore in the walls.
59
60 ## Class player flags
61
62 type:player
63 code:FAST_SHOT
64 bindui:shots_ui_compact_0:0:special
65 name:Extra Shots
66 desc:Your shooting speed improves with tension bows every 10 levels.
67
68 type:player
69 code:BRAVERY_30
70 bindui:pfear_ui_compact_0:0:special
71 name:Relentless [30]
72 desc:You become immune to fear at level 30.
73
74 type:player
75 code:BLESS_WEAPON
76 name:Blessed Fighter
77 desc:You get improved melee with blessed or hafted weapons.
78
79 type:player
80 code:ZERO_FAIL
81 name:Full Spellcaster
82 desc:You may obtain a perfect success rate with magic.
83
84 type:player
85 code:BEAM
86 name:Extra Spell Beaming
87 desc:Your bolt spells frequently turn into beams.
88
89 type:player
90 code:CHOOSE_SPELLS
91 name:Spell Choice
92 desc:You may choose your own spells to study.
93
94 type:player
95 code:NO_MANA
96 name:No Magic
97 desc:You cannot cast spells.
98
99 type:player
100 code:CHARM
101 name:Charms
102 desc:You are extra persuasive to monsters.
103
104 type:player
105 code:UNLIGHT
106 bindui:resist_ui_compact_0<DARK>:0:1
107 name:Unlight
108 desc:You gain stealth in, can see in, and resist the dark.
109
110 type:player
111 code:STEAL
112 name:Pickpocketing
113 desc:You can steal from monsters.
114
115 type:player
116 code:SHIELD_BASH
117 name:Shield Bash
118 desc:You can bash monsters with a shield in melee.
119
120 type:player
121 code:EVIL
122 bindui:resist_ui_compact_0<NETHER>:0:1
123 name:Evil
124 desc:You resist nether, but are hurt by holy attacks.
125
126 type:player
127 code:COMBAT_REGEN
128 bindui:imphp_ui_compact_0:0:1
129 name:Combat Regeneration
130 desc:You draw power from the thrill of combat, represented by
131 desc: Spell Points (SP). You gain SP when damaged by an enemy or
132 desc: when you attack in melee. As your blood cools your power fades;
133 desc: you lose SP at half the rate other classes gain them.
134 desc: When you spend SP by casting a spell you regain some health, and
135 desc: fading SP replenish your health more efficiently. The more damaged
136 desc: you are, the bigger these health gains will be.
137
138
139 # Object flags
140
141 type:object
142 code:SUST_STR
143 bindui:stat_mod_ui_compact_0<STR>:1:1
144 name:Sustain Strength
145 desc:Your strength is sustained.
146
147 type:object
148 code:SUST_INT
149 bindui:stat_mod_ui_compact_0<INT>:1:1
150 name:Sustain Intelligence
151 desc:Your intelligence is sustained.
152
153 type:object
154 code:SUST_WIS
155 bindui:stat_mod_ui_compact_0<WIS>:1:1
156 name:Sustain Wisdom
157 desc:Your wisdom is sustained.
158
159 type:object
160 code:SUST_DEX
161 bindui:stat_mod_ui_compact_0<DEX>:1:1
162 name:Sustain Dexterity
163 desc:Your dexterity is sustained.
164
165 type:object
166 code:SUST_CON
167 bindui:stat_mod_ui_compact_0<CON>:1:1
168 name:Sustain Constitution
169 desc:Your constitution is sustained.
170
171 type:object
172 code:PROT_FEAR
173 bindui:pfear_ui_compact_0:0:1
174 name:Fear Immunity
175 desc:You are immune to fear.
176
177 type:object
178 code:PROT_BLIND
179 bindui:pblind_ui_compact_0:0:1
180 name:Blindness Immunity
181 desc:You cannot be blinded.
182
183 type:object
184 code:PROT_CONF
185 bindui:pconf_ui_compact_0:0:1
186 name:Confusion Immunity
187 desc:You cannot be confused.
188
189 type:object
190 code:PROT_STUN
191 bindui:pstun_ui_compact_0:0:1
192 name:Stun Immunity
193 desc:You cannot be stunned.
194
195 type:object
196 code:SLOW_DIGEST
197 bindui:slow_digestion_ui_compact_0:0:1
198 name:Slow Digestion
199 desc:You have slow metabolism.
200
201 type:object
202 code:FEATHER
203 bindui:feather_falling_ui_compact_0:0:1
204 name:Feather Falling
205 desc:You fall lightly.
206
207 type:object
208 code:REGEN
209 bindui:regen_ui_compact_0:0:1
210 name:Regeneration
211 desc:You regenerate quickly.
212
213 type:object
214 code:TELEPATHY
215 bindui:esp_ui_compact_0:0:1
216 name:Telepathy
217 desc:You have telepathy.
218
219 type:object
220 code:SEE_INVIS
221 bindui:see_invis_ui_compact_0:0:1
222 name:See Invisible
223 desc:You can see invisible creatures.
224
225 type:object
226 code:FREE_ACT
227 bindui:free_action_ui_compact_0:0:1
228 name:Free Action
229 desc:You are immune to paralysis.
230
231 type:object
232 code:HOLD_LIFE
233 bindui:holdlife_ui_compact_0:0:1
234 name:Hold Life
235 desc:Your life force is sustained.
236
237 type:object
238 code:IMPACT
239 name:Earthquakes
240 desc:You sometimes create earthquakes on impact.
241
242 type:object
243 code:IMPAIR_HP
244 bindui:imphp_ui_compact_0:0:1
245 name:Slow Regeneration
246 desc:Your hitpoint recovery is impaired.
247
248 type:object
249 code:IMPAIR_MANA
250 bindui:impsp_ui_compact_0:0:1
251 name:Slow Mana Regeneration
252 desc:Your mana recovery is impaired.
253
254 type:object
255 code:AFRAID
256 bindui:fear_ui_compact_0:0:1
257 name:Constant Fear
258 desc:You are afraid of melee, and bad at shooting and casting spells.
259
260 type:object
261 code:NO_TELEPORT
262 bindui:noteleport_ui_compact_0:0:1
263 name:Teleport Ban
264 desc:You cannot teleport.
265
266 type:object
267 code:AGGRAVATE
268 bindui:aggravate_ui_compact_0:0:1
269 name:Aggravate
270 desc:You aggravate creatures nearby.
271
272 type:object
273 code:DRAIN_EXP
274 bindui:drainxp_ui_compact_0:0:1
275 name:Experience Drain
276 desc:Your experience constantly drains away.
277
278 type:object
279 code:TRAP_IMMUNE
280 bindui:trap_immunity_ui_compact_0:0:1
281 name:Trap Immune
282 desc:You are immune to traps.
283
284 ## Element flags
285
286 type:element
287 bindui:resist_ui_compact_0:0:1
288 name:Resistance
289 desc:You resist
290 value:1
291
292 type:element
293 bindui:resist_ui_compact_0:0:3
294 name:Immunity
295 desc:You are immune to
296 value:3
297
298 type:element
299 bindui:resist_ui_compact_0:0:-1
300 name:Vulnerability
301 desc:You are vulnerable to
302 value:-1