Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NatureFreshMilk committed Sep 18, 2019
1 parent 95fb7a6 commit 963d596
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ if minetest.get_modpath("technic") then

-- extractor recipes
dofile(MP.."/extractor.lua")

-- tweaks
dofile(MP.."/technic.lua")
end

if minetest.get_modpath("technic_cnc") then
Expand Down
15 changes: 15 additions & 0 deletions technic.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


-- https://github.com/pandorabox-io/pandorabox.io/issues/330
-- replaces bones in an active reactor with a water source
minetest.register_abm({
label = "liquify bones in active reactors",
nodenames = {"bones:bones"},
neighbors = {"technic:hv_nuclear_reactor_core_active"},
interval = 2,
chance = 1,
action = function(pos)
minetest.set_node(pos, { name="default:water_source" })
end
})

0 comments on commit 963d596

Please sign in to comment.