arch:arch_attributes:o
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arch:arch_attributes:o [2018/04/12 09:09] – Cleanup, split Arch and object.h variales karl | arch:arch_attributes:o [2025/04/18 13:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== on_use_yield ==== | ==== on_use_yield ==== | ||
- | Should be the name of an archetype. | + | Should be the name of an archetype. When containing object is applied, |
- | When containing object is applied, this specific object is generated, and inserted at the same place as the containing object. \\ | + | this specific object is generated, and inserted at the same place as the containing object. \\ |
Used mostly for giving empty bottles when drinking stuff. | Used mostly for giving empty bottles when drinking stuff. | ||
- | |||
==== other_arch ==== | ==== other_arch ==== | ||
Type: archt * | Type: archt * | ||
- | Meaning: | + | Comment: Pointer used for various things - mostly used for what this objects turns into or what this object creates |
+ | Meaning: | ||
---- | ---- | ||
Line 26: | Line 26: | ||
==== owner ==== | ==== owner ==== | ||
Type: obj * | Type: obj * | ||
+ | |||
+ | Comment: Pointer to the object which controls this one. Owner should not be referred to directly - object_get_owner() should be used instead. | ||
Meaning: | Meaning: | ||
Line 31: | Line 33: | ||
==== ownercount ==== | ==== ownercount ==== | ||
Type: tag_t | Type: tag_t | ||
+ | |||
+ | Comment: What count the owner had (in case owner has been freed) | ||
Meaning: | Meaning: | ||
Line 37: | Line 41: | ||
Type: sint16 | Type: sint16 | ||
- | Meaning: For debugging: Where it was last inserted | + | Comment: For debugging: Where it was last inserted |
+ | |||
+ | Meaning: | ||
==== oy ==== | ==== oy ==== | ||
Type: sint16 | Type: sint16 | ||
- | Meaning: For debugging: Where it was last inserted | + | Comment: For debugging: Where it was last inserted |
+ | Meaning: |
arch/arch_attributes/o.1523542151.txt.gz · Last modified: (external edit)