move wall switch up a bit (almost centered now)

Tento commit je obsažen v:
Vanessa Dannenberg
2019-05-26 02:17:21 -04:00
rodič bf7e47342f
revize 7cdfc3b49c
5 změnil soubory, kde provedl 5 přidání a 5 odebrání

Zobrazit soubor

@@ -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},

Binární soubor nebyl zobrazen.

Před

Šířka:  |  Výška:  |  Velikost: 310 B

Za

Šířka:  |  Výška:  |  Velikost: 368 B

Binární soubor nebyl zobrazen.

Před

Šířka:  |  Výška:  |  Velikost: 175 B

Za

Šířka:  |  Výška:  |  Velikost: 167 B

Binární soubor nebyl zobrazen.

Před

Šířka:  |  Výška:  |  Velikost: 277 B

Za

Šířka:  |  Výška:  |  Velikost: 281 B

Binární soubor nebyl zobrazen.

Před

Šířka:  |  Výška:  |  Velikost: 278 B

Za

Šířka:  |  Výška:  |  Velikost: 284 B