User Tools

Site Tools


arch:arch_attributes:s

This is an old revision of the document!


Arch Object attributes S

Object attributes beginning with the letter s .

Taken from the (unsorted) wholepage Object Fields .

List

skill

Type: const char * (shared string)

Meaning: Name of the skill this object uses / grants.

slaying

Type: const char * (shared string)

Meaning:

  • which race to do double damage to.
  • for EXITs, this is the filename. !/ means 'random map', message 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

smoothlevel

Type: uint8

Meaning:

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

Meaning:

speed_left

Type: float

Meaning:

spell

Type: obj *

Meaning:

spellarg

Type: char *

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

spell_expiry_warn_1

spell_expiry_warn_2

spellitem

Type: obj *

Meaning:

start_holding

Type: uint16

Meaning:

state

Type: uint8

Meaning:

stats

Type: living

Meaning:

Str

Type: sint8

Meaning:

subtype

Type: uint8

Meaning:

arch/arch_attributes/s.1523477011.txt.gz · Last modified: 2018/04/11 15:03 by karl