blob: c51f3f64055b8a3a556fcf9b31a2f81d39d4af93 [file] [log] [blame]
Zesstra953f9972017-02-18 15:37:36 +01001
2IsClothing()
3************
4
5
6FUNKTION
7========
8
9 status IsClothing()
10
11
12DEFINIERT IN
13============
14
15 /std/clothing.c
16 /std/clothing_container.c
17
18
19RUeCKGABEWERT
20=============
21
22 1 wenn ein Kleidungsstueck
23 0 sonst
24
25
26BESCHREIBUNG
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
33BEISPIEL
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
42SIEHE AUCH
43==========
44
45 Aehnlich: living, interactive
46 Aehnlich: IsArmour, IsBottle, IsPlayerCorpse, IsRoom, IsUnit
47 Props: P_CLOTHING
48
493. Sep 2016, Gloinson