badapple.c

ds2.9a10/lib/domains/campus/meals/badapple.c · 555 B

From the archive ds2.9a10.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("bad apple");
    SetId(({"fruit","apple"}));
    SetAdjectives( ({ "foul","yucky","rotten-looking","browned","rotten"}) );
    SetShort("a rotten apple");
    SetLong("This is a foul, browned, rotten-looking apple. ");
    SetMass(5);
    SetStrength(-5);
    SetDollarCost(1);
    SetMealType(MEAL_FOOD);
    SetMealMessages("You eat your rotten apple. Gross!",
      "$N eats $P rotten apple. Gross!");
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571