29 lines
735 B
C
29 lines
735 B
C
#include <lib.h>
|
|
|
|
inherit LIB_STORAGE;
|
|
|
|
void create() {
|
|
::create();
|
|
SetKeyName("ammunition box");
|
|
SetId(({"can","box"}));
|
|
SetAdjectives(({"metal","ammo","ammunition","large"}));
|
|
SetShort("an ammo box");
|
|
SetLong("This is a large metal box containing various kinds "+
|
|
"of ammunition. ");
|
|
SetMass(200);
|
|
SetDollarCost(50);
|
|
SetMaxCarry(500);
|
|
SetCanClose(1);
|
|
SetClosed(0);
|
|
SetInventory( ([
|
|
"/domains/default/obj/9mmclip": ({ 60, 2 }),
|
|
"/domains/default/obj/223clip": ({ 60, 2 }),
|
|
"/domains/default/weap/grenade": 3,
|
|
]) );
|
|
SetPreventGet("The metal ammunition box does not budge.");
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|