Quote:
Originally posted by Shard_IceFire
=/ I still don't get why you would need them...
|
say you have prices for different apples
you could do this:
this.appleprices={30,40,50,50}
then call it like this:
players[0].rupees-=this.appleprices[this.appletype];
which would be far more efficient than
having variables for each apple price and
would be easy to customize if you had at
the beginning of a script