Difference between revisions of "Riven CARD resources"
From A look inside The Link @ wiki
(import) |
m (fixes) |
||
Line 1: | Line 1: | ||
<noinclude>{{Riven}}</noinclude> | <noinclude>{{Riven}}</noinclude> | ||
− | CARD resources describe general properties of cards and associate a command script to each card. | + | 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. |
+ | |||
{| class="structure" | {| class="structure" | ||
|short||name_rec||class="comment"|If ≥ 0, record index in [[Riven NAME resources|NAME]] resource 1 to provide a name for the card | |short||name_rec||class="comment"|If ≥ 0, record index in [[Riven NAME resources|NAME]] resource 1 to provide a name for the card |
Revision as of 20:54, 9 February 2008
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.