32 lines
642 B
Lua
32 lines
642 B
Lua
|
-- fire/init.lua
|
||
|
|
||
|
-- Load support for MT game translation.
|
||
|
local S = minetest.get_translator("fire")
|
||
|
|
||
|
|
||
|
minetest.register_node("fire:permanent_flame", {
|
||
|
description = S("Permanent Flame"),
|
||
|
drawtype = "firelike",
|
||
|
tiles = {
|
||
|
{
|
||
|
name = "fire_basic_flame_animated.png",
|
||
|
animation = {
|
||
|
type = "vertical_frames",
|
||
|
aspect_w = 16,
|
||
|
aspect_h = 16,
|
||
|
length = 1
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
inventory_image = "fire_basic_flame.png",
|
||
|
paramtype = "light",
|
||
|
light_source = 13,
|
||
|
walkable = false,
|
||
|
buildable_to = true,
|
||
|
sunlight_propagates = true,
|
||
|
floodable = true,
|
||
|
damage_per_second = 4,
|
||
|
groups = {igniter = 2, dig_immediate = 3},
|
||
|
drop = ""
|
||
|
})
|