Inlaid Lamps


This mod adds a lamp that you can embed into the floor! Can be driven over safely.

Tweaks
5 years ago
0.16
9

b Known Bugs

5 years ago

Sometimes the light will render over the character or vehicle, if anyone knows how to solve that issue, please do tell.

5 years ago

There is a slightly hacky fix: position the collision_box at the top of the entity. Everything that is positioned oder the center of the collision_box will be rendered behind the object.

5 years ago

Tried that, but it complains that the 0.0 point has too be within the collision box, and making the box bigger disallows the light to be placed near other things

5 years ago

Also, if you replace a normal lamp with an inlaid lamp, the normal lamp is not returned to the inventory.

Pippete also does not work with it. It tries to select a normal lamp instead of the inlaid lamp.
Maybe that is why replacing does not return the old lamp, since factorio thinks its the same entity type that was placed

5 years ago

@nagapito
thanks for the headsup! fixed!
problem was the lamps didnt even collide with buildings or anything, so it wouldnt replace the lamp, but build it underneath the existing.
im guessing thats why the pipette didnt work for you either.
tested both things in new version and works! is now fast replaceable with the normal small lamp and vice versa

New response