GDF3 File and Data Specifications for GCA4
Root FileSpec Page
GCA Site
Home | Docs & Help Page

System Variables & Keywords

At various times, GCA will recognize certain special system variables or keywords that may be referenced by items or directives. In most cases, these system variables will only work in a limited number of places.

Contents

%AddedItemsList%
%count
%level
prereq


 

%AddedItemsList%

Description:

This is a variable available only when an item has used adds() or creates() to add items to the character. Once the item with the adds() or creates() tags has completed the process of adding or creating all such items, this variable can be referenced by certain directives. The list of names created to replace this variable is based on *all* items added or created, and includes prefix tags for those items.


 

%count

Description:

This is a variable available only to certain math-enabled tags, such as gives(), which allows an item to reference it's own count value. In math operations, the value will be substituted for the variable.


 

%level

Description:

This is a variable available only to certain math-enabled tags, such as gives(), which allows an item to reference it's own level value. In math operations, the value will be substituted for the variable.


 

Prereq

Description:

This is a keyword available in certain math-enabled tags, such as upto(), and in default(), which allows an item to reference it's own prerequisite items (as defined in the needs() tag). In math tags, it will result in the highest possible value, based on the current value of all prereq items, being used in the math expression. In default(), it will allow for the highest possible default based on the prereq items.


This document last updated July 25, 2007. Copyright © 2004, 2007 Armin D. Sykes. All rights reserved.