News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

good_desc_x.get_metric ?

Started by Andarix, December 29, 2024, 06:53:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

For the tutorial texts it would be nice if the parameter metric of goods could be queried.

Yona-TYT

Quote from: Andarix on December 29, 2024, 06:53:30 PMFor the tutorial texts it would be nice if the parameter metric of goods could be queried.
I don't understand, do you mean to get the name of the metric unit?.

Andarix

pak64.german good Holz fm

pak64 good Holz m³

pak128 good Holz t

Instead of writing separate text files for each Pakset or storing them in parameters, reading them out is easier. Everything that can be read from the objects should also be used. This avoids errors and maintenance work in the texts.

Especially when the tutorial is ported to other Paksets and the goods/industry chain is composed differently.

Currently the texts are geared towards pak64.


prissi