
05-02-2011, 03:23 PM
|
|
team canada
|
 |
Join Date: Jul 2004
Location: Canada
Posts: 5,200
|
|
|
This thread is basically a request for an item system.
Basic Item System:
1. Create a DB to hold the item information.
2. Use clientr.flags to store the item information on the player for quick client-side read access.
3. Also use clientr.flags to store the item, it's identifier, and the quantity.
You can use the clientr.flags to display the items in an inventory and throughout other GUIs.
You could also make a GUI for adding items to the DB.
Unfortunately I believe this is beyond your skill level, and a problem that should be broken in to chunks and addressed-per-issue. I may (other experienced scripters are welcome as well) post a basic system with expandability in mind, since this is a pretty common system people like to implement.
I would recommend searching the NPC Scripting forums for 'Item System' and 'MUDLib' and reading the problems and solutions of the past. |
|
|
|