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