Add floor bombs.

This commit is contained in:
Duane 2016-07-06 17:58:20 -05:00
parent 2e978e540c
commit d820a49197
5 changed files with 127 additions and 9 deletions

View file

@ -87,6 +87,7 @@ local chest_formspec =
local newnode = fun_caves.clone_node("default:chest")
newnode.description = "Treasure Chest"
newnode.on_construct = nil
newnode.drop = 'default:chest'
newnode.on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local meta = minetest.get_meta(pos)
local ready = meta:get_string('formspec')