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 | |
| 21 | - Objekte |
| 22 | Das Gewicht eines Objetes in Gramm. |
| 23 | |
| 24 | - Speisen |
| 25 | Gewicht einer Portion der Speise. |
| 26 | |
| 27 | |
| 28 | BEMERKUNGEN |
| 29 | =========== |
| 30 | |
| 31 | In tragbaren Speisen (erben von /std/food) setzt man mit SetProp |
| 32 | das Gewicht _einer_ Portion. Per QueryProp erhaelt man aber das |
| 33 | Gesamtgewicht der Speise inclusive des eventuell vorhandenen Behaelters. |
| 34 | Das Gewicht des Behaelters wird dabei aus P_EMPTY_PROPS[P_WEIGHT] |
| 35 | gelesen. |
| 36 | |
| 37 | |
| 38 | SIEHE AUCH |
| 39 | ========== |
| 40 | |
| 41 | Speisen: wiz/food, P_EMPTY_PROPS |
| 42 | |
| 43 | Last modified: Thu Oct 28 12:15:00 2010 by Caldra |