blob: bc45280d9e09cc0719e076a42376fea76cfa40d2 [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";
Zesstra44030452018-11-12 22:34:02 +010021inherit "/std/container/vitems";
MG Mud User88f12472016-06-24 23:31:02 +020022inherit "/std/clothing/moving";
23inherit "/std/armour/wear";
24inherit "/std/armour/combat";
25inherit "/std/armour/container_description";
26
27//#define NEED_PROTOTYPES
28
29#include <container.h>
30
31protected void create() {
32 properties::create();
33 commands::create();
34 light::create();
35 container_description::create();
36 restrictions::create();
37 items::create();
38 wear::create();
39 combat::create();
40 envchk::create();
41 SetProp(P_CONTAINER,1);
42 SetProp(P_PREPOSITION, "in");
43 SetProp(P_SOURCE_PREPOSITION, "aus");
44 SetProp(P_DEST_PREPOSITION, "in");
45 AddId("Ding");
46}
47
48protected void create_super() {
49 set_next_reset(-1);
50}
51
52void reset() {
53 items::reset();
Zesstra44030452018-11-12 22:34:02 +010054 vitems::reset();
Zesstraf17d3a02018-11-12 22:29:00 +010055 envchk::reset();
MG Mud User88f12472016-06-24 23:31:02 +020056}
57