blob: 995e675a578ede582b8a4b870fb2877fca14e49d [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// MorgenGrauen MUDlib
2//,
3// clothing_container.c -- Kleidung, in die man was reinstecken kann
4//
5// $Id: clothing_container.c,v 1.3 2003/08/07 07:25:43 Rikus Exp $
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/clothing/wear";
24inherit "/std/clothing/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 envchk::create();
39 SetProp(P_CONTAINER,1);
40 SetProp(P_PREPOSITION, "in");
41 SetProp(P_SOURCE_PREPOSITION, "aus");
42 SetProp(P_DEST_PREPOSITION, "in");
43 AddId("Ding");
44}
45
46protected void create_super() {
47 set_next_reset(-1);
48}
49
50void reset() {
51 items::reset();
Zesstra44030452018-11-12 22:34:02 +010052 vitems::reset();
Zesstraf17d3a02018-11-12 22:29:00 +010053 envchk::reset();
MG Mud User88f12472016-06-24 23:31:02 +020054}
55
56int IsClothing() {return 1;}
57