mirror of
https://github.com/minetest-mods/technic.git
synced 2025-04-16 01:10:37 +02:00
Fix luacheck syntax warnings
This commit is contained in:
parent
08343b172a
commit
0878430fe5
@ -1,5 +1,3 @@
|
|||||||
local S = minetest.get_translator("technic")
|
|
||||||
|
|
||||||
local have_ui = minetest.get_modpath("unified_inventory")
|
local have_ui = minetest.get_modpath("unified_inventory")
|
||||||
|
|
||||||
technic.recipes = { cooking = { input_size = 1, output_size = 1 } }
|
technic.recipes = { cooking = { input_size = 1, output_size = 1 } }
|
||||||
|
@ -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,
|
technic.chests.groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||||
tubedevice=1, tubedevice_receiver=1}
|
tubedevice=1, tubedevice_receiver=1}
|
||||||
technic.chests.groups_noinv = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
technic.chests.groups_noinv = {snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||||
|
@ -144,7 +144,7 @@ minetest.register_craft({
|
|||||||
minetest.register_alias("technic:diamond_block", "default:diamondblock")
|
minetest.register_alias("technic:diamond_block", "default:diamondblock")
|
||||||
minetest.register_alias("technic:diamond", "default:diamond")
|
minetest.register_alias("technic:diamond", "default:diamond")
|
||||||
minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond")
|
minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond")
|
||||||
|
|
||||||
local steel_to_wrought_iron = {
|
local steel_to_wrought_iron = {
|
||||||
{name="stairs:stair_outer_steelblock", description=S("Outer Wrought Iron Block Stair")},
|
{name="stairs:stair_outer_steelblock", description=S("Outer Wrought Iron Block Stair")},
|
||||||
{name="stairs:stair_inner_steelblock", description=S("Inner Wrought Iron Block Stair")},
|
{name="stairs:stair_inner_steelblock", description=S("Inner Wrought Iron Block Stair")},
|
||||||
|
@ -20,7 +20,7 @@ dofile(modpath.."/support.lua")
|
|||||||
dofile(modpath.."/technic.lua")
|
dofile(modpath.."/technic.lua")
|
||||||
|
|
||||||
-- Translation support
|
-- Translation support
|
||||||
local S = minetest.get_translator("technic_wrench")
|
local S = minetest.get_translator("technic_wrench")
|
||||||
|
|
||||||
local function get_meta_type(name, metaname)
|
local function get_meta_type(name, metaname)
|
||||||
local def = wrench.registered_nodes[name]
|
local def = wrench.registered_nodes[name]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user