MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // armour.c -- armour standard object |
| 4 | // |
| 5 | // $Id: armour.c 7804 2011-07-10 20:37:52Z Zesstra $ |
| 6 | |
| 7 | #pragma strict_types |
| 8 | #pragma save_types |
| 9 | #pragma no_clone |
| 10 | #pragma range_check |
| 11 | #pragma pedantic |
| 12 | |
| 13 | inherit "/std/thing/properties"; |
| 14 | inherit "/std/thing/commands"; |
| 15 | inherit "/std/thing/restrictions"; |
| 16 | inherit "/std/thing/light"; |
| 17 | inherit "/std/armour/description"; |
| 18 | inherit "/std/clothing/moving"; |
| 19 | inherit "/std/armour/wear"; |
| 20 | inherit "/std/armour/combat"; |
| 21 | inherit "/std/thing/language"; |
| 22 | inherit "/std/thing/envchk"; |
| 23 | |
| 24 | //#define NEED_PROTOTYPES |
| 25 | |
| 26 | #include <config.h> |
| 27 | #include <properties.h> |
| 28 | #include <language.h> |
| 29 | #include <combat.h> |
| 30 | #include <wizlevels.h> |
| 31 | #include <defines.h> |
| 32 | |
| 33 | protected void create() { |
| 34 | properties::create(); |
| 35 | commands::create(); |
| 36 | light::create(); |
| 37 | restrictions::create(); |
| 38 | description::create(); |
| 39 | wear::create(); |
| 40 | combat::create(); |
| 41 | envchk::create(); |
| 42 | AddId("Ding"); |
| 43 | } |
| 44 | |
| 45 | protected void create_super() { |
| 46 | set_next_reset(-1); |
| 47 | } |
| 48 | |
| 49 | // Zum Ueberschreiben, damit es nicht buggt, wenn die Leute in ihren Objekten (wie |
| 50 | // gewuenscht) ::reset() rufen. |
| 51 | void reset() { |
| 52 | } |
| 53 | |