mud/lib/domains/campus/obj/tlocker.c
2020-09-06 05:43:07 -07:00

38 lines
993 B
C

/* /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("locker");
SetId(({"locker"}));
SetAdjectives(({"metal","tall","school"}));
SetShort("a tall metal locker");
SetLong("This is a large school locker, the kind one might find in any of "+
"thousands of schools around the world.");
SetMass(3000);
SetDollarCost(50);
SetMaxCarry(500);
SetInventory(([
"/domains/campus/obj/bag": 1,
"/domains/campus/obj/9mmclip": 1,
"/domains/campus/weap/waterpistol" : 1,
"/domains/campus/obj/223clip": 1
]));
SetCanClose(1);
SetClosed(0);
SetCanLock(1);
SetLocked(0);
SetKey("locker_key_1");
}
mixed CanGet(object ob) { return "The locker does not budge.";}
void init(){
::init();
}