From ceb8a71f27b45c304ce2626cc4f939a52323b192 Mon Sep 17 00:00:00 2001 From: kpoppel <poulsen.kim@gmail.com> Date: Mon, 03 Jun 2013 23:48:46 +0200 Subject: [PATCH] Merge pull request #19 from kpoppel/master --- technic/battery_box_hv.lua | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/technic/battery_box_hv.lua b/technic/battery_box_hv.lua index 05166eb..e565d4c 100644 --- a/technic/battery_box_hv.lua +++ b/technic/battery_box_hv.lua @@ -13,7 +13,7 @@ output = 'technic:hv_battery_box 1', recipe = { {'technic:mv_battery_box', 'technic:mv_battery_box', 'mv_technic:battery_box'}, - {'technic:mv_battery_box', 'technic:transformer', 'mv_technic:battery_box'}, + {'technic:mv_battery_box', 'technic:hv_transformer', 'mv_technic:battery_box'}, {'', 'technic:hv_cable', ''}, } }) @@ -78,7 +78,7 @@ drop="technic:hv_battery_box", on_construct = function(pos) local meta = minetest.env:get_meta(pos) - meta:set_string("infotext", "hv Battery box") + meta:set_string("infotext", "HV Battery box") meta:set_float("technic_hv_power_machine", 1) meta:set_string("formspec", battery_box_formspec) local inv = meta:get_inventory() @@ -342,7 +342,7 @@ function check_HV_node_subp (PR_nodes,RE_nodes,HV_nodes,pos1) meta = minetest.env:get_meta(pos1) -if meta:get_float("HV_cablelike")==1 then new_node_added=add_new_HVcable_node(HV_nodes,pos1) end +if meta:get_float("hv_cablelike")==1 then new_node_added=add_new_HVcable_node(HV_nodes,pos1) end for i in ipairs(HV_machines) do if minetest.env:get_node(pos1).name == HV_machines[i].machine_name then if HV_machines[i].machine_type == "PR" then -- Gitblit v1.8.0