Page 1 of 1

itemdesc question: what's the id-range 0x4000 to 0x4fff for?

Posted: Fri Aug 18, 2006 1:45 pm
by Firedancer
this is a question purely out of curiosity.....

to quote the manual:
Explanation
Note: if objtype < 0x4000, the 'graphic' property is not required, it is assumed objtype=graphic in this case.
Valid ranges for custom items are 0x5000-0xEFFF (0xF000-0xFFFF reserved by core)
Properties having to do with equipping an item is only meaningful if the item is actualy equippable (determined by the graphic number's tiledata flags).
Item Create, Destroy, and Control scripts are in pkg format or in scripts/control. Method scripts must be packaged.
Container scripts are in pkg format, or in scripts/control
RequiresAttention 1 causes container gumps to close when you move, or to unhide you if the item is used.
StackingIgnoresCProps is a space-delimited list of case-sensative CProp names that are ignored when stacking 2 of this item objtype. See also stacking.cfg for a global list.
ok.. so
0x0001 - 0x3fff .... graphic = item
0x4000 - 0x4fff .... ???????
0x5000 - 0xefff ..... custom items
0xf000 - 0xffff ..... system items

so what's about the range 0x4000 - 0x4fff?
While the system item id range can be used for items (just shouldn't!), if you difine an item in the 0x4*** range, it won't work at all... so i wonder, what's the reason for this? What's the secret of this id-range?

Posted: Fri Aug 18, 2006 1:46 pm
by Yukiko
I believe there was something about that being reserved for multis.

Posted: Fri Aug 18, 2006 1:48 pm
by Yukiko
From main itemdesc.cfg file in \pol\config for POL 95

Code: Select all

/////////////////////////////////////////////////////////////////////////////
//              ObjTypes 0x4000 - 0x4FFF - Reserved for Multis             //
/////////////////////////////////////////////////////////////////////////////

Posted: Fri Aug 18, 2006 1:48 pm
by Firedancer
Yukiko wrote:I believe there was something about that being reserved for multis.
hmm I don't use multi's ... so that might quite be it. does the client intervene here? or is this pol specific?

Posted: Fri Aug 18, 2006 1:50 pm
by Yukiko
Since it is in the POL itemdesc I assume it's a POL specific thingt but not sure. I know we are not supposed to use item numbers below 0x4000 due to those being the graphic numbers from the art tile mul .

See my post above your reply. You are too fast for me today