From 86ad3e7c6a37699f7f8297a387bf08af74e36629 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 22:10:20 -0400 Subject: Update all core mods --- pipeworks/compat.lua | 8 ++++++++ pipeworks/description.txt | 1 + pipeworks/mod.conf | 1 + pipeworks/screenshot.png | Bin 0 -> 92579 bytes 4 files changed, 10 insertions(+) create mode 100644 pipeworks/description.txt create mode 100644 pipeworks/mod.conf create mode 100644 pipeworks/screenshot.png (limited to 'pipeworks') 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 Binary files /dev/null and b/pipeworks/screenshot.png differ -- cgit v1.2.3