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.

Content
2 years ago
1.1
9.03K
Logistics

g Conflict with Lightorio

3 years 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