Esempio n. 1
0
File: wall.c Progetto: Elohim/FGmud
static void create() {
    dummy::create();
    SetKeyName("wall");
    SetId("wall");
    SetAdjectives("bedroom");
    SetShort("a bedroom wall");
    SetLong("It is a typical, if ornate, bedroom wall, with a painting on it.");
    SetItems( ([
                ({"painting","beautiful painting"}) :  (: ShowDali :),
Esempio n. 2
0
static void create() {
    dummy::create();
    SetKeyName("button b");
    SetId("b","button","two","B", "button B");
    SetAdjectives("b", "elevator","button","basement","B");
    SetShort("a button");
    SetLong("It is a button that you could probably press. The letter \"B\" " 
      "is printed on it.");
    SetPress((: openDoor :));
}
Esempio n. 3
0
File: bench.c Progetto: Elohim/FGmud
static void create() {
    chair::create();
    SetKeyName("bench");
    SetId("bench");
    SetAdjectives("wooden");
    SetShort("a wooden bench");
    SetLong("This is a typical wooden bench, the sort you might "+
            "see in a park. It appears designed for sitting on.");
    SetMass(1500);
    SetDollarCost(15);
    SetMaxSitters(3);
}
Esempio n. 4
0
static void create() {
    item::create();

    SetKeyName("portal");
    SetId("portal");
    SetAdjectives("pulsating", "shimmering");
    SetShort("%^YELLOW%^a shimmering portal%^RESET%^");
    SetLong((: eventShowPortal :));
    SetPreventGet("The portal is pure magic and lacks substance.");
    SetPreventPut("The portal is pure magic and lacks substabce.");
    SetMass(0);
    SetValue(0);
}
Esempio n. 5
0
File: stick.c Progetto: Elohim/FGmud
static void create() {
    item::create();
    SetKeyName("stick");
    SetId("stick");
    SetAdjectives("wooden");
    SetShort("a wooden stick");
    SetLong("A wooden stick which looks like it might once have been used "
            "as a walking stick, or perhaps as a poor person's club.");
    SetMass(30);
    SetValue(10);
    SetVendorType(VT_WEAPON);
    SetClass(10);
    SetDamageType(BLUNT);
    SetWeaponType("blunt");
}
Esempio n. 6
0
File: clerk.c Progetto: Elohim/FGmud
void create(){
    ::create();
    SetKeyName("clerk");
    SetId("clerk");
    SetAdjectives("town");
    SetGender("male");
    SetRace("human");
    SetShort("the town clerk");
    SetLong("An officious-looking clerk."); 
    SetLocalCurrency("silver");
    SetClass("priest");
    AddCommandResponse("marry", (: MarriageRequest :));
    AddCommandResponse("wed", (: MarriageRequest :));
    AddCommandResponse("join", (: MarriageRequest :));
    AddCommandResponse("divorce", (: eventRequestDivorce :));
    SetLevel(4);
    SetTax(5);
}