blob: fcbf9a499546b17f3ce1ab8b03445ff5c44c0a89 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SetGramsPerUnits()
2
3FUNKTION:
4 void SetGramsPerUnits(int grams, int units);
5
6DEFINIERT IN:
7 /std/unit.c
8
9ARGUMENTE:
10 grams
11 Gewicht in Gramm
12 units
13 Zahl der Einheiten
14
15BESCHREIBUNG:
16 Es wird festgelegt, wieviel eine bestimmte Menge der Einheiten wiegt.
17 Eine einzelne Einheit wiegt grams/units Gramm.
18
19RUeCKGABEWERT:
20 keiner
21
22BEISPIELE:
23 Vier Einheiten sollen 3 Gramm wiegen:
24
25 SetGramsPerUnits(3,4);
26
27SIEHE AUCH:
28 SetCoinsPerUnits(), QueryCoinsPerUnits(), QueryGramsPerUnits(),
29 /std/unit.c
30
31----------------------------------------------------------------------------
32Last modified: Wed May 8 10:25:09 1996 by Wargon