mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-13 03:20:19 +02:00
Moved detection of infinite creative-mode stacks to init.lua, changed lights and tables to use it. Fixed tables properly. Fixed missing drops in large square tables. Fixed incorrect texture placement on on-side small square glass and wood tables.
This commit is contained in:
6
init.lua
6
init.lua
@ -59,6 +59,12 @@ function homedecor_node_is_owned(pos, placer)
|
||||
end
|
||||
end
|
||||
|
||||
if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then
|
||||
homedecor_expect_infinite_stacks = false
|
||||
else
|
||||
homedecor_expect_infinite_stacks = true
|
||||
end
|
||||
|
||||
dofile(minetest.get_modpath("homedecor").."/nodes.lua") -- the catch-all for all misc nodes
|
||||
dofile(minetest.get_modpath("homedecor").."/tables.lua")
|
||||
dofile(minetest.get_modpath("homedecor").."/electronics.lua")
|
||||
|
Reference in New Issue
Block a user