#include <properties.h>#include <moving.h>#include <wizlevels.h>
gehe zum Quellcode dieser Datei
Funktionen | |
| void | create () |
| int | onlywelt (string s) |
| public int | remove () |
| string | NotifyDestruct (object caller) |
Variablen | |
| inherit std | room |
| void create | ( | ) |
Definiert in Zeile 6 der Datei void.c.
Benutzt AddCmd(), create(), P_INDOORS, P_INT_LONG, P_INT_SHORT, P_LIGHT und SetProp().
00007 { 00008 ::create(); 00009 SetProp(P_LIGHT, 1 ); 00010 SetProp(P_INT_SHORT, "Das Nichts" ); 00011 SetProp(P_INDOORS, 1); 00012 SetProp(P_INT_LONG, 00013 "Du schwebst im absoluten, ewigen und leerem Nichts umher. Hier kommen\n" 00014 +"all die hin, deren Welt, in der sie sich befanden, zerstoert worden ist.\n" 00015 +"Wenn Du das magische Kommando 'welt' gibst, wirst Du wieder in Deine Welt\n" 00016 +"zurueckversetzt werden.\n" 00017 ); 00018 AddCmd( "", "onlywelt", 1 ); 00019 }

| string NotifyDestruct | ( | object | caller | ) |
Definiert in Zeile 46 der Datei void.c.
Benutzt ARCH_SECURITY und process_call().
00046 { 00047 if( (caller!=this_object() && !ARCH_SECURITY) || process_call() ) { 00048 return "Du darfst das Void nicht zerstoeren!\n"; 00049 } 00050 }

| int onlywelt | ( | string | s | ) |
Definiert in Zeile 21 der Datei void.c.
Benutzt IS_LEARNER und M_TPORT.
00021 { 00022 if( query_verb()=="welt" ) { 00023 this_player()->move("/gilden/abenteurer", M_TPORT); 00024 return 1; 00025 } 00026 if( IS_LEARNER(this_player()) ) return 0; 00027 write( 00028 "Du schwebst im absoluten, ewigen und leerem Nichts umher. Hier kommen\n" 00029 +"all die hin, deren Welt, in der sie sich befanden, zerstoert worden ist.\n" 00030 +"Wenn Du das magische Kommando 'welt' gibst, wirst Du wieder in Deine Welt\n" 00031 +"zurueckversetzt werden.\n" 00032 ); 00033 return 1; 00034 }
| public int remove | ( | ) |
Definiert in Zeile 38 der Datei void.c.
Benutzt ARCH_SECURITY, process_call() und remove().
00039 { 00040 if (!ARCH_SECURITY || process_call()) 00041 return 0; 00042 return ::remove(); 00043 }

1.6.3