#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 16 der Datei post.c.
Benutzt AddCmd(), AddItem(), COUNTER, create(), i, MAILCABIN, NRCABINS, P_INDOORS, P_INT_LONG, P_INT_SHORT, P_LIGHT, REFRESH_REMOVE und SetProp().
00016 { 00017 int i; 00018 (::create()); 00019 SetProp(P_INT_SHORT,"Postamt"); 00020 SetProp(P_INT_LONG,"\ 00021 Dies ist ein Testpostamt.\n\ 00022 Von hier aus kannst Du Briefe an Deine Mitspieler schicken und Briefe von\n\ 00023 ihnen lesen. Wenn Du das willst, tippe 'post' oder 'mail',\n\ 00024 bzw. 'mail <spieler>'.\n"); 00025 SetProp( P_LIGHT, 1 ); 00026 AddCmd("post","do_mail"); 00027 AddCmd("mail","do_mail"); 00028 SetProp(P_INDOORS,1); 00029 for (i=0;i<NRCABINS;++i) AddItem(MAILCABIN,REFRESH_REMOVE); 00030 AddItem(COUNTER,REFRESH_REMOVE); 00031 }

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