Water Placeable Lamps


Makes lamps and modded lamps placeable on water. Useful for Cargo Ships and Beautiful Bridge Railways/Schall Overseas Railway mods in conjunction with mods that alter brightness like Clockwork.

7 months ago
1.1
4302

g Conflict with Lightorio

1 year, 7 days ago

Hi There,

It seems the way this mod changes the collision layer of all lamps conflicts with Lightorio. Lightorio works by using a copy of the vanilla Lamp prototype and basically hiding it and making it non-collidable. This mod then makes it collidable again in data-updates :)

Seems fixable with the following code in data-updates.lua:

if mods["lightorio"] then
data.raw["lamp"]["assembler-lamp"].collision_mask = {}
end

Thanks
Jack

New response