notstrom | a8a195b | 2019-01-06 15:36:17 +0100 | [diff] [blame^] | 1 | inherit "/std/room"; |
| 2 | |
| 3 | #include __PATH__(1)"defs.h" |
| 4 | |
| 5 | private void delayed(); |
| 6 | |
| 7 | |
| 8 | protected void create() { |
| 9 | ::create(); |
| 10 | |
| 11 | SetProp(P_INT_SHORT, "Eine schummrige Huette"); |
| 12 | SetProp(P_INT_LONG, BSLF( |
| 13 | "Noch ein leerer Raum. Moment - nicht ganz, da ist ein haesslicher Fleck " |
| 14 | "auf dem Boden."); |
| 15 | |
| 16 | SetProp(P_LIGHT, 1); |
| 17 | SetProp(P_INDOORS, 1); |
| 18 | SetProp(P_LIGHT_TYPE, LT_GLOWING); |
| 19 | |
| 20 | AddDetail("fleck", function string() { |
| 21 | if (find_call_out(#'delayed) == -1) |
| 22 | call_out(#'delayed, 3); |
| 23 | else |
| 24 | return BSLF("Nicht so schnell hintereinander! Willst Du das Mud mit " |
| 25 | "Callouts fluten?"); |
| 26 | |
| 27 | return BSLF("Ja, dieser Fleck ist wirklich haesslich."); |
| 28 | }); |
| 29 | } |
| 30 | |
| 31 | private void delayed() { |
| 32 | if (ENV(TP) == TO) |
| 33 | tell_object(TP, BSPS( |
| 34 | "WER IST HIER HAESSLICH?!", |
| 35 | "Eine Stimme droehnt: ")); |
| 36 | } |