Minor Tome corrections

This commit is contained in:
Sirrobzeroone 2021-06-27 22:58:38 +10:00
parent 2897e859b9
commit b498fbb4fc
3 changed files with 4 additions and 4 deletions

View File

@ -428,10 +428,10 @@ eletome.ai.nodes["elepower_machines:alloy_furnace"] = {lb_top_img = "defaul
how_use = "" 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 ".. "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 ", "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 ".. "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).", "you will be able to bottle the second gas (always oxygen).",
hu_img_1 = "elepower_tome_electrolyzer_outputs.png", hu_img_1 = "elepower_tome_electrolyzer_outputs.png",

View File

@ -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" 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_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 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 end
-- catch empty recipe.items and check new crafts -- catch empty recipe.items and check new crafts

View File

@ -130,7 +130,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local node_name local node_name
for k,v in pairs(eletome.ai.nodes) do for k,v in pairs(eletome.ai.nodes) do
if fields[k] then if fields[k] then
if eletome.ai.nodes[k].how_use then if eletome.ai.nodes[k].how_use_1 then
how_use = true how_use = true
node_name = k node_name = k
end end