Add fire node and put fire in town1 forge
This commit is contained in:
parent
25c79435f7
commit
3fa139b223
Binary file not shown.
16
mods/nodes/fire.lua
Normal file
16
mods/nodes/fire.lua
Normal 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,
|
||||
})
|
@ -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",
|
||||
|
BIN
mods/nodes/textures/nodes_fire.png
Normal file
BIN
mods/nodes/textures/nodes_fire.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
x
Reference in New Issue
Block a user