Cnc's Sulfur Mod

by cncr04s

This mod adds mineable sulfur ore to the map. Intended to supplement your production of sulfuric acid by enabling mining of sulfur deposits produced long ago by ancient volcanism.

Content
4 years ago
0.14 - 1.1
2.27K
Mining

b Failed to load

Failed to load mods: Error while loading entity prototype "sulfur"(resource): Key "icon_size" not found in property tree at ROOT.resource.sulfur

Please repair this if possible.

Thx

6 years ago

I was able to get past this error by unpacking the mod and editing the prototypes/entity/resources.lua file - added line " icon_size = 32," immmediately after the line " icon = "cncs_Sulfur_Mod/graphics/icons/" .. name .. ".png","

now I have another (different) error:
Error while loading autoplace-control prototype "sulfur" (autoplace-control): Key "category" not found in property tree at ROOT.autoplace-control.sulfur

6 years ago

Ah HA! further searching on that error has led me to a solution:
https://mods.factorio.com/mods/darkfrei/_IconSize

automatically adds icon_size and category to mods that don't already add it. A hack and a kludge, but it works!

6 years ago

Sorry, Didnt know these game devs couldn't just add a default value to new required entrys that were already implied.
Updated to fix.

New response