mirror of
https://github.com/veden/Rampant.git
synced 2024-12-30 21:19:46 +02:00
28 lines
916 B
Lua
Executable File
28 lines
916 B
Lua
Executable File
-- import
|
|
|
|
local acidBall = require("prototypes/utils/AttackBall")
|
|
local colorUtils = require("prototypes/utils/ColorUtils")
|
|
local smokeUtils = require("SmokeUtils")
|
|
|
|
-- imported functions
|
|
|
|
local makeSmokeSoft = smokeUtils.makeSmokeSoft
|
|
local makeSmokeWithGlow = smokeUtils.makeSmokeWithGlow
|
|
local makeSmokeWithoutGlow = smokeUtils.makeSmokeWithoutGlow
|
|
local makeSmokeAddingFuel = smokeUtils.makeSmokeAddingFuel
|
|
|
|
local makeColor = colorUtils.makeColor
|
|
|
|
-- module code
|
|
|
|
makeSmokeSoft({name="the", softSmokeTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
|
makeSmokeWithGlow({name="the", smokeWithGlowTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
|
makeSmokeWithoutGlow({name="the", smokeWithoutGlowTint=makeColor(0.3, 0.75, 0.3, 0.1)})
|
|
makeSmokeAddingFuel({name="the"})
|
|
|
|
if settings.startup["rampant-useDumbProjectiles"].value then
|
|
acidBall.generateLegacy()
|
|
end
|
|
|
|
require("prototypes/buildings/ChunkScanner")
|