bluebox.c
ds2.10/lib/domains/campus/obj/bluebox.c · 750 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
/* /domains/Examples/etc/bag.c
* from the Dead Souls LPC Library
* a sample bag object
* created by Descartes of Borg 950529
*/
#include <lib.h>
inherit LIB_STORAGE;
void create() {
::create();
SetKeyName("bluebox");
SetId( ({ "box","bluebox", "bbox" }) );
SetAdjectives( ({ "small", "plastic","blue", "a" }) );
SetShort("a small, %^BLUE%^blue%^RESET%^ plastic box");
SetLong("It is a simple plastic box used to hold things. It is %^BLUE%^blue%^RESET%^, and it has a cute Virtual Campus "+
"logo on it.");
SetMass(274);
SetDollarCost(1);
SetMaxCarry(100);
SetCanClose(1);
SetClosed(0);
// SetPreventPut("You cannot put this in there!");
}
void init(){
::init();
}