Flare Stack

by GotLag

Adds structures to dispose of unwanted items and fluids.

Content
3 years ago
0.13 - 1.1
84.3K
Manufacturing

g .18 error

4 years ago

i know it is experimental, just trying to help everyone get ahead of curve. let me know if i can help.

Source: default (utility-sprites).
3.081 Initial atlas bitmap size is 16384
3.082 Created atlas bitmap 2048x432 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
3.088 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
3.092 Parallel Sprite Loader initialized (threads: 15)
3.127 Sprites loaded
3.128 Generated mipmaps (5) for atlas [0] of size 2048x432
3.128 Custom mipmaps uploaded.
3.148 Factorio initialised
3.155 Mods to disable:Failed to load mods: Flare Stack/data.lua:1: Flare Stack/prototypes/entities.lua:130: attempt to call global 'trivial_smoke' (a nil value)
stack traceback:
Flare Stack/prototypes/entities.lua:130: in main chunk
[C]: in function 'require'
Flare Stack/data.lua:1: in main chunk
stack traceback:
[C]: in function 'require'
Flare Stack/data.lua:1: in main chunk

Mods to be disabled:

4 years ago
(updated 4 years ago)

Open the entities.lua and do the following,

Replace 129 thru 140 with:

-- Incinerator smoke
trivial_smoke =
{
name = "incinerator-smoke",
color = {r = 0.3, g = 0.3, b = 0.3, a = 0.3},
duration = 150,
spread_duration = 100,
fade_away_duration = 100,
start_scale = 0.4,
end_scale = 1.5,
affected_by_wind = true
}
}
)

Lastly change line 165 to:

trivial_smoke =

Don't forget to change the info.json file to match the version number.

4 years ago

Updated now. The trivial_smoke function in the base game files was made local for some reason so it was inaccessible to mods

New response