27 lines
608 B
Lua
27 lines
608 B
Lua
|
--[[
|
||
|
Mod Cidades for Minetest
|
||
|
Copyright (C) 2020 BrunoMine (https://github.com/BrunoMine)
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program. If not, see <https://www.gnu.org/licenses/>5.
|
||
|
|
||
|
-- Number nodes
|
||
|
]]
|
||
|
|
||
|
cidades.number_node = {}
|
||
|
|
||
|
for i=0, 9 do
|
||
|
cidades.number_node["cidades:stone_"..i] = i
|
||
|
minetest.register_node("cidades:stone_"..i, {
|
||
|
description = "Stone",
|
||
|
paramtype2 = "facedir",
|
||
|
place_param2 = 0,
|
||
|
tiles = {"default_stone.png"},
|
||
|
is_ground_content = false,
|
||
|
groups = {cracky = 3},
|
||
|
sounds = default.node_sound_stone_defaults(),
|
||
|
})
|
||
|
end
|
||
|
|
||
|
|