Working on the new dimension
This commit is contained in:
parent
0cd11a7966
commit
7e251e3fd2
21
init.lua
21
init.lua
@ -636,7 +636,7 @@ minetest.register_node("nssb:mornar", {
|
||||
light_source = 12,
|
||||
groups = {igniter = 2},
|
||||
drop = '',
|
||||
walkable = false,
|
||||
walkable = true,
|
||||
buildable_to = false,
|
||||
damage_per_second = 4,
|
||||
})
|
||||
@ -770,6 +770,23 @@ minetest.register_node("nssb:morlote", {
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"nssm:morlote"},
|
||||
neighbors = {"air"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action =
|
||||
function(pos, node)
|
||||
local pos1 = {x=pos.x, y=pos.y+1, z=pos.z}
|
||||
local n = minetest.env:get_node(pos1).name
|
||||
if n ~= "air" then
|
||||
return
|
||||
end
|
||||
minetest.add_entity(pos1, "nssm:morgre")
|
||||
minetest.remove_node(pos)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_node("nssb:moranga", {
|
||||
description = "Moranga Ore",
|
||||
tiles = {"morentir.png^moranga.png"},
|
||||
@ -1160,7 +1177,7 @@ minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "nssm:morwa_statue",
|
||||
wherein = "air",
|
||||
clust_scarcity = 10*10*10,
|
||||
clust_scarcity = 13*13*13,
|
||||
clust_num_ores = 1,
|
||||
clust_size = 1,
|
||||
y_min = -94,
|
||||
|
BIN
textures/morentir2.png
Normal file
BIN
textures/morentir2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 779 B |
Loading…
x
Reference in New Issue
Block a user