Riven CARD resources

From A look inside The Link @ wiki
Revision as of 20:56, 9 February 2008 by TitoDalCanton (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Riven
Mohawk Overview
BLST CARD FLST HSPT
MLST NAME PLST RMAP
SFXE SLST tBMP tMOV
tWAV VARS VERS ZIPS
Scripts Variables
External commands

CARD resources describe general properties of cards and associate a command script to each card. There is one CARD resource for each card, and its ID matches the card ID.

short name_rec If ≥ 0, record index in NAME resource 1 to provide a name for the card
unsigned short zip_mode_place
variable size script

zip_mode_place is usually 0; it's 1 when the card name is one of the special names used in ZIPS records. I think that if zip_mode_place = 1 then Riven stores the card name and ID in a new ZIPS record when the card is accessed, so that the place will be accessible using Zip Mode later.

For info on the attached script see the scripts section.