Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-23-2008, 01:25 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
classes and databases

so, I'm using classes as storing my item data

However, once I update the class i am getting a list of all the items in the database, not just in that one class... is there any way to pull just a list of the variables for that one class?

HTML Code:
  this.item_Not_Hiring = {
    {"controller", "+Signs"},
    {"displayname", "Not Hiring"},
    {"icon", "nothirings_sign.png"},
    {"weight", {0.0,0.0}}
  };
In one class, and in another
HTML Code:
  this.item_Yellow_Mum = {
    {"displayname", "Yellow Mum"},
    {"icon", "era_flower-1_1a.png"},
    {"weight", {0.10,0.01}}
  };
If you don't understand, I'll explain more. thanks
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.