Re: Object memory structure

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 05/24/98

On Sun, 24 May 1998, Chuck Carson wrote:

->I was wondering why not all the values in the obj_flag_data
->are not also stored in the obj_file_elem such as the item
->type and the wear flags? We have added several new values
->such as the items level, volume, material, condition, and
->classifications, I do need to add these to obj_file_elem
->do I not?

No, you don't.  obj_file_elem is for the rent files (the comment right
above the structure will tell you that).  All it does is save values
which may have been changed for that particular instance of the
object.  For instance, the condition of the object should be added
there.  This is so that a player can't have a broken sword, quit/rent,
and return with a mint condition blade.  OTOH, the material of the
object is not likely to change, nor is the classification.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST