nimetu / ryzom_extra

Extra files for Ryzom API
GNU Lesser General Public License v3.0
10 stars 5 forks source link

craftplan.serial enhancement. #1

Closed ghost closed 15 years ago

ghost commented 15 years ago

Hi nimetu!

Is it possible to get inside the craftplan.serial, the kind of plan ? like "Armor", "Shield" etc... matching with the constants provided in ryzom_extra.php : // Record type - ['type'] const TYPE_ARMOR = 0x02; const TYPE_MELEE = 0x03; const TYPE_RANGE = 0x04; const TYPE_AMMO = 0x05; const TYPE_SHIELD = 0x07; const TYPE_TOOLS = 0x08; const TYPE_PICK = 0x09; const TYPE_JEWEL = 0x0f;

That would be nice for filtering purpose :)

nimetu commented 15 years ago

added the itemtype field instead. if you need TYPE* constants, then small translator function can do it easily.

ghost commented 15 years ago

That's perfect ! Thanks a lot!