View Single Post
  #5  
Old 12-07-2010, 07:55 PM
Sage_Shadowbane Sage_Shadowbane is offline
Graal Developer
Sage_Shadowbane's Avatar
Join Date: Mar 2004
Posts: 585
Sage_Shadowbane will become famous soon enough
Quote:
Originally Posted by xAndrewx View Post
ah hmm you don't wanna do a quantity/stock in a flag to cross reference =p

If I were you, I would make a script which would automatically generate a bunch of items from a list of vars, and then have the ID different to each one
something similar to this:

http://forums.graalonline.com/forums...ad.php?t=78506

As an example, I would name an item something like

Pirates_Flare_Blade_of_Darkness
Rogues_Spider_Fang_of_Nature

Then base your items around there. I would automatically have each item type defined =[
You can also make your own weapons, if you want personal items.
Why not? I've done a name/quantity check already with my inventory and it works perfectly fine. o.O And in regards to that thread, I dunno.. I'm not that advanced of a scripter, I can barely even understand Chompy's scripts. XD I wanna do it this way because it's probably the only way I'll understand it atm, and it's easiest for me to manage.
Reply With Quote