blob: 7ea22d2b9ce6a11e1b812760a1e237e445823841 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// MorgenGrauen MUDlib
2//,
3// armour_container.c -- Ruestung, in die man was reinstecken kann
4//
5// $Id: armour_container.c 7804 2011-07-10 20:37:52Z Zesstra $
6
7#pragma strict_types
8#pragma save_types
9#pragma no_clone
10#pragma pedantic
11#pragma range_check
12
13inherit "/std/thing/properties";
14inherit "/std/thing/commands";
15inherit "/std/thing/language";
16inherit "/std/thing/envchk";
17inherit "/std/container/light";
18inherit "/std/container/restrictions";
19inherit "/std/container/inventory";
20inherit "/std/container/items";
21inherit "/std/clothing/moving";
22inherit "/std/armour/wear";
23inherit "/std/armour/combat";
24inherit "/std/armour/container_description";
25
26//#define NEED_PROTOTYPES
27
28#include <container.h>
29
30protected void create() {
31 properties::create();
32 commands::create();
33 light::create();
34 container_description::create();
35 restrictions::create();
36 items::create();
37 wear::create();
38 combat::create();
39 envchk::create();
40 SetProp(P_CONTAINER,1);
41 SetProp(P_PREPOSITION, "in");
42 SetProp(P_SOURCE_PREPOSITION, "aus");
43 SetProp(P_DEST_PREPOSITION, "in");
44 AddId("Ding");
45}
46
47protected void create_super() {
48 set_next_reset(-1);
49}
50
51void reset() {
52 items::reset();
53}
54