For the tutorial texts it would be nice if the parameter metric of goods could be queried.
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?.
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.
Ok, that was easy :) 0001-ADD-good_desc_x.get_metric.patch
Incorporated in r11556
thanks