Pyanodons Industry


Control the means of production with new logistic and storage structures. Works either as a standalone mod or alongside the rest of the pY modpack.

Content
23 days ago
1.1 - 2.0
68.8K
Logistics Trains Logistic network Storage

g mod error after aktivated

5 years ago

problem when i install and aktivated it

https://imgur.com/l4x5ih2

5 years ago

still got it -.-

ok then i deaktived it..

5 years ago

dunno what theres wrong, still got it , i give up 0 help or any of that.. 29 days and nothing.. i need a other warehouse mod :'/

5 years ago
(updated 5 years ago)

Had the same, it's a problem from DeepMine, in the file "\prototypes\item.lua"

Change:

icon = "__core__/graphics/empty.png",
icon_size = 1,

to

icon = "__DeepMine__/graphics/icons/deep-mine-2.png",
icon_size = 32,
5 years ago

i dont have that frist ähhh comment?

5 years ago

ty it worked now yay :D

5 years ago

That is a hack, not a fix.
Using a 1x1 sprite is valid to factorio and mods should be able to handle it.

You can't demand every mod using 32x32 icons all the time.
instead you have to deal with different icon sizes properly by supporting this:

icons = { 
  { icon = "icon1.png", icon_size = 24, tint = {r=1, g=1, b=1, a=0.85} } 
  { icon = "icon2.png", icon_size = 32, tint = {r=1, g=1, b=1, a=0.85} } 
  { icon = "icon3.png", icon_size = 1, tint = {r=1, g=1, b=1, a=0.85} } 
}
icon_size = nil -- always set nil when using layered icons of different size

New response