summaryrefslogtreecommitdiff
path: root/pipeworks
diff options
context:
space:
mode:
Diffstat (limited to 'pipeworks')
-rw-r--r--pipeworks/compat.lua8
-rw-r--r--pipeworks/description.txt1
-rw-r--r--pipeworks/mod.conf1
-rw-r--r--pipeworks/screenshot.pngbin0 -> 92579 bytes
4 files changed, 10 insertions, 0 deletions
diff --git a/pipeworks/compat.lua b/pipeworks/compat.lua
index c89e492..9c956e6 100644
--- a/pipeworks/compat.lua
+++ b/pipeworks/compat.lua
@@ -15,6 +15,10 @@ minetest.override_item("default:furnace", {
insert_object = function(pos, node, stack, direction)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
+ local timer = minetest.get_node_timer(pos)
+ if not timer:is_started() then
+ timer:start(1.0)
+ end
if direction.y == 1 then
return inv:add_item("fuel",stack)
else
@@ -60,6 +64,10 @@ minetest.override_item("default:furnace_active", {
insert_object = function(pos,node,stack,direction)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
+ local timer = minetest.get_node_timer(pos)
+ if not timer:is_started() then
+ timer:start(1.0)
+ end
if direction.y == 1 then
return inv:add_item("fuel", stack)
else
diff --git a/pipeworks/description.txt b/pipeworks/description.txt
new file mode 100644
index 0000000..9e6e800
--- /dev/null
+++ b/pipeworks/description.txt
@@ -0,0 +1 @@
+This mod uses nodeboxes to supply a complete set of 3D pipes and tubes, along devices that work with them.
diff --git a/pipeworks/mod.conf b/pipeworks/mod.conf
new file mode 100644
index 0000000..d9d2984
--- /dev/null
+++ b/pipeworks/mod.conf
@@ -0,0 +1 @@
+name = pipeworks
diff --git a/pipeworks/screenshot.png b/pipeworks/screenshot.png
new file mode 100644
index 0000000..686d955
--- /dev/null
+++ b/pipeworks/screenshot.png
Binary files differ