diff --git a/technic/machines/register/machine_base.lua b/technic/machines/register/machine_base.lua index 849257642..1f5ac409c 100644 --- a/technic/machines/register/machine_base.lua +++ b/technic/machines/register/machine_base.lua @@ -37,7 +37,7 @@ function technic.register_base_machine(data) local machine_desc = data.machine_desc local tier = data.tier local ltier = string.lower(tier) - + data.modname = data.modname or minetest.get_current_modname() local groups = {cracky = 2, technic_machine = 1, ["technic_"..ltier] = 1} diff --git a/technic/machines/register/recipes.lua b/technic/machines/register/recipes.lua index 97e22b65b..921d1c8f8 100644 --- a/technic/machines/register/recipes.lua +++ b/technic/machines/register/recipes.lua @@ -1,5 +1,3 @@ -local S = minetest.get_translator("technic") - local have_ui = minetest.get_modpath("unified_inventory") technic.recipes = { cooking = { input_size = 1, output_size = 1 } } diff --git a/technic_chests/common.lua b/technic_chests/common.lua index a0fdbabe8..0f988b005 100644 --- a/technic_chests/common.lua +++ b/technic_chests/common.lua @@ -1,6 +1,3 @@ --- Translation support -local S = minetest.get_translator("technic_chests") - technic.chests.groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, tubedevice=1, tubedevice_receiver=1} technic.chests.groups_noinv = {snappy=2, choppy=2, oddly_breakable_by_hand=2, diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua index a4496b8e5..aab7ce8df 100644 --- a/technic_worldgen/nodes.lua +++ b/technic_worldgen/nodes.lua @@ -144,7 +144,7 @@ minetest.register_craft({ minetest.register_alias("technic:diamond_block", "default:diamondblock") minetest.register_alias("technic:diamond", "default:diamond") minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond") - + local steel_to_wrought_iron = { {name="stairs:stair_outer_steelblock", description=S("Outer Wrought Iron Block Stair")}, {name="stairs:stair_inner_steelblock", description=S("Inner Wrought Iron Block Stair")}, diff --git a/wrench/init.lua b/wrench/init.lua index 71475efb8..d58b96486 100644 --- a/wrench/init.lua +++ b/wrench/init.lua @@ -20,7 +20,7 @@ dofile(modpath.."/support.lua") dofile(modpath.."/technic.lua") -- Translation support -local S = minetest.get_translator("technic_wrench") +local S = minetest.get_translator("technic_wrench") local function get_meta_type(name, metaname) local def = wrench.registered_nodes[name]