register.c

ds2.9a10/lib/domains/campus/obj/register.c · 530 B

From the archive ds2.9a10.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_STORAGE;

void create() {
    ::create();
    SetKeyName("register");
    SetId(({"register","machine"}));
    SetAdjectives(({"cash","metal"}));
    SetShort("a cash register");
    SetLong("This is a metal machine used for cash transactions.");
    SetMass(200);
    SetBaseCost("silver",50);
    SetMaxCarry(10);
    SetPreventPut("You cannot put this in there!");
    SetMoney( ([
        "dollars" : random(200),
      ]) );
    SetCanClose(1);
    SetClosed(1);
}

void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571