Larger Lamps 2.0


2x2 lamps that cast a wide, soft glow: an electric lamp that is signal compatible, a copper lamp that burns solid fuel, and a floor lamp panel that can be walked over.

Content
9 days ago
2.0
3.65K
Circuit network

b Floor lamps have no placement collision

2 months ago

Floor lamps can be placed atop other floor lamps. I'm guessing that floor lamps have no collision with buildings so that you can place them under other buildings, but it leads to strange behavior where they can be placed beneath other floor lamps infinitely. It also makes it so that you can't place a blueprint of a new floor lamp over an old one to copy behavior, as it just creates a second lamp with the new settings.

Is it not possible to limit them to colliding with only themselves, or create a whitelist of stuff that they are allowed to collide with? (Honestly it seems strange to have them not collide in the first place, but that's neither here nor there.)

9 days ago

yes i know its an issue

the issue is

-- floor lamp
data:extend({{
name = DLL.floor_name, -- deadlock-floor-lamp
type = "lamp",
collision_box = {{0, 0}, {0, 0}},
selection_box = { {-1.0,-1.0}, {1.0,1.0} },

not entirely sure how to fix it

9 days ago

i have a fix, but it fucks a bit with the graphics if vehicles are on it. (you see the lamp shine a bit trough the vehicle)
see if i can fix it

9 days ago

fixed