From b498fbb4fcb10d4fa40dc3ef1ecc08b5f8fb183a Mon Sep 17 00:00:00 2001 From: Sirrobzeroone <44497598+sirrobzeroone@users.noreply.github.com> Date: Sun, 27 Jun 2021 22:58:38 +1000 Subject: [PATCH] Minor Tome corrections --- elepower_tome/i_eletome_additional_info.lua | 4 ++-- elepower_tome/i_page_machines.lua | 2 +- elepower_tome/init.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/elepower_tome/i_eletome_additional_info.lua b/elepower_tome/i_eletome_additional_info.lua index 98cfd93..f1a45c5 100644 --- a/elepower_tome/i_eletome_additional_info.lua +++ b/elepower_tome/i_eletome_additional_info.lua @@ -428,10 +428,10 @@ eletome.ai.nodes["elepower_machines:alloy_furnace"] = {lb_top_img = "defaul how_use = "" } -eletome.ai.nodes["elepower_machines:electrolyzer"] = {how_use = "The Electrolyzer is used to create gases out of certain fluids. The electrolyzer can accept three ".. +eletome.ai.nodes["elepower_machines:electrolyzer"] = {how_use_1 = "The Electrolyzer is used to create gases out of certain fluids. The electrolyzer can accept three ".. "fluids/liquids, although not at the same time - water, heavy water and biofuel. The electrolyzer will ".. "at the cost of 128 EpUs a second break each down into different gases, see table below\n ", - how_use_p2 = "To extract gas from the electrolyzer you will need a fluid pump, bucketeer and an empty gas canister. ".. + how_use_2 = "To extract gas from the electrolyzer you will need a fluid pump, bucketeer and an empty gas canister. ".. "The electrolyzer can only output to a single bucketeer so you will need to empty one gas completely before ".. "you will be able to bottle the second gas (always oxygen).", hu_img_1 = "elepower_tome_electrolyzer_outputs.png", diff --git a/elepower_tome/i_page_machines.lua b/elepower_tome/i_page_machines.lua index 449aa32..adc094e 100644 --- a/elepower_tome/i_page_machines.lua +++ b/elepower_tome/i_page_machines.lua @@ -151,7 +151,7 @@ function eletome.machines(machine,page_num) lb_btm_tt = add_info.nodes[name_reg].lb_btm_tt or " EpUs per second" mb_title_txt = add_info.nodes[name_reg].mb_title_txt or nil mb_recipe_items = add_info.nodes[name_reg].mb_recipe_items or nil - how_use = add_info.nodes[name_reg].how_use or nil + how_use = add_info.nodes[name_reg].how_use_1 or nil end -- catch empty recipe.items and check new crafts diff --git a/elepower_tome/init.lua b/elepower_tome/init.lua index 9b291ae..5eff94e 100644 --- a/elepower_tome/init.lua +++ b/elepower_tome/init.lua @@ -130,7 +130,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) local node_name for k,v in pairs(eletome.ai.nodes) do if fields[k] then - if eletome.ai.nodes[k].how_use then + if eletome.ai.nodes[k].how_use_1 then how_use = true node_name = k end