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