The Dink Network

Reply to Re: More trouble than it's worth.

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 17th 2009, 04:59 PM
burntree.gif
Fireball5
Peasant He/Him Australia
Let me heat that up for you... 
With what you're doing, you could just use local variables, no need to waste globals if only a chest script needs them, though you would still need at least one global.

You could do something similar to what they do to store strings in integers, you could encode the information in a global variable and have a script that decodes it to tell you how many of each item is in the chest.

Something as simple as a number where each digit represents an item, having a maximum value of 9.

e.g:

3925310 could mean "three elixers, nine apples, two letters, five alk nuts, three claw swords, one light sword, no bows"