This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
arch:arch_attributes:e [2018/04/12 07:22] karl Cleanup, split Arch and object.h variales |
arch:arch_attributes:e [2018/04/12 10:52] (current) karl Add all the "enhancements" from recent object_types page |
||
---|---|---|---|
Line 2: | Line 2: | ||
Object attributes beginning with the letter **e** . | Object attributes beginning with the letter **e** . | ||
- | Taken from the (unsorted) wholepage [[:dev:Object Fields]] . | + | Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] . |
- | ===== List == | + | ===== List of attributes == |
==== elevation ==== | ==== elevation ==== | ||
Type: sint32 | Type: sint32 | ||
- | Meaning: | + | Comment: Elevation of this terrain - used in weather code |
+ | |||
+ | Meaning: [[:dev:Weather]] was removed shortly after the release 1.11 of the [[:server]] . | ||
==== end == | ==== end == | ||
+ | Meaning: Ends the block of an archetype. \\ | ||
+ | Example : <code> | ||
+ | arch yet_another_archetype | ||
+ | has_some_attribute attribute_value | ||
+ | end | ||
+ | </code> | ||
+ | See also [[a#arch]] . | ||
==== endmsg == | ==== endmsg == | ||
+ | Meaning: Ends the block of a message that is displayed to the player. \\ | ||
+ | Example: <code> | ||
+ | arch magic_mouth | ||
+ | x 1 | ||
+ | y 1 | ||
+ | msg | ||
+ | Hello Dungeon ! | ||
+ | endmsg | ||
+ | end | ||
+ | </code> | ||
+ | See also [[m#msg]] | ||
==== exp ==== | ==== exp ==== | ||
Line 19: | Line 39: | ||
Meaning: | Meaning: | ||
+ | * experience points to give to the player when defeating the monster | ||
* added speed for some items? | * added speed for some items? | ||
- | |||
- | |||
- | ==== expmul ==== | ||
- | Type: double | ||
- | |||
- | Meaning: | ||
Line 34: | Line 49: | ||
Read more on the [[:dev:object_fields]] page. | Read more on the [[:dev:object_fields]] page. | ||
+ | |||
==== enemy ==== | ==== enemy ==== | ||
Type: obj * | Type: obj * | ||
- | Meaning: | + | Comment: Monster/player to follow even if not closest |
+ | Meaning | ||
==== env ==== | ==== env ==== | ||
Type: obj * | Type: obj * | ||
- | Meaning: Pointer to the object which is the environment. This is typically the container that the object is in. | + | Comment: Pointer to the object which is the environment. This is typically the container that the object is in. |
+ | Meaning: | ||
+ | |||
+ | |||
+ | ==== expmul ==== | ||
+ | Type: double | ||
+ | |||
+ | Comment: needed experience = (calc_exp*expmul) - means some races/classes can need less/more exp to gain levels | ||
+ | |||
+ | Meaning: | ||