From: Zefram Date: Fri, 22 Aug 2014 00:01:44 +0000 (+0100) Subject: Update wrench's metadata for technic machines X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=7ab3f9bed267598791856ca984616e9401e28708;p=zefram%2Fminetest%2Ftechnic.git Update wrench's metadata for technic machines The changes that this covers are that the alloy furnaces now have one "src" inventory instead of a "src" and "src2"; that the tool workshop is now MV; and the existence of MV compressor, extractor, and centrifuge. --- diff --git a/wrench/technic.lua b/wrench/technic.lua index 4122e35..c07e3d7 100644 --- a/wrench/technic.lua +++ b/wrench/technic.lua @@ -93,7 +93,7 @@ wrench:register_node("technic:mv_electric_furnace_active", { src_time = INT}, }) wrench:register_node("technic:coal_alloy_furnace", { - lists = {"fuel", "src", "src2", "dst"}, + lists = {"fuel", "src", "dst"}, metas = {infotext = STRING, fuel_totaltime = FLOAT, fuel_time = FLOAT, @@ -101,7 +101,7 @@ wrench:register_node("technic:coal_alloy_furnace", { src_time = FLOAT}, }) wrench:register_node("technic:coal_alloy_furnace_active", { - lists = {"fuel", "src", "src2", "dst"}, + lists = {"fuel", "src", "dst"}, metas = {infotext = STRING, fuel_totaltime = FLOAT, fuel_time = FLOAT, @@ -109,7 +109,7 @@ wrench:register_node("technic:coal_alloy_furnace_active", { src_time = FLOAT}, }) wrench:register_node("technic:alloy_furnace", { - lists = {"src", "src2", "dst"}, + lists = {"src", "dst"}, metas = {infotext = STRING, formspec = STRING, LV_EU_demand = INT, @@ -118,7 +118,7 @@ wrench:register_node("technic:alloy_furnace", { src_time = INT}, }) wrench:register_node("technic:alloy_furnace_active", { - lists = {"src", "src2", "dst"}, + lists = {"src", "dst"}, metas = {infotext = STRING, formspec = STRING, LV_EU_demand = INT, @@ -127,7 +127,7 @@ wrench:register_node("technic:alloy_furnace_active", { src_time = INT}, }) wrench:register_node("technic:mv_alloy_furnace", { - lists = {"src", "src2", "dst", "upgrade1", "upgrade2"}, + lists = {"src", "dst", "upgrade1", "upgrade2"}, metas = {infotext = STRING, formspec = STRING, MV_EU_demand = INT, @@ -136,7 +136,7 @@ wrench:register_node("technic:mv_alloy_furnace", { src_time = INT}, }) wrench:register_node("technic:mv_alloy_furnace_active", { - lists = {"src", "src2", "dst", "upgrade1", "upgrade2"}, + lists = {"src", "dst", "upgrade1", "upgrade2"}, metas = {infotext = STRING, formspec = STRING, MV_EU_demand = INT, @@ -145,11 +145,12 @@ wrench:register_node("technic:mv_alloy_furnace_active", { src_time = INT}, }) wrench:register_node("technic:tool_workshop", { - lists = {"src"}, + lists = {"src", "upgrade1", "upgrade2"}, metas = {infotext = STRING, formspec = STRING, - LV_EU_demand = INT, - LV_EU_input = INT}, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT}, }) wrench:register_node("technic:grinder", { lists = {"src", "dst"}, @@ -201,6 +202,24 @@ wrench:register_node("technic:extractor_active", { LV_EU_input = INT, src_time = INT}, }) +wrench:register_node("technic:mv_extractor", { + lists = {"src", "dst", "upgrade1", "upgrade2"}, + metas = {infotext = STRING, + formspec = STRING, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT, + src_time = INT}, +}) +wrench:register_node("technic:mv_extractor_active", { + lists = {"src", "dst", "upgrade1", "upgrade2"}, + metas = {infotext = STRING, + formspec = STRING, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT, + src_time = INT}, +}) wrench:register_node("technic:compressor", { lists = {"src", "dst"}, metas = {infotext = STRING, @@ -217,6 +236,24 @@ wrench:register_node("technic:compressor_active", { LV_EU_input = INT, src_time = INT}, }) +wrench:register_node("technic:mv_compressor", { + lists = {"src", "dst", "upgrade1", "upgrade2"}, + metas = {infotext = STRING, + formspec = STRING, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT, + src_time = INT}, +}) +wrench:register_node("technic:mv_compressor_active", { + lists = {"src", "dst", "upgrade1", "upgrade2"}, + metas = {infotext = STRING, + formspec = STRING, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT, + src_time = INT}, +}) wrench:register_node("technic:cnc", { lists = {"src", "dst"}, metas = {infotext = STRING, @@ -235,6 +272,24 @@ wrench:register_node("technic:cnc_active", { src_time = INT, cnc_product = STRING}, }) +wrench:register_node("technic:mv_centrifuge", { + lists = {"src", "dst", "upgrade1", "upgrade2"}, + metas = {infotext = STRING, + formspec = STRING, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT, + src_time = INT}, +}) +wrench:register_node("technic:mv_centrifuge_active", { + lists = {"src", "dst", "upgrade1", "upgrade2"}, + metas = {infotext = STRING, + formspec = STRING, + MV_EU_demand = INT, + MV_EU_input = INT, + tube_time = INT, + src_time = INT}, +}) local chest_mark_colors = {