#include <lib.h>
inherit LIB_STORAGE;
void create() {
::create();
SetKeyName("bin");
SetAdjectives( ({"tall", "metal", "javelin","spear"}) );
SetId( ({"javelin bin"}) );
SetShort("a tall metal bin");
SetLong("This tall container is meant to hold javelins.");
SetInventory(([
"/domains/town/weap/javelin" : ({ 60, 10 }),
]));
SetNoCondition(1);
SetCanClose(0);
SetMass(274);
SetBaseCost("silver",1);
SetMaxCarry(3500);
SetNoClean(1);
}
void init(){
::init();
}
mixed CanGet(object ob) { return "The bin does not budge.";}
int CanReceive(object ob) {
if(!answers_to("javelin",ob)) {
write("This is a bin for javelins only.");
return 0;
}
else return 1;
}