mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-07-12 17:32:19 -04:00
Added light ore!
This commit is contained in:
parent
a5f29b214b
commit
7b3b79335d
9 changed files with 58 additions and 4 deletions
|
@ -290,6 +290,24 @@ minetest.register_node("moontest:stonestair", {
|
|||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("moontest:lightore", {
|
||||
description = "Light ore",
|
||||
tiles = {"moontest_stone.png^moontest_light_ore.png"},
|
||||
light_source = 7,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
drop = "moontest:light_crystal",
|
||||
})
|
||||
|
||||
minetest.register_node("moontest:light", {
|
||||
description = "Light",
|
||||
tiles = {"moontest_light.png"},
|
||||
light_source = 14,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
drop = "moontest:light_crystal",
|
||||
})
|
||||
|
||||
|
||||
|
||||
-- Items
|
||||
|
||||
minetest.register_craftitem("moontest:spacesuit", {
|
||||
|
@ -297,6 +315,11 @@ minetest.register_craftitem("moontest:spacesuit", {
|
|||
inventory_image = "moontest_spacesuit.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("moontest:light_crystal", {
|
||||
description = "Light Cyrstal",
|
||||
inventory_image = "moontest_light_crystal.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("moontest:helmet", {
|
||||
description = "Helmet",
|
||||
inventory_image = "moontest_helmet.png",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue