… | |
… | |
123 | =item no_steal (0|1) |
123 | =item no_steal (0|1) |
124 | |
124 | |
125 | Sets the flag FLAG_NO_STEAL. |
125 | Sets the flag FLAG_NO_STEAL. |
126 | See Flags section below. |
126 | See Flags section below. |
127 | |
127 | |
|
|
128 | =item no_skill_ident (0|1) |
|
|
129 | |
|
|
130 | Sets the flag FLAG_NO_SKILL_IDENT. |
|
|
131 | See Flags section below. |
|
|
132 | |
128 | =item activate_on_push (0|1) (default: 1) |
133 | =item activate_on_push (0|1) (default: 1) |
129 | |
134 | |
130 | Sets the flag FLAG_ACTIVATE_ON_PUSH. |
135 | Sets the flag FLAG_ACTIVATE_ON_PUSH. |
131 | See Flags section below. |
136 | See Flags section below. |
132 | |
137 | |
… | |
… | |
205 | When this flag is set this object can't be stolen. The flag will be |
210 | When this flag is set this object can't be stolen. The flag will be |
206 | resetted once the object is placed on a map. |
211 | resetted once the object is placed on a map. |
207 | |
212 | |
208 | When this flag is set on a monster it can defent attempts of stealing |
213 | When this flag is set on a monster it can defent attempts of stealing |
209 | (but in this context the flag is only used internally). |
214 | (but in this context the flag is only used internally). |
|
|
215 | |
|
|
216 | =item FLAG_NO_SKILL_IDENT |
|
|
217 | |
|
|
218 | This flag is mostly used internal and prevents unidentified objects |
|
|
219 | (objects which don't have FLAG_IDENTIFIED set) being identified by |
|
|
220 | skills. |
|
|
221 | |
|
|
222 | This flag is used to mark objects to never being identified by a skill |
|
|
223 | once a player failed to identify an object. So that multiple tries |
|
|
224 | of identifying aren't more effective than one. |
210 | |
225 | |
211 | =back |
226 | =back |
212 | |
227 | |
213 | =head2 Description of type specific attributes |
228 | =head2 Description of type specific attributes |
214 | |
229 | |
… | |
… | |
447 | 1/4 of <number> will be drained from the players food. |
462 | 1/4 of <number> will be drained from the players food. |
448 | |
463 | |
449 | =item on_use_yield <archetype> |
464 | =item on_use_yield <archetype> |
450 | |
465 | |
451 | When this object is applied an instance of <archetype> will be created. |
466 | When this object is applied an instance of <archetype> will be created. |
|
|
467 | |
|
|
468 | =back |
|
|
469 | |
|
|
470 | =head3 BOOK - type 8 - Readable books |
|
|
471 | |
|
|
472 | This type is basically for representing text books in the game. |
|
|
473 | |
|
|
474 | Reading a book also identifys it (if FLAG_NO_SKILL_IDENT is not set). |
|
|
475 | |
|
|
476 | =over 4 |
|
|
477 | |
|
|
478 | =item msg <text> |
|
|
479 | |
|
|
480 | This is the contents of the book. When this field is unset |
|
|
481 | at treasure generation a random text will be inserted. |
|
|
482 | |
|
|
483 | =item skill <skill name> |
|
|
484 | |
|
|
485 | The skill required to read this book. (The most resonable |
|
|
486 | skill would be literacy). |
|
|
487 | |
|
|
488 | =item exp <number> |
|
|
489 | |
|
|
490 | The experience points the player get for reading this book. |
|
|
491 | |
|
|
492 | =item subtype <readable subtype> |
|
|
493 | |
|
|
494 | This field determines the type of the readable. |
|
|
495 | Please see common/readable.C in the readable_message_types table. |
452 | |
496 | |
453 | =back |
497 | =back |
454 | |
498 | |
455 | =head3 WEAPON - type 15 - Weapons |
499 | =head3 WEAPON - type 15 - Weapons |
456 | |
500 | |