mirror of
https://github.com/FsxShader2012/rainbow_ore.git
synced 2024-08-20 05:24:10 +02:00
Replace deprecated variable names:
- 'tiles' in place of 'tile_images' - 'y_min' in place of 'height_min' - 'y_max' in place of 'height_max'
This commit is contained in:
parent
6e77693a8e
commit
57fcbae91e
6
init.lua
6
init.lua
@ -12,7 +12,7 @@ end
|
|||||||
-- Define Rainbow_Ore_Block node
|
-- Define Rainbow_Ore_Block node
|
||||||
minetest.register_node("rainbow_ore:rainbow_ore_block", {
|
minetest.register_node("rainbow_ore:rainbow_ore_block", {
|
||||||
description = "Rainbow Ore",
|
description = "Rainbow Ore",
|
||||||
tile_images = {"rainbow_ore_block.png"},
|
tiles = {"rainbow_ore_block.png"},
|
||||||
groups = {stone=2, cracky=3},
|
groups = {stone=2, cracky=3},
|
||||||
drop = "rainbow_ore:rainbow_ore_block",
|
drop = "rainbow_ore:rainbow_ore_block",
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -167,6 +167,6 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 17*17*17,
|
clust_scarcity = 17*17*17,
|
||||||
clust_num_ores = 3,
|
clust_num_ores = 3,
|
||||||
clust_size = 3,
|
clust_size = 3,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
height_max = -200,
|
y_max = -200,
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user