Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [DFHack] easiest way to get item type index?  (Read 610 times)

Raidau

  • Bay Watcher
    • View Profile
[DFHack] easiest way to get item type index?
« on: January 18, 2015, 10:58:01 am »

Can someone answer this little question? A lot of functions (for example dfhack.items.getSubtypeCount(item_type)) accept item type as integer.

What is the most convenient way to convert item type to integer?
Logged
Marital status manipulator
Custom item descriprions
Natural Balance Mod (2013-2015) development suspended...