Aluminum

by brevven

Adds aluminum, alumina, cables, alloys and more to the game. Compatible with RSO, Krastorio 2 and Space Exploration. A standalone piece of BZ Mods.

Content
9 months ago
1.1
29.0K
Mining Manufacturing

i Add aluminum in cfg file

2 years ago

By adding aluminum=Aluminum as an Item in your aluminum.cfg people can use this to generate localised name like
localised_name = {"", {"item-name."..localized_name}, " ", {"item-name.something"}},

This way and with a little edit to your code you could also get rid of most of the locale entries and generate them instead.
People then would have an easier time localize your mod to their language.

2 years ago

Thanks for letting me know! I will try to set that up in my mods soon. Do you know of any mods that make use of that pattern?

2 years ago

My not yet released one in which i use this to generate recipes. I also discovered that you can use Ritch Text like so:
localised_name = {"", "[item="..name.."]", " - ", {"item-name."..name}, " ", {"item-name.smelting"}},
(itemicon - Iron ore smelting)

you can take a look at my backup here:
https://github.com/Yokmp/Molten_Metals
The code is from settings.lua

New response