Myself, digdug, PKodon, Avan, and others were just discussing replacing the static unid tables with string hashtables in the engine, so that we don't have to hand handle lots of long hex numbers all the time. Hash lookups are likely fast enough at this point to be a viable alternative, and well-made libraries are plentiful.
Here's what I'm envisioning:
Code: Select all
<ItemType type="wvr/mod/itBlah"> (this is my mod)
<ItemType type="avan_tsb_itRDNGun"> (overwrite something in tsb)
<ItemType type="guy/itSomething"> (for someone who doesn't care about specifying mods)
<ItemType type="grm/core/itSomeItem"> (overwrite something in the core game)
<ItemType type="grm/a1/itFruit">
I considered adding a <TranscendenceExtension ... namespace="/wvr/mod"> sort of declaration but it seemed better to have full disclosure in each item id created. A namespace like this could be used to do some checking, though.