Re: [NEWBIE] Numbers of objects and mobs

From: George (greerga@CIRCLEMUD.ORG)
Date: 11/03/98


On Tue, 3 Nov 1998, Jason Asser wrote:

>> A prototype is just that.  Everyone runs around with a copy of the
>> prototype.  (Overly simplified explanation, things like the strings
>> aren't.)
>>
>
>So, is there anyway to change the short descript/name of 1 specific
>instance of an item without modifying the prototype and affecting all of
>the other items of the same type?

str_dup()

But that won't save past a reboot.  You'll have to do more interesting
changes to obj_file_elem to achieve that.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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