Main      Site Guide    

Smash Tutorial

Sample Adventure: The Trainer

The "objects.txt" File


This file contains a list of all the possible inventory items in the game (other than enumerated inventory items, which go in eobjects.txt, but The Trainer doesn't have any). Each line consists of the object tag (which is how the object is referred to in the Smash code), a | symbol, and the human-readable version of the object that will be displayed in the inventory list.

The order doesn't matter except that this is the order the objects will be displayed in in the inventory list.


coin|Coin
sword|Sword
axe|Battle Axe
key|Key
rope|Rope
rock|Rock


Back to the Smash Tutorial Sample Adventure: The Trainer.
Back to the Smash Tutorial.