Skip to content

Commit

Permalink
Allow cutting down Ethereal bamboo with chainsaw
Browse files Browse the repository at this point in the history
Adds `ethereal:bamboo` into `timber_nodenames`.

This PR is ready for review.
  • Loading branch information
Emojigit committed Dec 27, 2024
1 parent 32f1d5a commit c8c6407
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion technic/mod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = technic
depends = pipeworks, technic_worldgen, basic_materials
optional_depends = mcl_core, mcl_sounds, default, bucket, mesecons, mesecons_mvps, digilines, digiline_remote, unified_inventory, dye, craftguide, i3, mtt, vizlib, moreores, mcl_buckets, mcl_explosions, mcl_craftguide
optional_depends = mcl_core, mcl_sounds, default, bucket, mesecons, mesecons_mvps, digilines, digiline_remote, unified_inventory, dye, craftguide, i3, mtt, vizlib, moreores, mcl_buckets, mcl_explosions, mcl_craftguide, ethereal
4 changes: 4 additions & 0 deletions technic/tools/chainsaw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ if minetest.get_modpath("trunks") then
end
end

if minetest.get_modpath("ethereal") then
timber_nodenames["ethereal:bamboo"] = true
end

local S = technic.getter

-- Table for saving what was sawed down
Expand Down

0 comments on commit c8c6407

Please sign in to comment.