|
|
@ -106,9 +106,9 @@ do |
|
|
|
retroactive = true, |
|
|
|
retroactive = true, |
|
|
|
func = function(name, def) |
|
|
|
func = function(name, def) |
|
|
|
if def.groups and def.groups.door then |
|
|
|
if def.groups and def.groups.door then |
|
|
|
local panel = def.drop_in_place -- The panel version of the door. |
|
|
|
local panel = def.drop_in_place.name -- The panel version of the door. |
|
|
|
local pin = def.drop -- Dropped item is the door's pin. |
|
|
|
local pin = def.drop_non_silktouch or def.drop -- Dropped item is the door's pin. |
|
|
|
replace_panel_on_rightclick(panel.name, pin.name) |
|
|
|
replace_panel_on_rightclick(panel, pin) |
|
|
|
end |
|
|
|
end |
|
|
|
end, |
|
|
|
end, |
|
|
|
}) |
|
|
|
}) |
|
|
|