mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-15 12:10:25 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@ -4,12 +4,14 @@ local tmp = {}
|
||||
local sd_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
||||
|
||||
minetest.register_entity("itemframes:item",{
|
||||
hp_max = 1,
|
||||
visual="wielditem",
|
||||
visual_size={x = 0.33, y = 0.33},
|
||||
collisionbox = {0, 0, 0, 0, 0, 0},
|
||||
physical = false,
|
||||
textures = {"air"},
|
||||
initial_properties = {
|
||||
hp_max = 1,
|
||||
visual = "wielditem",
|
||||
visual_size = {x = 0.33, y = 0.33},
|
||||
collisionbox = {0, 0, 0, 0, 0, 0},
|
||||
physical = false,
|
||||
textures = {"air"},
|
||||
},
|
||||
on_activate = function(self, staticdata)
|
||||
if tmp.nodename ~= nil and tmp.texture ~= nil then
|
||||
self.nodename = tmp.nodename
|
||||
@ -140,6 +142,7 @@ minetest.register_node("itemframes:frame",{
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
groups = {choppy = 2, dig_immediate = 2, axey=5},
|
||||
is_ground_content = false,
|
||||
_mcl_hardness=1.6,
|
||||
legacy_wallmounted = true,
|
||||
_sound_def = {
|
||||
@ -221,6 +224,7 @@ minetest.register_node("itemframes:pedestal",{
|
||||
tiles = {"itemframes_pedestal.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3, dig_stone = 2, pickaxey=5},
|
||||
is_ground_content = false,
|
||||
_mcl_hardness=1.6,
|
||||
_sound_def = {
|
||||
key = "node_sound_stone_defaults",
|
||||
|
Reference in New Issue
Block a user