blob: 7886b4af655b2c4632e1a1979fa12f83622b6af9 [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001AddFood()
2=========
Zesstraa29b2cd2020-08-17 20:55:39 +02003
Zesstra0fc5c1d2021-05-07 09:47:42 +02004VERALTETE LFUN
5--------------
6::
Zesstraa29b2cd2020-08-17 20:55:39 +02007
Zesstra0fc5c1d2021-05-07 09:47:42 +02008 Diese Lfun ist als veraltet gekennzeichnet (deprecated); ihre Nutzung
9 loest daher eine Warnung aus. Bitte stattdessen AddToMenu() verwenden.
10
Zesstraa29b2cd2020-08-17 20:55:39 +020011
12FUNKTION
13--------
Arathornff47dd02020-08-17 18:05:04 +020014::
15
16 void AddFood(string nameOfFood, mixed ids, int price, int heal,
17 mixed myFunction)
18
Zesstra18626972017-01-31 10:38:27 +010019
20BEMERKUNGEN
21-----------
22::
23
Arathornff47dd02020-08-17 18:05:04 +020024 Die Funktion AddFood() sollte NICHT MEHR BENUTZT werden.
25 Bitte AddToMenu() verwenden.
26
27 Bestehende Aufrufe koennen wie folgt ersetzt werden:
28
29 AddToMenu( nameOfFood,ids,
30 ([ P_VALUE : price, P_FOOD : heal, P_HP : heal, P_SP : heal ]),
Arathornee7ec862020-12-01 23:57:24 +010031 min(heal, 5), myFunction, 0,0,0);
Arathornff47dd02020-08-17 18:05:04 +020032
Zesstra18626972017-01-31 10:38:27 +010033
34SIEHE AUCH
35----------
36::
37
Arathornff47dd02020-08-17 18:05:04 +020038 AddToMenu(), RemoveFromMenu(), AddDrink()
Zesstra18626972017-01-31 10:38:27 +010039
Zesstra0fc5c1d2021-05-07 09:47:42 +020040Last modified: 2021-04-05, Arathorn