Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 1 | P_WEIGHT |
| 2 | ======== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 6 | |
Zesstra | da8c01f | 2018-07-25 16:43:07 +0200 | [diff] [blame^] | 7 | P_WEIGHT "weight" |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 8 | |
| 9 | DEFINIERT IN |
| 10 | ------------ |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 11 | |
| 12 | /sys/thing/restrictions.h |
| 13 | |
| 14 | BESCHREIBUNG |
| 15 | ------------ |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 16 | |
Zesstra | da8c01f | 2018-07-25 16:43:07 +0200 | [diff] [blame^] | 17 | * Objekte |
| 18 | Das Gewicht eines Objetes in Gramm. |
| 19 | * Speisen |
| 20 | Gewicht einer Portion der Speise. |
| 21 | * Container |
| 22 | Das Gewicht des Containers ohne Inhalt |
| 23 | * Lebewesen |
| 24 | Das Gewicht des Lebewesens ohne Inhalt |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 25 | |
| 26 | BEMERKUNGEN |
| 27 | ----------- |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 28 | |
Zesstra | da8c01f | 2018-07-25 16:43:07 +0200 | [diff] [blame^] | 29 | Das Gewicht eines Objektes (in Gramm). |
| 30 | Bei normalen Objekten ist es das Gesamtgewicht dieses Objektes. |
| 31 | Bei Containern (und Lebewesen) ist es das Gewicht des Containers ohne |
| 32 | etwaigen Inhalt. |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 33 | |
Zesstra | da8c01f | 2018-07-25 16:43:07 +0200 | [diff] [blame^] | 34 | In tragbaren Speisen (welche von von /std/food erben) setzt man mit |
| 35 | SetProp das Gewicht _einer_ Portion. Per QueryProp erhaelt man aber das |
| 36 | Gesamtgewicht der Speise inclusive des eventuell vorhandenen Behaelters. |
| 37 | Das Gewicht des Behaelters wird dabei aus P_EMPTY_PROPS[P_WEIGHT] |
| 38 | gelesen. |
| 39 | |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 40 | |
| 41 | SIEHE AUCH |
| 42 | ---------- |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 43 | |
Zesstra | da8c01f | 2018-07-25 16:43:07 +0200 | [diff] [blame^] | 44 | :doc:`../props/P_TOTAL_WEIGHT` |
| 45 | :doc:`../props/P_EMPTY_PROPS`, :doc:`../props/P_WEIGHT_PERCENT`, |
| 46 | :doc:`../props/P_WEIGHT_PER_UNIT`, |
| 47 | zu Speisen: wiz/food |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 48 | |
| 49 | |
Zesstra | da8c01f | 2018-07-25 16:43:07 +0200 | [diff] [blame^] | 50 | Last modified: 25.07.2018 by Zesstra |
Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 51 | |