ham_sand.c

ds2.4.1/lib/domains/town/meals/ham_sand.c · 481 B

From the archive ds2.4.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <meal_types.h>

inherit LIB_MEAL;


static void create() {
    meal::create();
    SetKeyName("sandwich");
    SetId(({"sandwich","ham sandwich"}));
    SetShort("a ham sandwich");
    SetLong("This is a large, rather plain ham sandwich.");
    SetMass(10);
    SetStrength(20);
    SetBaseCost("silver",10);
    SetMealType(MEAL_FOOD);
    SetMealMessages("You eat a ham sandwich. Mmm!",
      "$N eats $P ham sandwich.");
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571