MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // weapon.c -- weapon standard object |
| 4 | // |
| 5 | // $Id: weapon.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 | |
| 13 | inherit "/std/thing/properties"; |
| 14 | inherit "/std/thing/language"; |
| 15 | inherit "/std/thing/commands"; |
| 16 | inherit "/std/thing/restrictions"; |
| 17 | inherit "/std/thing/light"; |
| 18 | inherit "/std/weapon/moving"; |
| 19 | inherit "/std/weapon/combat"; |
| 20 | inherit "/std/weapon/description"; |
| 21 | inherit "/std/thing/envchk"; |
| 22 | |
| 23 | //#define NEED_PROTOTYPES |
| 24 | |
| 25 | #define <thing/properties.h> |
| 26 | |
| 27 | #include <properties.h> |
| 28 | #include <moving.h> |
| 29 | #include <defines.h> |
| 30 | |
| 31 | void create() |
| 32 | { |
| 33 | seteuid(getuid()); |
| 34 | properties::create(); |
| 35 | commands::create(); |
| 36 | light::create(); |
| 37 | restrictions::create(); |
| 38 | combat::create(); |
| 39 | description::create(); |
| 40 | envchk::create(); |
| 41 | AddId(({"Ding","waffe"})); |
| 42 | } |
| 43 | |
| 44 | /* |
| 45 | void init() |
| 46 | { |
| 47 | commands::init(); |
| 48 | description::init(); |
| 49 | } |
| 50 | */ |
| 51 | |
| 52 | void reset() // Man kann in ALLEN Standardobjekten ::reset aufrufen! |
| 53 | { } |
| 54 | |