blob: 1e057af753bc2afc8e9b429998b7a9048c442b36 [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001AddFood()
2=========
Zesstraa29b2cd2020-08-17 20:55:39 +02003
4OBSOLETE LFUN
5-------------
6
7 Diese Efun existiert nicht mehr. Bitte stattdessen den Hook
8 H_HOOK_INSERT benutzen. (s. /doc/std/hooks)
9
10FUNKTION
11--------
12
Arathornff47dd02020-08-17 18:05:04 +020013::
14
15 void AddFood(string nameOfFood, mixed ids, int price, int heal,
16 mixed myFunction)
17
Zesstra18626972017-01-31 10:38:27 +010018
19BEMERKUNGEN
20-----------
21::
22
Arathornff47dd02020-08-17 18:05:04 +020023 Die Funktion AddFood() sollte NICHT MEHR BENUTZT werden.
24 Bitte AddToMenu() verwenden.
25
26 Bestehende Aufrufe koennen wie folgt ersetzt werden:
27
28 AddToMenu( nameOfFood,ids,
29 ([ P_VALUE : price, P_FOOD : heal, P_HP : heal, P_SP : heal ]),
30 ( min(heal, 5), myFunction, 0,0,0);
31
Zesstra18626972017-01-31 10:38:27 +010032
33SIEHE AUCH
34----------
35::
36
Arathornff47dd02020-08-17 18:05:04 +020037 AddToMenu(), RemoveFromMenu(), AddDrink()
Zesstra18626972017-01-31 10:38:27 +010038
39Last modified: Fri Mar 03 13:23:00 2000 by Paracelsus
40