Add Meselamps

- Mese glows
- Glass + Mese = Meselamp
- New mese mineral texture
This commit is contained in:
BlockMen 2015-03-05 16:46:49 +01:00
parent 3f2e35e827
commit 820a97e397
5 changed files with 31 additions and 2 deletions

View File

@ -131,6 +131,8 @@ BlockMen (CC BY-SA 3.0):
default_chest_lock.png default_chest_lock.png
default_chest_side.png default_chest_side.png
default_chest_top.png default_chest_top.png
default_mineral_mese.png
default_meselamp.png
bubble.png bubble.png
heart.png heart.png
gui_*.png gui_*.png

View File

@ -564,6 +564,14 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = 'default:meselamp 1',
recipe = {
{'', 'default:mese_crystal',''},
{'default:mese_crystal', 'default:glass', 'default:mese_crystal'},
}
})
minetest.register_craft({ minetest.register_craft({
output = 'default:obsidian_shard 9', output = 'default:obsidian_shard 9',
recipe = { recipe = {

View File

@ -127,6 +127,8 @@ default:rail
default:brick default:brick
default:meselamp
Misc Misc
---- ----
default:cloud default:cloud
@ -674,18 +676,22 @@ minetest.register_node("default:bronzeblock", {
minetest.register_node("default:stone_with_mese", { minetest.register_node("default:stone_with_mese", {
description = "Mese Ore", description = "Mese Ore",
tiles = {"default_stone.png^default_mineral_mese.png"}, tiles = {"default_stone.png^default_mineral_mese.png"},
paramtype = "light",
is_ground_content = true, is_ground_content = true,
groups = {cracky = 1}, groups = {cracky = 1},
drop = "default:mese_crystal", drop = "default:mese_crystal",
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
light_source = 1,
}) })
minetest.register_node("default:mese", { minetest.register_node("default:mese", {
description = "Mese Block", description = "Mese Block",
tiles = {"default_mese_block.png"}, tiles = {"default_mese_block.png"},
paramtype = "light",
is_ground_content = true, is_ground_content = true,
groups = {cracky = 1, level = 2}, groups = {cracky = 1, level = 2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
light_source = 3,
}) })
@ -1446,6 +1452,19 @@ minetest.register_node("default:brick", {
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node("default:meselamp", {
description = "Mese Lamp",
drawtype = "glasslike",
tiles = {"default_meselamp.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = default.node_sound_glass_defaults(),
light_source = 12,
})
-- --
-- Misc -- Misc
-- --

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 358 B