Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 1 | IsClothing() |
| 2 | ============ |
| 3 | |
| 4 | FUNKTION |
| 5 | -------- |
| 6 | :: |
| 7 | |
| 8 | status IsClothing() |
| 9 | |
| 10 | DEFINIERT IN |
| 11 | ------------ |
| 12 | :: |
| 13 | |
| 14 | /std/clothing.c |
| 15 | /std/clothing_container.c |
| 16 | |
| 17 | RUeCKGABEWERT |
| 18 | ------------- |
| 19 | :: |
| 20 | |
| 21 | 1 wenn ein Kleidungsstueck |
| 22 | 0 sonst |
| 23 | |
| 24 | BESCHREIBUNG |
| 25 | ------------ |
| 26 | :: |
| 27 | |
| 28 | Gibt 1 zurueck, wenn entsprechende Klassen irgendwo geerbt wurden, es |
| 29 | also ein Kleidungsstueck (oder ein Kleidungsstueck mit Taschen) ist. |
| 30 | |
| 31 | BEISPIEL |
| 32 | -------- |
| 33 | :: |
| 34 | |
| 35 | // enthaelt im Gegensatz zu P_CLOTHING auch nichtgetragenen Kram |
| 36 | // im Inventory L1 |
| 37 | object *allcloth = |
| 38 | filter_objects(all_inventory(this_player()), "IsClothing") |
| 39 | |
| 40 | SIEHE AUCH |
| 41 | ---------- |
| 42 | :: |
| 43 | |
| 44 | Aehnlich: living, interactive |
| 45 | Aehnlich: IsArmour, IsBottle, IsPlayerCorpse, IsRoom, IsUnit |
| 46 | Props: P_CLOTHING |
| 47 | |
| 48 | 3. Sep 2016, Gloinson |
| 49 | |