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