diff --git a/init.lua b/init.lua index 5495408..b01aaa0 100644 --- a/init.lua +++ b/init.lua @@ -31,6 +31,7 @@ local mods = { "christmas", "connected_chests", "default", + "digibuilder", "digilines", "digiscreen", "digistuff", @@ -50,6 +51,7 @@ local mods = { "protector", "signs_lib", "spacecannon", + "soundblock", "technic", "technic_chests", "technic_cnc", diff --git a/mod.conf b/mod.conf index eaad300..57617cd 100644 --- a/mod.conf +++ b/mod.conf @@ -11,6 +11,7 @@ optional_depends = """ christmas, default, digtron, + digibuilder, digilines, digiscreen, digistuff, @@ -29,6 +30,7 @@ optional_depends = """ protector, signs_lib, spacecannon, + soundblock, technic, technic_chests, technic_cnc, diff --git a/nodes/digibuilder.lua b/nodes/digibuilder.lua new file mode 100644 index 0000000..bd82ec7 --- /dev/null +++ b/nodes/digibuilder.lua @@ -0,0 +1,13 @@ + +-- Register wrench support for the digibuilder mod + +wrench.register_node("digibuilder:digibuilder", { + lists = { "main" }, + metas = { + channel = wrench.META_TYPE_STRING, + formspec = wrench.META_TYPE_IGNORE, + infotext = wrench.META_TYPE_IGNORE, + owner = wrench.META_TYPE_STRING, + }, +}) + diff --git a/nodes/soundblock.lua b/nodes/soundblock.lua new file mode 100644 index 0000000..769ebab --- /dev/null +++ b/nodes/soundblock.lua @@ -0,0 +1,17 @@ + +-- Register wrench support for the soundblock mod + +wrench.register_node("soundblock:block", { + lists = {}, + metas = { + gain = wrench.META_TYPE_INT, + hear_distance = wrench.META_TYPE_INT, + interval_max = wrench.META_TYPE_INT, + interval_min = wrench.META_TYPE_INT, + randomize_position = wrench.META_TYPE_INT, + selected_sound_key = wrench.META_TYPE_STRING, + state = wrench.META_TYPE_STRING, + }, + timer = true, +}) +