User Tools

Site Tools


arch:arch_attributes:s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
arch:arch_attributes:s [2018/04/11 16:34]
karl [slaying] Add sleep
arch:arch_attributes:s [2018/04/13 02:58] (current)
karl Add all the "enhancements" from recent object_types page
Line 2: Line 2:
 Object attributes beginning with the letter **s** . Object attributes beginning with the letter **s** .
  
-Taken from the (unsorted) wholepage [[:​dev:​Object Fields]] .+Partly taken from the (unsorted) wholepage [[:​dev:​Object Fields]] .
  
-===== List ==+===== List of attributes ​==
  
 ==== skill ==== ==== skill ====
 Type: const char * (shared string) Type: const char * (shared string)
  
-Meaning: Name of the skill this object uses / grants.+Comment: Name of the skill this object uses / grants
  
 +Meaning:
  
 ==== slaying ==== ==== slaying ====
 Type: const char * (shared string) Type: const char * (shared string)
 +
 +Comment: Which race to do double damage to. If this is an exit, this is the filename.
  
 Meaning: Meaning:
-  * which race to do double damage to. +  * <​del>​**!/**</​del>​ **/​!** ​means '​random map', ​msg-endmsg block then contains parameters.
-  ​for EXITs, this is the filename. ​!/ means '​random map', ​message ​then contains parameters.+
   * for DOORs, means it's locked.   * for DOORs, means it's locked.
   * for KEYs, they will unlock DOORs with matching slaying   * for KEYs, they will unlock DOORs with matching slaying
   * for DETECTOR, what item to check for   * for DETECTOR, what item to check for
 +
 FIXME many more uses FIXME many more uses
  
Line 27: Line 30:
  
 Meaning: Meaning:
 +
 ==== smoothlevel ==== ==== smoothlevel ====
 Type: uint8 Type: uint8
 +
 +Comment: how to smooth this square around
  
 Meaning: Meaning:
 +
 +==== sound_chance ====
 +Type: sint8
 +
 +Comment: Probability,​ 0 to 100, of the object emitting a sound.
 +
 +Meaning: NEW since when ?
  
 ==== sp ==== ==== sp ====
Line 46: Line 59:
 ==== speed ==== ==== speed ====
 Type: float Type: float
 +
 +Comment: The overall speed of this object
  
 Meaning: Meaning:
Line 51: Line 66:
 ==== speed_left ==== ==== speed_left ====
 Type: float Type: float
 +
 +Comment: How much speed is left to spend this round
  
 Meaning: Meaning:
Line 56: Line 73:
 ==== spell ==== ==== spell ====
 Type: obj * Type: obj *
 +
 +Comment: Spell that was being cast
  
 Meaning: Meaning:
Line 61: Line 80:
 ==== spellarg ==== ==== spellarg ====
 Type: char * Type: char *
 +
 +Comment: No comment available
  
 Meaning: Meaning:
  
-====spell_expiry_warn_* ==+==== spell_expiry_warn_* ==
  
-Those are used by spell effects, to store when player should be warned of effect expiration. Player will get a message when spell'​s duration reaches the first value, then the second. Will be set by the code automatically,​ should be a number ​parsable ​via atoi().+Those are used by spell effects, to store when player should be warned of effect expiration. Player will get a message when spell'​s duration reaches the first value, then the second. Will be set by the code automatically,​ should be a number ​parse-able ​via atoi().
  
 === spell_expiry_warn_1 === === spell_expiry_warn_1 ===
 === spell_expiry_warn_2 === === spell_expiry_warn_2 ===
- 
  
 ==== spellitem ==== ==== spellitem ====
 Type: obj * Type: obj *
 +
 +Comment: Spell ability monster is choosing to use
  
 Meaning: Meaning:
- 
  
 ==== start_holding ==== ==== start_holding ====
 Type: uint16 Type: uint16
  
-Meaning:+Comment: 
 + 
 +Meaning: ​Not included anymore ?
  
  
 ==== state ==== ==== state ====
 Type: uint8 Type: uint8
 +
 +Comment: How the object was last drawn (animation)
  
 Meaning: Meaning:
Line 91: Line 116:
 ==== stats ==== ==== stats ====
 Type: living Type: living
 +
 +Comment: Str, Con, Dex, etc
  
 Meaning: Meaning:
Line 99: Line 126:
  
 Meaning: Meaning:
- 
  
 ==== subtype ==== ==== subtype ====
 Type: uint8 Type: uint8
 +
 +Comment: Subtype of object
  
 Meaning: Meaning:
 +
  
arch/arch_attributes/s.1523482467.txt.gz · Last modified: 2018/04/11 16:34 by karl