Re: Installing Item and Level Limits (question)

From: Hades (
Date: 05/08/96

> What whole chunk of code?  1 variable to the object, a quick check in
> perform_wear, and code to load the variable defined in the obj file...
> what spec_proc's would you put in place of that?  Clearly going ahead and
> coding full level restrictions would be easiest....

Well IN HIS EXAMPLE, if he only needed it on a few objects... and you place
an int (2 bytes) in the obj memory struct, and you have 3k objects like my
mud does... then that's a waste of 6k of mrmory. Sure, that doesnt sound
like a lot, but if you do this 4 or 5 times (adding things globally for onyl
a few items which need it) you are gonna get into a LOT of wasted memory.

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