mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-29 13:20:25 +02:00
Add Basic Fire Description (#2568)
This commit is contained in:
@ -61,6 +61,7 @@ local fire_node = {
|
||||
|
||||
-- Basic flame 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.on_timer = function(pos)
|
||||
if not minetest.find_node_near(pos, 1, {"group:flammable"}) then
|
||||
@ -78,7 +79,7 @@ minetest.register_node("fire:basic_flame", flame_fire_node)
|
||||
|
||||
-- Permanent flame node
|
||||
local permanent_fire_node = table.copy(fire_node)
|
||||
permanent_fire_node.description = S("Permanent Flame")
|
||||
permanent_fire_node.description = S("Permanent Fire")
|
||||
|
||||
minetest.register_node("fire:permanent_flame", permanent_fire_node)
|
||||
|
||||
|
Reference in New Issue
Block a user