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

28 lines
644 B
C

#include <lib.h>
inherit LIB_STORAGE;
void create() {
storage::create();
SetKeyName("cardboard case");
SetAdjectives( ({"small", "cardboard", "357", "ammo"}) );
SetId( ({ "case" }) );
SetShort("a small .357 ammo case");
SetLong("A small cardboard case designed to carry .357 caliber amunition.");
SetMass(10);
SetDollarCost(1);
SetMaxCarry(12);
}
mixed CanReceive(object ob){
if(ob->GetKeyName() != ".357 round") {
tell_object(this_player(),"This cardboard case is for .357 ammunition only.");
return 0;
}
return storage::CanReceive(ob);
}
void init(){
storage::init();
}