Info needed regards object gfx numbers
Posted: Mon Aug 18, 2014 6:47 pm
Quick question: I notice every object in the game has a gfx item number (scrolls, keys, weapons etc). I assume the numbers are used by the game to catalogue/reference each item in the database. How does this work? What I mean is, if you clone an object and call it something else (ie clone "dagger" to create a" super-dagger" for example), surely both will have the same gfx number? What If you create a new object (defineObject) in Items.lua or elsewhere: do you have to give it a unique number or will the program automatically create one for it, or can you use an existing item number from an object that is similar? If you need to give it a unique number, what does the allowable range of numbers go up to? Any help appreciated..Thanks guys.