Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame^] | 1 | |
| 2 | P_SECOND |
| 3 | ******** |
| 4 | |
| 5 | |
| 6 | NAME |
| 7 | ==== |
| 8 | |
| 9 | P_SECOND "second" |
| 10 | |
| 11 | |
| 12 | DEFINIERT IN |
| 13 | ============ |
| 14 | |
| 15 | /sys/player/base.h |
| 16 | |
| 17 | |
| 18 | BESCHREIBUNG |
| 19 | ============ |
| 20 | |
| 21 | Wenn diese Prop gesetzt ist, ist der Spieler ein Zweitie. Inhalt der |
| 22 | Prop ist ein String mit dem (lowercase) Namen des Ersties. |
| 23 | |
| 24 | |
| 25 | BEISPIEL |
| 26 | ======== |
| 27 | |
| 28 | if (this_player()->QueryProp(P_SECOND)=="notstrom") { |
| 29 | tell_object(this_player(), "Nicht alles aufessen!\n"); |
| 30 | } |
| 31 | |
| 32 | |
| 33 | SIEHE AUCH |
| 34 | ========== |
| 35 | |
| 36 | Properties: P_SECOND_MARK |
| 37 | Sonstiges: /secure/zweities.c |
| 38 | |
| 39 | Last modified: 18-Jun-2015, Arathorn. |