blob: ec93b922ce7b99e8a0ea6010029320e3a10765e3 [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";
21inherit "/std/clothing/moving";
22inherit "/std/clothing/wear";
23inherit "/std/clothing/container_description";
24
25//#define NEED_PROTOTYPES
26
27#include <container.h>
28
29protected void create() {
30 properties::create();
31 commands::create();
32 light::create();
33 container_description::create();
34 restrictions::create();
35 items::create();
36 wear::create();
37 envchk::create();
38 SetProp(P_CONTAINER,1);
39 SetProp(P_PREPOSITION, "in");
40 SetProp(P_SOURCE_PREPOSITION, "aus");
41 SetProp(P_DEST_PREPOSITION, "in");
42 AddId("Ding");
43}
44
45protected void create_super() {
46 set_next_reset(-1);
47}
48
49void reset() {
50 items::reset();
51}
52
53int IsClothing() {return 1;}
54