MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // room/commands.c -- room commands handling |
| 4 | // |
| 5 | // $Id: commands.c 8201 2012-11-07 17:55:12Z Zesstra $ |
| 6 | |
| 7 | #pragma strong_types |
| 8 | #pragma save_types |
| 9 | #pragma pedantic |
| 10 | #pragma range_check |
| 11 | #pragma no_clone |
| 12 | |
| 13 | inherit "/std/thing/commands"; |
| 14 | |
| 15 | //#define NEED_PROTOTYPES |
| 16 | |
| 17 | #include <thing/properties.h> |
| 18 | #include <config.h> |
| 19 | #include <properties.h> |
| 20 | #include <language.h> |
| 21 | #include <defines.h> |
| 22 | |
| 23 | void init() |
| 24 | { |
| 25 | ::init(); |
| 26 | |
| 27 | add_action("imposs", "such"); |
| 28 | add_action("imposs", "suche"); |
| 29 | } |
| 30 | |
| 31 | /* Fuer etwas bessere Fehlermeldungen als 'Wie bitte?' bei einigen */ |
| 32 | /* allgemeinen Kommandos. */ |
| 33 | int imposs() |
| 34 | { |
| 35 | _notify_fail("Du suchst, findest aber nichts.\n"); |
| 36 | return 0; |
| 37 | } |