Skip to content

Commit

Permalink
Add [moreblocks] support (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Dec 29, 2024
1 parent 0200aaf commit 597de83
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ local mods = {
"missions",
"mobs",
"more_chests",
"moreblocks",
"pipeworks",
"powerbanks",
"protector",
Expand Down
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ optional_depends = """
missions,
mobs,
more_chests,
moreblocks,
pipeworks,
powerbanks,
protector,
Expand Down
14 changes: 14 additions & 0 deletions nodes/moreblocks.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

-- Register wrench support for the moreblocks mod

wrench.register_node("moreblocks:circular_saw", {
lists = { "input", "micro" , "output", "recycle" },
metas = {
anz = wrench.META_TYPE_INT,
formspec = wrench.META_TYPE_IGNORE,
infotext = wrench.META_TYPE_STRING,
max_offered = wrench.META_TYPE_INT,
owner = wrench.META_TYPE_STRING,
},
})

0 comments on commit 597de83

Please sign in to comment.