summaryrefslogtreecommitdiff
path: root/extranodes
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-09-14 16:57:46 +0200
committerroot <root@linux-forks.de>2018-09-14 16:57:46 +0200
commit56deae0d2e42f7af598ee2ab43173cb17e7adab8 (patch)
tree608dd04c8398cf6ed8bd91881d54ba547ce08802 /extranodes
parent11ada452c41134b2f7180b1250ae61892a0df2e5 (diff)
parent0035fc451a93b3f17200ba1bd8ae07cc5560b436 (diff)
Merge https://github.com/h-v-smacker/technic
Diffstat (limited to 'extranodes')
-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