CYBORG.C
LIB3/STD/RACES/CYBORG.C · 1.7 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
inherit "/std/races/standard";
void create()
{
::create();
set_name( "cyborg" );
set_main_plural( "cyborgs" );
set_long( "Half of this creature is metal and plastic, and the rest is " +
"flesh. You feel pity for it, but it does not really care. " +
" All it wants is for you to die.\n" );
/* All the parts will be related to mechanical parts */
/* They will also be valuable to some extent. Hey, they are */
/* spare parts after all. */
bits = ({
"head", 0, ({ 0, 2, 20, "left optical", "right eye", "left intake",
"right nostril" }),
"left optical", 0, ({ "head", 1, 5 }),
"right eye", 0, ({ "head", 1, 0 }),
"left intake", 0, ({ "head", 1, 5 }),
"right nostril", 0, ({ "head", 1, 0 }),
"torso", "guts", ({ 0, 400, 200, "oil reservoir", "left oil filter",
"right kidney", "servo motor", "speaker", "spleen" }),
"oil reservoir", 0, ({ "torso", 5, 25 }),
"left oil filter", 0, ({ "torso", 5, 15 }),
"right kidney", 0, ({ "torso", 1, 0 }),
"spleen", 0, ({ "torso", 1, 0 }),
"servo motor", 0, ({ "torso", 20, 75 }),
"speaker", 0, ({ "torso", 15, 100 }),
"left arm", "arm", ({ 0, 28, 75 }),
"right arm", "arm", ({ 0, 28, 75 }),
"left leg", "leg", ({ 0, 30, 100 }),
"right leg", "leg", ({ 0, 30, 100 }),
});
reset_get();
} /* create() */
string query_desc( object ob )
{
return "A part human and part robot creature.\n";
} /* query_desc() */
void set_stats( object ob )
{
ob->set_bonus_str( 2 );
ob->set_bonus_dex( 0 );
ob->set_bonus_wis( -2 );
ob->set_bonus_con( 2 );
ob->set_bonus_int( -2 );
ob->set_max_light( 200 );
ob->set_min_light( 10 );
} /* set_stats() */