Skip to content

Commit

Permalink
Add [wine] support (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Dec 31, 2024
1 parent 72be60f commit cba3b93
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 @@ -64,6 +64,7 @@ local mods = {
"technic_cnc",
"vacuum",
"vessels",
"wine",
"xdecor",
}

Expand Down
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ optional_depends = """
technic_cnc,
vacuum,
vessels,
wine,
xdecor,
"""
min_minetest_version = 5.0
14 changes: 14 additions & 0 deletions nodes/wine.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

-- Register wrench support for the wine mod

wrench.register_node("wine:wine_barrel", {
lists = { "dst", "src", "src_b" },
metas = {
formspec = wrench.META_TYPE_IGNORE,
infotext = wrench.META_TYPE_IGNORE,
status = wrench.META_TYPE_FLOAT,
water = wrench.META_TYPE_INT,
},
timer = true,
})

0 comments on commit cba3b93

Please sign in to comment.