MT5 translation for homedecor_common

- Remove intllib support
- Fix luacheck warnings (except for 1 I don't know what to do)
- Removes homedecor_common/mt_game_beds_functions.lua (we can get the
function directly from `beds` mod instead of using an obsolete copie; I
have not re-enabled bed-sleeping, but it should work)
This commit is contained in:
Louis Royer
2020-08-05 02:36:06 +02:00
parent f0ab7a6c78
commit 1c7ceb2e90
34 changed files with 307 additions and 17060 deletions

View File

@ -45,8 +45,8 @@ function homedecor.register(name, original_def)
-- dissallow rotating only half the expanded node by default
-- unless we know better
def.on_rotate = def.on_rotate
or (def.mesh and expand.top and screwdriver.rotate_simple)
or screwdriver.disallow
or (minetest.get_modpath("screwdriver") and (def.mesh and expand.top and screwdriver.rotate_simple)
or screwdriver.disallow) or nil
def.on_place = def.on_place or function(itemstack, placer, pointed_thing)
if expand.top then