fire string

This commit is contained in:
IFRFSX 2020-04-07 22:57:24 +08:00 committed by GitHub
parent 38524378b1
commit 0142c2e77a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,7 @@ local fire_node = {
-- Basic flame node -- Basic flame node
local flame_fire_node = table.copy(fire_node) local flame_fire_node = table.copy(fire_node)
flame_fire_node.description = S("Fire")
flame_fire_node.groups.not_in_creative_inventory = 1 flame_fire_node.groups.not_in_creative_inventory = 1
flame_fire_node.on_timer = function(pos) flame_fire_node.on_timer = function(pos)
if not minetest.find_node_near(pos, 1, {"group:flammable"}) then if not minetest.find_node_near(pos, 1, {"group:flammable"}) then