set_untouched_desc

lima-1.0b5/lib/help/wizard/coding/objects/set_untouched_desc · 442 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents




Untouched Descriptions

You want a unique description for when you
object hasn't been touched yet. Once a 
player has touched your object this 
description will no longer be used, then
set_in_room_description() will be. For this 
put the following function in your objects 
create():

   set_untouched_desc("$N is half buried in the sand.")

$N is the objects id.  Please see the help on
the messages module for more on how that works.


Site Stats

Snippets: 1791
Codebases: 571