SRL Archive - Senior Scripts and Snippets

Components


Boreas

2007-09-07 16:27:41

Subject to change

ItemProfile:
Contains identifying info about an item. Scripter only loads up the ones needed for that script. Can be created automatically by looking at a slot. Named so that you can do Withdraw('9 iron').

Slots:
Inv/Bank/Shop/Trade all have slots. They are lined up and in fixed positions. Global arrays for these so coords only need to be updated in one place.

Outlines:
They stay constant color and constant shape within item families (ie runes).

Player array:
Keep track of which item and how may is in each slot (for inv and bank). Might make it available after runtime.