blob: 874e55ca79831684aa5317f4eb345e134c813c03 [file] [log] [blame]
Zesstra953f9972017-02-18 15:37:36 +01001
2AddKnownPotion()
3****************
4
5
6FUNKTION
7========
8
9 int AddKnownPotion(int nr)
10
11
12DEFINIERT IN
13============
14
15 /std/player/potion.c
16
17
18ARGUMENTE
19=========
20
21 int nr Nummer eines ZTs
22
23
24BESCHREIBUNG
25============
26
27 Addiert einen ZT als bekannt in einem Spieler. Nur vom Orakel rufbar.
28
29
30RUeCKGABEWERT
31=============
32
33 1 Erfolg
34 -1 fehlende Berechtigung
35 -2 Nummer bereits eingetragen
36
37
38SIEHE AUCH
39==========
40
41 Sonstiges: zaubertraenke, /secure/potionmaster.c, /room/orakel.c
42 Verwandt: FindPotion(), RemoveKnownPotion(), InList()
43 Props: P_POTIONROOMS, P_KNOWN_POTIONROOMS
44
456.Feb 2016 Gloinson