1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-15 12:10:25 +02:00

remove homedecor_i18n and merged into homedecor_common, fixed meseon global error

This commit is contained in:
TenPlus1
2019-04-21 16:25:21 +01:00
parent 8b78caf7c6
commit 0cd8bd7780
95 changed files with 74 additions and 107 deletions

View File

@ -3,11 +3,14 @@
local modpath = minetest.get_modpath("homedecor_common")
local S = homedecor_i18n.gettext
homedecor = {}
homedecor.modpath = modpath
-- Intllib support
homedecor.gettext, homedecor.ngettext = dofile(modpath.."/intllib.lua")
local S = homedecor.gettext
-- Determine if the item being pointed at is the underside of a node (e.g a ceiling)
function homedecor.find_ceiling(itemstack, placer, pointed_thing)
-- most of this is copied from the rotate-and-place function in builtin