Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 1 | IsClothing() |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 2 | ************ |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 3 | |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 4 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 5 | FUNKTION |
| 6 | ======== |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 7 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 8 | status IsClothing() |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 9 | |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 10 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 11 | DEFINIERT IN |
| 12 | ============ |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 13 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 14 | /std/clothing.c |
| 15 | /std/clothing_container.c |
| 16 | |
| 17 | |
| 18 | RUeCKGABEWERT |
| 19 | ============= |
| 20 | |
| 21 | 1 wenn ein Kleidungsstueck |
| 22 | 0 sonst |
| 23 | |
| 24 | |
| 25 | BESCHREIBUNG |
| 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 | |
| 32 | BEISPIEL |
| 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 | |
| 41 | SIEHE AUCH |
| 42 | ========== |
| 43 | |
| 44 | Aehnlich: living, interactive |
| 45 | Aehnlich: IsArmour, IsBottle, IsPlayerCorpse, IsRoom, IsUnit |
| 46 | Props: P_CLOTHING |
Christian Georg Becker | d42fc79 | 2016-09-03 09:10:11 +0200 | [diff] [blame] | 47 | |
| 48 | 3. Sep 2016, Gloinson |