MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | _query_current_money() |
| 2 | FUNKTION: |
| 3 | int _query_current_money() |
| 4 | |
| 5 | DEFINIERT IN: |
| 6 | /p/daemon/zentralbank.c |
| 7 | |
| 8 | BESCHREIBUNG: |
| 9 | Es wird zurueckgegeben, wieviel Geld die Zentralbank besitzt. |
| 10 | |
| 11 | BEISPIELE: |
| 12 | #include <bank.h> |
| 13 | ... |
| 14 | if(ZENTRALBANK->_query_current_money()<30000) { |
| 15 | write(break_string( |
| 16 | "Leider koennen wir ihren Bausparvertrag derzeit nicht einloesen.", |
| 17 | "Der Beamte sagt: ",78)); |
| 18 | say(break_string( |
| 19 | "Leider koennen wir ihren Bausparvertrag derzeit nicht einloesen.", |
| 20 | "Der Beamte sagt zu "+this_player()->name(WEM)+": ",78)); |
| 21 | } |
| 22 | |
| 23 | BEMERKUNGEN: |
| 24 | Unsere Zentralbank ist korrupt, vor allem dadurch, dass in Laeden und |
| 25 | an anderen Stellen Geld erzeugt wird. |
| 26 | |
| 27 | SIEHE AUCH: |
| 28 | Geldhandling: AddMoney(L), QueryMoney(L) |
| 29 | Zentralbank: WithDraw(L), PayIn(L) |
| 30 | Sonstiges: /items/money.c, /sys/bank.h |
| 31 | |
| 32 | 27. Apr 2004 Gloinson |