Commit b52f70c0 authored by volkj's avatar volkj Committed by SmallJoker

"deprecated" Warning removal and code cleanup

substitute deprecated tile_images and height_min/max with the new ones
parent b49ba5dc
......@@ -18,4 +18,6 @@ Dependencies:
money2 (optional)
currency (optional)
Forum link: https://forum.minetest.net/viewtopic.php?id=7821
Forum link: https://forum.minetest.net/viewtopic.php?id=7821
Requires Minetest 0.4.14 (stable) or newer.
......@@ -5,7 +5,7 @@
-- Node definitions
minetest.register_node("bitchange:minecoin_in_ground", {
description = "MineCoin Ore",
tile_images = { "default_stone.png^bitchange_minecoin_in_ground.png" },
tiles = { "default_stone.png^bitchange_minecoin_in_ground.png" },
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
......@@ -20,7 +20,7 @@ minetest.register_node("bitchange:minecoin_in_ground", {
minetest.register_node("bitchange:mineninth_in_ground", {
description = "MineNinth Ore",
tile_images = { "default_stone.png^bitchange_mineninth_in_ground.png" },
tiles = { "default_stone.png^bitchange_mineninth_in_ground.png" },
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
......@@ -36,7 +36,7 @@ minetest.register_node("bitchange:mineninth_in_ground", {
minetest.register_node("bitchange:minecoinblock", {
description = "MineCoin Block",
tile_images = { "bitchange_minecoinblock.png" },
tiles = { "bitchange_minecoinblock.png" },
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
......@@ -121,8 +121,8 @@ minetest.register_ore({
clust_scarcity = 15*15*15,
clust_num_ores = 3,
clust_size = 7,
height_max = -512,
height_min = -18000,
y_max = -512,
y_min = -18000,
})
minetest.register_ore({
......@@ -132,8 +132,8 @@ minetest.register_ore({
clust_scarcity = 12*12*12,
clust_num_ores = 5,
clust_size = 8,
height_max = -256,
height_min = -511,
y_max = -256,
y_min = -511,
})
minetest.register_ore({
......@@ -143,7 +143,7 @@ minetest.register_ore({
clust_scarcity = 13*13*13,
clust_num_ores = 3,
clust_size = 7,
height_max = 28000,
height_min = -255,
y_max = 28000,
y_min = -255,
})
end
\ No newline at end of file
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment