blob: df479550f8e20a1e50d66935f15c3a6724e79a48 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// MorgenGrauen MUDlib
2//
3// tray.c -- container standard object
4//
5// $Id: tray.c 7804 2011-07-10 20:37:52Z Zesstra $
6
7// The most general object class. It defines the really basic functions.
8//
9// This object should understand the properties short, long, info, read_msg,
10// value, weight.
11//
12// weight is given in grams, 1 kilogram (kg) = 1000 grams (g) = 1 old weight
13// unit
14#pragma strong_types
15#pragma save_types
16#pragma no_clone
17#pragma pedantic
18#pragma range_check
19
20inherit "/std/thing/properties";
21inherit "/std/thing/moving";
22inherit "/std/thing/commands";
23inherit "/std/thing/language";
24inherit "/std/container/light";
25inherit "/std/container/restrictions";
26inherit "/std/tray/description";
27inherit "/std/thing/envchk";
28
29#include <properties.h>
30#include <wizlevels.h>
31#include <defines.h>
32
33protected void create()
34{
35 properties::create();
36 commands::create();
37 light::create();
38 description::create();
39 restrictions::create();
40 envchk::create();
41 SetProp(P_TRAY,1);
42 SetProp(P_PREPOSITION, "auf");
43 SetProp(P_SOURCE_PREPOSITION, "von");
44 SetProp(P_DEST_PREPOSITION, "auf");
45}
46
47protected void create_super() {
48 set_next_reset(-1);
49}
50
51/*
52void init()
53{
54 commands::init();
55 description::init();
56}
57*/
58
59void reset()
60{}