Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 1 | |
| 2 | AddKnownPotion() |
| 3 | **************** |
| 4 | |
| 5 | |
| 6 | FUNKTION |
| 7 | ======== |
| 8 | |
| 9 | int AddKnownPotion(int nr) |
| 10 | |
| 11 | |
| 12 | DEFINIERT IN |
| 13 | ============ |
| 14 | |
| 15 | /std/player/potion.c |
| 16 | |
| 17 | |
| 18 | ARGUMENTE |
| 19 | ========= |
| 20 | |
| 21 | int nr Nummer eines ZTs |
| 22 | |
| 23 | |
| 24 | BESCHREIBUNG |
| 25 | ============ |
| 26 | |
| 27 | Addiert einen ZT als bekannt in einem Spieler. Nur vom Orakel rufbar. |
| 28 | |
| 29 | |
| 30 | RUeCKGABEWERT |
| 31 | ============= |
| 32 | |
| 33 | 1 Erfolg |
| 34 | -1 fehlende Berechtigung |
| 35 | -2 Nummer bereits eingetragen |
| 36 | |
| 37 | |
| 38 | SIEHE 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 | |
| 45 | 6.Feb 2016 Gloinson |