This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
arch:arch_attributes:n [2018/04/12 09:05] karl Cleanup, split Arch and object.h variales |
arch:arch_attributes:n [2018/04/12 16:11] karl Cleanup, split Arch and object.h variables, add the no_* attributes |
||
---|---|---|---|
Line 9: | Line 9: | ||
Type: const char * (shared string) | Type: const char * (shared string) | ||
- | Meaning: The name of the object, obviously... | + | Comment: The name of the object, obviously... |
+ | |||
+ | Meaning: name <some name> is displayed in the different windows of the client. For floors it prints the name of that arch in the "look" pane. \\ | ||
+ | Goldfloors can have set <some name> to something like <pay 2000 diamonds> , so it does not need a magic_mouth archetype additionally. | ||
==== name_pl ==== | ==== name_pl ==== | ||
Type: const char * (shared string) | Type: const char * (shared string) | ||
- | Meaning: The plural name of the object. Shared string. | + | Comment: The plural name of the object. |
- | ==== no_save ==== | + | Meaning: Shared string. |
+ | |||
+ | ==== no_* ==== | ||
+ | |||
+ | === no_attack === | ||
+ | === no_drop === | ||
+ | === no_magic === | ||
+ | === no_pick === | ||
+ | |||
+ | === no_save === | ||
Type: uint8 | Type: uint8 | ||
- | Meaning: | + | Comment: |
+ | |||
+ | Meaning: Not included anymore ? | ||
+ | |||
+ | === no_steal === | ||
+ | === no_strength === | ||
==== nrof ==== | ==== nrof ==== | ||
Type: uint32 | Type: uint32 | ||
+ | |||
+ | Comment: How many of the objects | ||
Meaning: | Meaning: | ||
- | |||
---- | ---- | ||
Line 37: | Line 55: | ||
Type: obj * | Type: obj * | ||
- | Meaning: | + | Comment: Pointer to the next object in the free / used list. |
- | * pointer to the next object in the free/used list. Should not be used much. | + | |
+ | Meaning: Should not be used much. | ||
- | FIXME check ''server/c_object.c:840'', line ''for (tmp=op->below; tmp!=NULL; tmp=tmp->next)'' \\ sounds suspicious (should probably be ''tmp->below''). | + | FIXME check ''server/c_object.c:840'', \\ |
+ | line ''for (tmp=op->below; tmp!=NULL; tmp=tmp->next)'' \\ | ||
+ | sounds suspicious (should probably be ''tmp->below''). | ||