bugfixes
This commit is contained in:
parent
74b62368ba
commit
04815fea32
@ -226,7 +226,7 @@ minetest.register_node("techage:boiler1", {
|
|||||||
fixed = {-8/32, -16/32, -8/32, 8/32, 16/32, 8/32},
|
fixed = {-8/32, -16/32, -8/32, 8/32, 16/32, 8/32},
|
||||||
},
|
},
|
||||||
|
|
||||||
paramtype2 = "facedir",
|
--paramtype2 = "facedir",
|
||||||
groups = {cracky=1},
|
groups = {cracky=1},
|
||||||
on_rotate = screwdriver.disallow,
|
on_rotate = screwdriver.disallow,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
@ -291,7 +291,7 @@ minetest.register_node("techage:boiler2", {
|
|||||||
minetest.after(0.5, move_to_water, pos)
|
minetest.after(0.5, move_to_water, pos)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
paramtype2 = "facedir",
|
--paramtype2 = "facedir",
|
||||||
groups = {cracky=1},
|
groups = {cracky=1},
|
||||||
on_rotate = screwdriver.disallow,
|
on_rotate = screwdriver.disallow,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
@ -82,6 +82,7 @@ local function distibuting(pos, mem)
|
|||||||
else
|
else
|
||||||
State:fault(pos, mem)
|
State:fault(pos, mem)
|
||||||
start_cylinder(pos, false)
|
start_cylinder(pos, false)
|
||||||
|
generator.turn_power_on(pos, 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -94,6 +95,7 @@ local function node_timer(pos, elapsed)
|
|||||||
else
|
else
|
||||||
State:fault(pos, mem)
|
State:fault(pos, mem)
|
||||||
start_cylinder(pos, false)
|
start_cylinder(pos, false)
|
||||||
|
generator.turn_power_on(pos, 0)
|
||||||
end
|
end
|
||||||
return State:is_active(mem)
|
return State:is_active(mem)
|
||||||
end
|
end
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue
Block a user