When adding a new item_type that requires the use of obj->value[x], where do
you modify (or add) the code to allow the use of the value fields for the
new item?  I've scoured the code in search of the answer and have come up
empty-handed.  There's lots of examples in the code with regards to using
(and checking) the values, but I need to know how to assign v0 and v1 to a
specific object type.

For example, if you create an item_type called "car", where in the code do
you set it so that v0 will represent the maximum amount of gas the tank can
hold, and be able to modify that value via OLC?

Some light-shedding on this would be appreciated.

TIA

~Jesse


Reply via email to