From f43fa38003bc6f0dc070a3eea55cd5993e988b0c Mon Sep 17 00:00:00 2001 From: iliekprogrammar Date: Thu, 30 Sep 2021 22:43:56 +0800 Subject: [PATCH] [WIP] localised names. --- mods/HUD/mcl_inventory/init.lua | 9 +++++---- mods/ITEMS/mcl_chests/init.lua | 8 +++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 9e78773da..b5355ae70 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -1,12 +1,13 @@ -local minetest, math, table, mcl_formspec = - minetest, math, table, mcl_formspec +local minetest, math, table, mcl_armor, mcl_formspec, mcl_player = + minetest, math, table, mcl_armor, mcl_formspec, mcl_player + +mcl_inventory = {} +local mcl_inventory = mcl_inventory local S = minetest.get_translator(minetest.get_current_modname()) local F = minetest.formspec_escape local C = minetest.colorize -mcl_inventory = {} - --local mod_player = minetest.get_modpath("mcl_player") --local mod_craftguide = minetest.get_modpath("mcl_craftguide") diff --git a/mods/ITEMS/mcl_chests/init.lua b/mods/ITEMS/mcl_chests/init.lua index 3976e4d6f..09627f3a6 100644 --- a/mods/ITEMS/mcl_chests/init.lua +++ b/mods/ITEMS/mcl_chests/init.lua @@ -1,11 +1,9 @@ +local minetest, math, string, table, mcl_formspec, mcl_util = + minetest, math, string, table, mcl_formspec, mcl_util + local S = minetest.get_translator(minetest.get_current_modname()) local F = minetest.formspec_escape local C = minetest.colorize - -local string = string -local table = table -local math = math - local sf = string.format local mod_doc = minetest.get_modpath("doc")