Skip to content

Commit

Permalink
Add [christmas] support
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS committed Dec 26, 2024
1 parent 4e62ddb commit 298ce26
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ read_globals = {
"table.indexof",
"minetest",
"ItemStack",
"christmas",
"digilines",
"drawers",
"mesecon",
Expand Down
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ local mods = {
"bees",
"biofuel",
"bones",
"christmas",
"connected_chests",
"default",
"digilines",
Expand Down
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ optional_depends = """
biofuel,
bones,
connected_chests,
christmas,
default,
digtron,
digilines,
Expand Down
8 changes: 8 additions & 0 deletions nodes/christmas.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

-- Register wrench support for the christmas mod

for _, colour in ipairs(christmas.present_colours) do
wrench.register_node("christmas:present_" .. colour.name, {
})
end

0 comments on commit 298ce26

Please sign in to comment.