mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-06-28 12:56:01 +02:00
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,20 +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",
|
||||
"unifieddyes",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -35,7 +35,9 @@ minetest.register_node("lavalamp:lavalamp", {
|
||||
fixed = { -0.25, -0.5, -0.25, 0.25,0.5, 0.25 },
|
||||
},
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, ud_param2_colorable = 1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
_sound_def = {
|
||||
key = "node_sound_glass_defaults",
|
||||
},
|
||||
on_construct = unifieddyes.on_construct,
|
||||
on_dig = unifieddyes.on_dig,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
@ -63,7 +65,9 @@ minetest.register_node("lavalamp:lavalamp_off", {
|
||||
fixed = { -0.25, -0.5, -0.25, 0.25,0.5, 0.25 },
|
||||
},
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
_sound_def = {
|
||||
key = "node_sound_glass_defaults",
|
||||
},
|
||||
on_construct = unifieddyes.on_construct,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
node.name = "lavalamp:lavalamp"
|
||||
@ -80,9 +84,9 @@ minetest.register_node("lavalamp:lavalamp_off", {
|
||||
minetest.register_craft({
|
||||
output = "lavalamp:lavalamp",
|
||||
recipe = {
|
||||
{"", "wool:white", "", },
|
||||
{"", "bucket:bucket_water", "", },
|
||||
{"", "wool:black", "", }
|
||||
{"", homedecor.materials.wool_white, "", },
|
||||
{"", homedecor.materials.water_bucket, "", },
|
||||
{"", homedecor.materials.wool_black, "", }
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
name = lavalamp
|
||||
depends = wool, bucket, homedecor_common, unifieddyes
|
||||
depends = homedecor_common
|
||||
optional_depends = wool, bucket, unifieddyes
|
||||
|
Reference in New Issue
Block a user