blob: 548218634e79d3fec8601793e99ca5ca4c722c99 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001inherit "std/npc";
2
3#include <properties.h>
4#include <combat.h>
5#include "../files.h"
6
7create()
8{
9 if (!clonep(this_object())) return;
10 ::create();
11 SetProp(P_NOCORPSE, 1);
12 SetProp(P_RACE, "Metallmonster");
13 SetProp(P_DIE_MSG, " zerfaellt in seine Bestandteile.\n");
14 SetProp(P_VULNERABILITY, ({ DT_WATER }));
15}
16
17die()
18{
19 create_blech();
20 ::die();
21}
22
23create_blech()
24{
25 object b;
26 b = clone_object(OBJ("blech"));
27 b->move(environment(this_object()));
28}