Skip to content

Commit 059caac

Browse files
committed
Fix luacheck syntax warnings
1 parent f08bdf5 commit 059caac

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

technic/machines/register/machine_base.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function technic.register_base_machine(data)
3737
local machine_desc = data.machine_desc
3838
local tier = data.tier
3939
local ltier = string.lower(tier)
40-
40+
4141
data.modname = data.modname or minetest.get_current_modname()
4242

4343
local groups = {cracky = 2, technic_machine = 1, ["technic_"..ltier] = 1}

technic/machines/register/recipes.lua

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
local S = minetest.get_translator("technic")
2-
31
local have_ui = minetest.get_modpath("unified_inventory")
42

53
technic.recipes = { cooking = { input_size = 1, output_size = 1 } }

technic_chests/common.lua

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
-- Translation support
2-
local S = minetest.get_translator("technic_chests")
3-
41
technic.chests.groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
52
tubedevice=1, tubedevice_receiver=1}
63
technic.chests.groups_noinv = {snappy=2, choppy=2, oddly_breakable_by_hand=2,

technic_worldgen/nodes.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ minetest.register_craft({
144144
minetest.register_alias("technic:diamond_block", "default:diamondblock")
145145
minetest.register_alias("technic:diamond", "default:diamond")
146146
minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond")
147-
147+
148148
local steel_to_wrought_iron = {
149149
{name="stairs:stair_outer_steelblock", description=S("Outer Wrought Iron Block Stair")},
150150
{name="stairs:stair_inner_steelblock", description=S("Inner Wrought Iron Block Stair")},

wrench/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dofile(modpath.."/support.lua")
2020
dofile(modpath.."/technic.lua")
2121

2222
-- Translation support
23-
local S = minetest.get_translator("technic_wrench")
23+
local S = minetest.get_translator("technic_wrench")
2424

2525
local function get_meta_type(name, metaname)
2626
local def = wrench.registered_nodes[name]

0 commit comments

Comments
 (0)