User Tools

Site Tools


arch:arch_attributes:s

Arch Object attributes S

Object attributes beginning with the letter s .

Partly taken from the (unsorted) wholepage Object Fields .

List of attributes

skill

Type: const char * (shared string)

Comment: Name of the skill this object uses / grants

Meaning:

slaying

Type: const char * (shared string)

Comment: Which race to do double damage to. If this is an exit, this is the filename.

Meaning:

  • !/ /! means 'random map', msg-endmsg block then contains parameters.
  • for DOORs, means it's locked.
  • for KEYs, they will unlock DOORs with matching slaying
  • for DETECTOR, what item to check for

FIXME many more uses

sleep

Type:

Meaning:

smoothlevel

Type: uint8

Comment: how to smooth this square around

Meaning:

sound_chance

Type: sint8

Comment: Probability, 0 to 100, of the object emitting a sound.

Meaning: NEW since when ?

sp

Type: sint16

Meaning:

  • for player, spellpoints.
  • for exits, y coordinates of destination.
  • for glowing crystals, stored spellpoints.
  • for WEAPON_IMPROVER, what to improve
  • for PLAYERMOVER, the direction to move objects

See also maxsp .

speed

Type: float

Comment: The overall speed of this object

Meaning:

speed_left

Type: float

Comment: How much speed is left to spend this round

Meaning:

spell

Type: obj *

Comment: Spell that was being cast

Meaning:

spellarg

Type: char *

Comment: No comment available

Meaning:

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 parse-able via atoi().

spell_expiry_warn_1

spell_expiry_warn_2

spellitem

Type: obj *

Comment: Spell ability monster is choosing to use

Meaning:

start_holding

Type: uint16

Comment:

Meaning: Not included anymore ?

state

Type: uint8

Comment: How the object was last drawn (animation)

Meaning:

stats

Type: living

Comment: Str, Con, Dex, etc

Meaning:

Str

Type: sint8

Meaning:

subtype

Type: uint8

Comment: Subtype of object

Meaning:

arch/arch_attributes/s.txt · Last modified: 2018/04/13 02:58 by karl