blob: f9f18d1395eedb836de2603b3962c89d6b371eaf [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001AddDrink()
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--------
14
Arathornff47dd02020-08-17 18:05:04 +020015::
16
17 void AddDrink(string nameOfDrink, mixed ids, int price, int heal,
18 int strength, int soak, mixed myFunction);
19
Zesstra18626972017-01-31 10:38:27 +010020
21BEMERKUNGEN
22-----------
23::
24
Arathornff47dd02020-08-17 18:05:04 +020025 Die Funktion AddDrink() sollte NICHT MEHR BENUTZT werden.
26 Bitte AddToMenu() verwenden.
27
28 Bestehende Aufrufe koennen wie folgt ersetzt werden:
29
30 AddToMenu(nameOfDrink, ids,
31 ([ P_VALUE : price, P_DRINK : soak, P_ALCOHOL : strength,
32 P_HP : heal/2, P_SP : heal/2 ]),
33 min(heal/2, 5), myFunction, 0, 0, 0);
34
Zesstra18626972017-01-31 10:38:27 +010035
36SIEHE AUCH
37----------
38::
39
Arathornff47dd02020-08-17 18:05:04 +020040 AddToMenu(), RemoveFromMenu(), AddFood()
Zesstra18626972017-01-31 10:38:27 +010041
42
Zesstra0fc5c1d2021-05-07 09:47:42 +020043Last modified: 2021-04-05, Arathorn
Zesstra18626972017-01-31 10:38:27 +010044