#include "/mail/post.h"#include <properties.h>#include <rooms.h>
gehe zum Quellcode dieser Datei
Funktionen | |
| void | create () |
| int | do_mail (string str) |
Variablen | |
| inherit std | room |
| void create | ( | ) |
Definiert in Zeile 11 der Datei post.c.
Benutzt AddCmd(), create(), i, P_INDOORS, P_INT_LONG, P_INT_SHORT, P_LIGHT und SetProp().
00011 { 00012 int i; 00013 (::create()); 00014 SetProp(P_INT_SHORT,"Postamt"); 00015 SetProp(P_INT_LONG,"\ 00016 Dies ist ein Testpostamt.\n\ 00017 Von hier aus kannst Du Briefe an Deine Mitspieler schicken und Briefe von\n\ 00018 ihnen lesen. Wenn Du das willst, tippe 'post' oder 'mail',\n\ 00019 bzw. 'mail <spieler>'.\n"); 00020 SetProp( P_LIGHT, 1 ); 00021 AddCmd("post","do_mail"); 00022 AddCmd("mail","do_mail"); 00023 SetProp(P_INDOORS,1); 00024 // if (!argh) { 00025 // for (i=0;i<NRCABINS;++i) AddItem(MAILCABIN,REFRESH_REMOVE); 00026 // AddItem(COUNTER,REFRESH_REMOVE); 00027 // SetProp(P_POST,PP_ALLOWED); 00028 // } 00029 }

| int do_mail | ( | string | str | ) |
1.6.3