bird.c

final_realms_fluffos_v1/lib/baseobs/races/bird.c · 2.4 KB

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

inherit "/baseobs/races/standard";

string *inedible;

void setup() {
    set_long("Chickens.  That's all there is to say.  Chickens, chickens, "
      "chickens, chickens, chickens.  Thank you.\n");
    set_name("chicken");
    /* throw away human bits and replace totally */
    bits = ({ 
      "head", 0, ({ 0, 2, 0, "left eye", "right eye", "beak", "comb", "skull" }),
      "left eye", "eye", ({ "head", 1, 0 }),
      "right eye", "eye", ({ "head", 1, 0 }),
      "beak", "pecker", ({ "head", 1, 0 }),
      "comb", 0, ({ "head", 1, 0 }),
      "skull", 0, ({ "head", 1, 0 }),
      "neck", 0, ({ 0, 2, 0 }),
      "torso", "chest", ({ 0, 400, 0, "heart", "liver", "left kidney",
    "right kidney", "left lung", "right lung", "spleen" }),
      "heart", "", ({ "torso", 10, 0 }),
      "liver", "", ({ "torso", 5, 0 }),
      "left kidney", "kidney", ({ "torso", 5, 0 }),
      "right kidney", "kidney", ({ "torso", 5, 0 }),
      "left lung", "lung", ({ "torso", 5, 0 }),
      "right lung", "lung", ({ "torso", 5, 0 }),
      "spleen", "", ({ "torso", 5, 0 }),
      "genitals", "", ({ 0, 5, 0 }),  /* sex ????  ohhh yes*/
      "left wing", "wing", ({ 0, 5, 0, "feather" }),
      "right wing", "wing", ({ 0, 5, 0, "feather" }),
      "feather", 0, ({ "left wing", 1, 0 }),
      "tail feather", "feather", ({ 0, 1, 0 }),
      "left leg", "leg", ({ 0, 3, 0, "left claw" }),
      "right leg", "leg", ({ 0, 3, 0, "right claw" }),
      "left claw", "claw", ({ "left leg", 1, 0 }),
      "right claw", "claw", ({ "right leg", 1, 0 })
    });
    inedible = ({ "beak", "skull", "feather", "tail feather",
      "comb", "neck", "genitals", "left claw", "right claw" });
   set_race_size(1);
}

string query_desc(object ob) {
    return "A basic bird, two legs , two wings, no brain.\n";
}

int query_eat(string type) {
    return (member_array(type, inedible) == -1);
}
string *valid_attacks()
{
    return ({
      "$att_name$ pecks $def_name$ on the $def_part$",
      "You peck $def_name$ on the $def_part$",
      "$att_name$ pecks you on the $def_part$",

      "$att_name$'s claws $def_name$ on the $def_part$",
      "You claw $def_name$",
      "$att_name$ claws you",

      "$att_name$ swats $def_name$ with it's wings",
      "You swat $def_name$ with your wings",
      "$att_name$ swats you with it's wings",

      "$att_name$ kicks $def_name$ on the $def_part$",
      "You kick $def_name$ on the $def_part$",
      "$att_name$ kicks you on the $def_part$",

    });
}

Site Stats

Snippets: 1791
Codebases: 571