Add fire node and put fire in town1 forge

This commit is contained in:
LoneWolfHT 2019-11-11 16:46:41 -08:00
parent 25c79435f7
commit 3fa139b223
4 changed files with 17 additions and 0 deletions

16
mods/nodes/fire.lua Normal file
View File

@ -0,0 +1,16 @@
minetest.register_node("nodes:fire", {
description = "Fire",
drawtype = "firelike",
tiles = {{name = "nodes_fire.png", animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 3.0,
}}},
groups = {unbreakable = 1},
walkable = false,
paramtype = "light",
sunlight_propogates = true,
light_source = 8,
damage_per_second = 2,
})

View File

@ -17,6 +17,7 @@ minetest.register_lbm({ -- Loads nodes placed by schematics that have meta
--
local dirs = { -- Lua files to include
"fire.lua",
"posts.lua",
"doors.lua",
"stairs.lua",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB