forked from mtcontrib/homedecor_modpack
make homedecor game agnostic (#28)
* make materials.lua with hades, minetest game, farlands items * make textures file for central handling * make mods game agnostic * take out the trash * handle multiple seats in sofas * add github luacheck workflow and various luacheck fixes * add fluxionary scope creep * fix devtest breaking right to a name policy Co-authored-by: wsor4035 <24964441+wsor4035@users.noreply.github.com> Co-authored-by: SFENCE <sfence.software@gmail.com>
This commit is contained in:
@ -1,21 +0,0 @@
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_comment_line_length = 999
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest", "core",
|
||||
"unpack",
|
||||
"dump",
|
||||
table = { fields = { "copy", "getn" } },
|
||||
"vector", "nodeupdate",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"default",
|
||||
"mesecon",
|
||||
"screwdriver",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -137,7 +137,9 @@ minetest.register_node("itemframes:frame",{
|
||||
sunlight_propagates = true,
|
||||
groups = {choppy = 2, dig_immediate = 2},
|
||||
legacy_wallmounted = true,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
_sound_def = {
|
||||
key = "node_sound_wood_defaults",
|
||||
},
|
||||
on_rotate = sd_disallow or nil,
|
||||
after_place_node = function(pos, placer, itemstack)
|
||||
local meta = minetest.get_meta(pos)
|
||||
@ -213,8 +215,10 @@ minetest.register_node("itemframes:pedestal",{
|
||||
--},
|
||||
tiles = {"itemframes_pedestal.png"},
|
||||
paramtype = "light",
|
||||
groups = {cracky = 3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
groups = {cracky = 3, dig_stone = 2},
|
||||
_sound_def = {
|
||||
key = "node_sound_stone_defaults",
|
||||
},
|
||||
on_rotate = sd_disallow or nil,
|
||||
after_place_node = function(pos, placer, itemstack)
|
||||
local meta = minetest.get_meta(pos)
|
||||
@ -308,7 +312,7 @@ minetest.register_craft({
|
||||
output = 'itemframes:frame',
|
||||
recipe = {
|
||||
{'group:stick', 'group:stick', 'group:stick'},
|
||||
{'group:stick', 'default:paper', 'default:stick'},
|
||||
{'group:stick', homedecor.materials.paper, 'default:stick'},
|
||||
{'group:stick', 'group:stick', 'group:stick'},
|
||||
}
|
||||
})
|
||||
@ -316,9 +320,9 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = 'itemframes:pedestal',
|
||||
recipe = {
|
||||
{'default:stone', 'default:stone', 'default:stone'},
|
||||
{'', 'default:stone', ''},
|
||||
{'default:stone', 'default:stone', 'default:stone'},
|
||||
{homedecor.materials.stone, homedecor.materials.stone, homedecor.materials.stone},
|
||||
{'', homedecor.materials.stone, ''},
|
||||
{homedecor.materials.stone, homedecor.materials.stone, homedecor.materials.stone},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
name = itemframes
|
||||
depends = default, homedecor_common
|
||||
optional_depends = mesecons_mvps, screwdriver
|
||||
depends = homedecor_common
|
||||
optional_depends = mesecons_mvps, screwdriver, default
|
||||
|
Reference in New Issue
Block a user