Added light ore!

This commit is contained in:
Amaz1 2014-05-14 21:28:50 +01:00
parent a5f29b214b
commit 7b3b79335d
9 changed files with 58 additions and 4 deletions

View file

@ -9,6 +9,15 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = "moontest:light",
recipe = {
{"moontest:light_crystal", "moontest:stone", "moontest:light_crystal"},
{"moontest:light_crystal", "default:mese_crystal", "moontest:light_crystal"},
{"moontest:light_crystal", "moontest:stone", "moontest:light_crystal"},
},
})
minetest.register_craft({
output = "moontest:airgen",
recipe = {

View file

@ -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",

9
mods/moontest/ores.lua Normal file
View file

@ -0,0 +1,9 @@
minetest.register_node("moontest:lightore", {
description = "Lightore",
tiles = {"moontest_stone.png^moontest_light_ore.png"},
light_source = 7,
groups = {cracky = 3, stone = 1},
drop = "moontest:light_crystal",
})

1
mods/moontest/readme.md Normal file
View file

@ -0,0 +1 @@
With thanks to Evergreen for the Light Ore texture. (A modified version of the quatz ore from his quatz mod.) CC-BY-SA

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 727 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B