MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | NAME: |
| 2 | P_WEIGHT "weight" |
| 3 | |
| 4 | DEFINIERT IN: |
| 5 | /sys/thing/restrictions.h |
| 6 | |
| 7 | BESCHREIBUNG: |
| 8 | |
| 9 | - Objekte |
| 10 | Das Gewicht eines Objetes in Gramm. |
| 11 | |
| 12 | - Speisen |
| 13 | Gewicht einer Portion der Speise. |
| 14 | |
| 15 | BEMERKUNGEN: |
| 16 | In tragbaren Speisen (erben von /std/food) setzt man mit SetProp |
| 17 | das Gewicht _einer_ Portion. Per QueryProp erhaelt man aber das |
| 18 | Gesamtgewicht der Speise inclusive des eventuell vorhandenen Behaelters. |
| 19 | Das Gewicht des Behaelters wird dabei aus P_EMPTY_PROPS[P_WEIGHT] |
| 20 | gelesen. |
| 21 | |
| 22 | SIEHE AUCH: |
| 23 | Speisen: wiz/food, P_EMPTY_PROPS |
| 24 | |
| 25 | ------------------------------------------------------------------------------ |
| 26 | Last modified: Thu Oct 28 12:15:00 2010 by Caldra |