move wall switch up a bit (almost centered now)
@ -65,14 +65,14 @@ homedecor.register("power_outlet", {
|
||||
for _, onoff in ipairs ({"on", "off"}) do
|
||||
|
||||
local model = {
|
||||
{ -0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5 },
|
||||
{ -0.03125, -0.3125, 0.40625, 0.03125, -0.25, 0.5 },
|
||||
{ -0.125, -0.1875, 0.4375, 0.125, 0.125, 0.5 },
|
||||
{ -0.03125, 0, 0.40625, 0.03125, 0.0625, 0.5 },
|
||||
}
|
||||
|
||||
if onoff == "on" then
|
||||
model = {
|
||||
{ -0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5 },
|
||||
{ -0.03125, -0.4375, 0.40625, 0.03125, -0.375, 0.5 },
|
||||
{ -0.125, -0.1875, 0.4375, 0.125, 0.125, 0.5 },
|
||||
{ -0.03125, -0.125, 0.40625, 0.03125, -0.0625, 0.5 },
|
||||
}
|
||||
end
|
||||
|
||||
@ -94,7 +94,7 @@ for _, onoff in ipairs ({"on", "off"}) do
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -0.1875, -0.5625, 0.375, 0.1875, -0.1250, 0.5 },
|
||||
{ -0.1875, -0.25, 0.375, 0.1875, 0.1875, 0.5 },
|
||||
}
|
||||
},
|
||||
groups = {cracky=3, dig_immediate=2, mesecon_needs_receiver=1, not_in_creative_inventory = (onoff == "on") and 1 or nil},
|
||||
|
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 368 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 284 B |