… | |
… | |
33 | This document does explain the behaviour of the objects and the meaning of |
33 | This document does explain the behaviour of the objects and the meaning of |
34 | their fields in the server engine, which are derived from archetypes. |
34 | their fields in the server engine, which are derived from archetypes. |
35 | |
35 | |
36 | This is an example of an archetype: |
36 | This is an example of an archetype: |
37 | |
37 | |
38 | Object button_trigger |
38 | object button_trigger |
39 | name button |
39 | name button |
40 | type 30 |
40 | type 30 |
41 | face button_sma.111 |
41 | face button_sma.111 |
42 | anim |
42 | anim |
43 | button_sma.111 |
43 | button_sma.x11 |
44 | button_sma.112 |
44 | button_sma.x12 |
45 | mina |
45 | mina |
46 | is_animated 0 |
46 | is_animated 0 |
47 | exp 30 |
47 | exp 30 |
48 | no_pick 1 |
48 | no_pick 1 |
49 | walk_on 1 |
49 | walk_on 1 |
… | |
… | |
329 | |
329 | |
330 | This flag indicates whether a B<LIGHTER> can light this object. See also the |
330 | This flag indicates whether a B<LIGHTER> can light this object. See also the |
331 | description of the B<LIGHTER> type. How easy you can light an item depends |
331 | description of the B<LIGHTER> type. How easy you can light an item depends |
332 | partially on the material of the object. |
332 | partially on the material of the object. |
333 | |
333 | |
|
|
334 | =item FLAG_MONSTER |
|
|
335 | |
|
|
336 | Enables NPC behaviour in general (both monster AI and friendly AI). Numerous fields |
|
|
337 | change their meaning, including: |
|
|
338 | |
|
|
339 | =over 4 |
|
|
340 | |
|
|
341 | =item I<wis> |
|
|
342 | |
|
|
343 | Governs the "wake-up radius" - the radius within a monster detects an enemy. |
|
|
344 | |
|
|
345 | Also, I<wis> governs pathfinding intelligence: 8 and up means the monster |
|
|
346 | will partake in basic smell finding. 10 and up additionally spreads smell |
|
|
347 | knowledge, and 15 and up additionally will try to perturb the path as to |
|
|
348 | find shortcuts. |
|
|
349 | |
|
|
350 | =back |
|
|
351 | |
334 | =back |
352 | =back |
335 | |
353 | |
336 | =head2 Description of type specific fields and behaviour |
354 | =head2 Description of type specific fields and behaviour |
337 | |
355 | |
338 | The beginning of the headers of the following subsection |
356 | The beginning of the headers of the following subsection |
… | |
… | |
498 | |
516 | |
499 | =back |
517 | =back |
500 | |
518 | |
501 | =back |
519 | =back |
502 | |
520 | |
503 | =head3 B<FOOD> - type 6 - Eatable stuff |
521 | =head3 B<FOOD> - type 6 - Edible stuff |
504 | |
522 | |
505 | This is for objects that are representing general eatables like |
523 | This is for objects that are representing general eatables like |
506 | beef or bread. |
524 | beef or bread. |
507 | |
525 | |
508 | The main difference between B<FOOD>, B<FLESH> and B<DRINK> is that they |
526 | The main difference between B<FOOD>, B<FLESH> and B<DRINK> is that they |