Confirmed this was broken in 2.0.7, see the changelog here:
https://github.com/wube/factorio-data/commit/7522d3763e76e09ce1a46cba676dfc2b6d12b127#diff-b6284f45a0003b3929ade7872f411fdea3a2a98f356510f03fd66e1ec8574c0bR357
According to Lua order of operations, `/` is before `or`, so this effectively ...
Search found 7 matches
- Mon Nov 25, 2024 6:06 pm
- Forum: Resolved Problems and Bugs
- Topic: [posila] [2.0.14] util.combine_icons() incorrect scaling
- Replies: 2
- Views: 903
- Wed Nov 13, 2024 6:09 pm
- Forum: Ideas and Suggestions
- Topic: Increase color contrast for agricultural tower overlay
- Replies: 24
- Views: 3728
Re: Increase color contrast for agricultural tower overlay
Alternatively, make the tints (green, yellow, orange) customizable like other radius visualization pictures are. The API exposes this for the agricultural tower (https://lua-api.factorio.com/stable/prototypes/AgriculturalTowerPrototype.html#radius_visualisation_picture), but this sprite is used for ...
- Mon Nov 04, 2024 6:27 pm
- Forum: Resolved Problems and Bugs
- Topic: [posila] [2.0.14] util.combine_icons() incorrect scaling
- Replies: 2
- Views: 903
[posila] [2.0.14] util.combine_icons() incorrect scaling
I think this worked correctly in all versions of 1.1 I tested, but 2.0.7 and 2.0.14 has it broken.
data/core/lualib/util.lua has the following function:
function util.combine_icons(icons1, icons2, inputs, default_icon_size)
and has this line:
icon.scale = scale * ((icon_to_add.scale or 32.0 ...
data/core/lualib/util.lua has the following function:
function util.combine_icons(icons1, icons2, inputs, default_icon_size)
and has this line:
icon.scale = scale * ((icon_to_add.scale or 32.0 ...
- Fri May 03, 2024 2:20 am
- Forum: Modding interface requests
- Topic: General localization for string setting values
- Replies: 5
- Views: 1013
Re: General localization for string setting values
My concern with this approach is that the locale files are not specific to each mod. There's a reason why the current setup has you specify the setting name in it.
All fair points. I think curiosity's suggestion doesn't have that issue, so again I would be fine with that. Just so I don't need ...
- Thu May 02, 2024 11:26 pm
- Forum: Modding interface requests
- Topic: General localization for string setting values
- Replies: 5
- Views: 1013
Re: General localization for string setting values
E.g. add a field localised_allowed_values to the string setting prototype. If specified, it must be an array of LocalisedString the same length as the allowed_values array. The localized names are matched to the values in order.
Sure, that would work too. It would be a little more work for a ...
- Thu May 02, 2024 2:25 pm
- Forum: Modding interface requests
- Topic: General localization for string setting values
- Replies: 5
- Views: 1013
General localization for string setting values
Problem
When creating localization for mod settings, you can create locale strings for specific string-setting values. Quoting the wiki ( https://wiki.factorio.com/Tutorial:Mod_settings#Locale ):
[string-mod-setting]
#<setting-name>-<dropdown-item-name>=<translated dropdown item>
my-mod-string ...
When creating localization for mod settings, you can create locale strings for specific string-setting values. Quoting the wiki ( https://wiki.factorio.com/Tutorial:Mod_settings#Locale ):
[string-mod-setting]
#<setting-name>-<dropdown-item-name>=<translated dropdown item>
my-mod-string ...
- Wed Feb 27, 2019 8:40 pm
- Forum: Duplicates
- Topic: [0.17.0] Automatic updates not working
- Replies: 3
- Views: 1353
Re: [0.17.0] Automatic updates not working
Not showing for me either. Should note that from 0.16.51 to 0.17.0 didn't work and I had to upgrade manually, but 0.17.0 to 0.17.1 worked just fine. Now that 0.17.2 is out, it seems that all 0.17.X versions are missing from the list again.