changed default orientation of spigot to make it easier to place.

This commit is contained in:
Vanessa Ezekowitz 2013-01-01 18:00:16 -05:00
parent 4eaad14048
commit dc5617db89
2 changed files with 6 additions and 6 deletions

View File

@ -130,22 +130,22 @@ function pipes_scansurroundings(pos)
-- ...spigots... -- ...spigots...
if (string.find(nxm.name, "pipeworks:spigot") ~= nil) if (string.find(nxm.name, "pipeworks:spigot") ~= nil)
and nxm.param2 == 2 then and nxm.param2 == 1 then
pxm=1 pxm=1
end end
if (string.find(nxp.name, "pipeworks:spigot") ~= nil) if (string.find(nxp.name, "pipeworks:spigot") ~= nil)
and nxp.param2 == 0 then and nxp.param2 == 3 then
pxp=1 pxp=1
end end
if (string.find(nzm.name, "pipeworks:spigot") ~= nil) if (string.find(nzm.name, "pipeworks:spigot") ~= nil)
and nzm.param2 == 1 then and nzm.param2 == 0 then
pzm=1 pzm=1
end end
if (string.find(nzp.name, "pipeworks:spigot") ~= nil) if (string.find(nzp.name, "pipeworks:spigot") ~= nil)
and nzp.param2 == 3 then and nzp.param2 == 2 then
pzp=1 pzp=1
end end

View File

@ -171,7 +171,7 @@ minetest.register_node("pipeworks:grating", {
-- outlet spigot -- outlet spigot
local spigotboxes = {} local spigotboxes = {}
pipe_addbox(spigotboxes, pipe_leftstub) pipe_addbox(spigotboxes, pipe_backstub)
pipe_addbox(spigotboxes, spigot_bottomstub) pipe_addbox(spigotboxes, spigot_bottomstub)
pipe_addbox(spigotboxes, pipe_bendsphere) pipe_addbox(spigotboxes, pipe_bendsphere)
@ -209,7 +209,7 @@ minetest.register_node("pipeworks:spigot", {
}, },
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -8/16, -6/16, -2/16, 2/16, 2/16, 2/16 } fixed = { -2/16, -6/16, -2/16, 2/16, 2/16, 8/16 }
} }
}) })