summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extranodes/init.lua1
-rw-r--r--extranodes/lox.lua3
2 files changed, 3 insertions, 1 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua
index d986b6e..b7a0672 100644
--- a/extranodes/init.lua
+++ b/extranodes/init.lua
@@ -28,6 +28,7 @@ end
-- register procedurally-generated arcs
if minetest.get_modpath("pkarcs") then
pkarcs.register_node("technic:marble")
+ pkarcs.register_node("technic:marble_bricks")
pkarcs.register_node("technic:granite")
end
diff --git a/extranodes/lox.lua b/extranodes/lox.lua
index 3aaadee..ed98a9a 100644
--- a/extranodes/lox.lua
+++ b/extranodes/lox.lua
@@ -115,9 +115,10 @@ minetest.register_node(":technic:fbomb", {
},
groups = {dig_immediate = 2, falling_node = 1},
sounds = default.node_sound_defaults(),
+ drop = "technic:fbomb",
on_punch = function(pos, node, player, pointed_thing)
minetest.remove_node(pos)
- minetest.place_node(pos, {name="technic:fbombact"})
+ minetest.set_node(pos, {name="technic:fbombact"})
local nm = minetest.get_meta(pos)
nm:set_string("player", player:get_player_name())
end