mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-08-16 11:16:41 -04:00
Added light ore!
This commit is contained in:
parent
a5f29b214b
commit
7b3b79335d
9 changed files with 58 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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
9
mods/moontest/ores.lua
Normal 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
1
mods/moontest/readme.md
Normal 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 |
BIN
mods/moontest/textures/moontest_light_crystal.png
Normal file
BIN
mods/moontest/textures/moontest_light_crystal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 322 B |
BIN
mods/moontest/textures/moontest_light_ore.png
Normal file
BIN
mods/moontest/textures/moontest_light_ore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 298 B |
Loading…
Add table
Add a link
Reference in a new issue