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

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Firedancer
Grandmaster Poster
Posts: 104
Joined: Fri Feb 03, 2006 6:32 am

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

Post 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?
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

I believe there was something about that being reserved for multis.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

From main itemdesc.cfg file in \pol\config for POL 95

Code: Select all

/////////////////////////////////////////////////////////////////////////////
//              ObjTypes 0x4000 - 0x4FFF - Reserved for Multis             //
/////////////////////////////////////////////////////////////////////////////
Firedancer
Grandmaster Poster
Posts: 104
Joined: Fri Feb 03, 2006 6:32 am

Post 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?
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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
Post Reply