Fix luacheck syntax warnings

This commit is contained in:
Louis 2020-08-12 21:17:47 +02:00
parent 08343b172a
commit 0878430fe5
4 changed files with 2 additions and 7 deletions

View File

@ -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 } }

View File

@ -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,

View File

@ -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")},

View File

@ -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]