diff --git a/mods/se-module-icons-have-their-tier-number-the-corner/README.md b/mods/se-module-icons-have-their-tier-number-the-corner/README.md new file mode 100644 index 00000000..5e2bf8d4 --- /dev/null +++ b/mods/se-module-icons-have-their-tier-number-the-corner/README.md @@ -0,0 +1 @@ +See the thumbnail for example, those are tier 2 moduled requests, but they look like tier 1. diff --git a/mods/se-module-icons-have-their-tier-number-the-corner/cheat-all-preview.png b/mods/se-module-icons-have-their-tier-number-the-corner/cheat-all-preview.png new file mode 100644 index 00000000..e72a2ebd Binary files /dev/null and b/mods/se-module-icons-have-their-tier-number-the-corner/cheat-all-preview.png differ diff --git a/mods/se-module-icons-have-their-tier-number-the-corner/data-updates.lua b/mods/se-module-icons-have-their-tier-number-the-corner/data-updates.lua new file mode 100644 index 00000000..2c9d94a8 --- /dev/null +++ b/mods/se-module-icons-have-their-tier-number-the-corner/data-updates.lua @@ -0,0 +1,24 @@ +-- weird, data-updates.lua is required since SE doesn't define the new module tiers in data.lua? + +for _, variant in ipairs({'speed', 'productivity', 'effectivity'}) do + for i = 1, 9 do + local name = variant .. '-module' + if i ~= 1 then name = name .. '-' .. i end + local prototype = data.raw['module'][name] + prototype.icons = { + { + icon = prototype.icon, + icon_mipmaps = prototype.icon_mipmaps, + icon_size = prototype.icon_size + }, + { + icon = '__aai-containers__/graphics/icons/number/' .. i .. '.png', + scale = 0.5, + shift = {-10, -10}, + icon_size = 20 + } + } + + -- log(serpent.block( data.raw['module'][name] )) + end +end diff --git a/mods/se-module-icons-have-their-tier-number-the-corner/info.json b/mods/se-module-icons-have-their-tier-number-the-corner/info.json new file mode 100644 index 00000000..f24ddc06 --- /dev/null +++ b/mods/se-module-icons-have-their-tier-number-the-corner/info.json @@ -0,0 +1,12 @@ +{ + "name": "se-module-icons-have-their-tier-number-the-corner", + "title": "Space Exploration - module icons have their tier number the corner", + "description": "It can be hard to distinguish every non-3rd module from their neighbour.", + "version": "1.0.0", + "author": "Quezler", + "factorio_version": "1.1", + "dependencies": [ + "aai-containers", + "space-exploration" + ] +} diff --git a/mods/se-module-icons-have-their-tier-number-the-corner/thumbnail.png b/mods/se-module-icons-have-their-tier-number-the-corner/thumbnail.png new file mode 100644 index 00000000..e4a2200e Binary files /dev/null and b/mods/se-module-icons-have-their-tier-number-the-corner/thumbnail.png differ