mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
Merge 590255ca30
into 0d924e7e4d
This commit is contained in:
commit
ab15be6c6d
4 changed files with 41 additions and 2 deletions
|
@ -509,6 +509,14 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'default:obsidian_glass',
|
||||||
|
recipe = {
|
||||||
|
{'', '', ''},
|
||||||
|
{'default:obsidian_shard', 'default:obsidian_shard', ''},
|
||||||
|
{'default:obsidian_shard', 'default:obsidian_shard', ''},
|
||||||
|
}
|
||||||
|
})
|
||||||
--
|
--
|
||||||
-- Crafting (tool repair)
|
-- Crafting (tool repair)
|
||||||
--
|
--
|
||||||
|
@ -527,6 +535,12 @@ minetest.register_craft({
|
||||||
recipe = "group:sand",
|
recipe = "group:sand",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "cooking",
|
||||||
|
output = "default:obsidian_rock",
|
||||||
|
recipe = "default:obsidian_shard",
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "default:stone",
|
output = "default:stone",
|
||||||
|
@ -1040,6 +1054,26 @@ minetest.register_node("default:cloud", {
|
||||||
groups = {not_in_creative_inventory=1},
|
groups = {not_in_creative_inventory=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:obsidian_glass", {
|
||||||
|
description = "Obsidian Glass",
|
||||||
|
drawtype = "glasslike",
|
||||||
|
tiles = {"default_obsidian_glass.png"},
|
||||||
|
is_ground_content = true,
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
drop = "default:obsidian_shard",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:obsidian_rock", {
|
||||||
|
description = "Obsidian Rock",
|
||||||
|
tiles = {"default_obsidian_rock.png"},
|
||||||
|
is_ground_content = true,
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("default:water_flowing", {
|
minetest.register_node("default:water_flowing", {
|
||||||
description = "Flowing Water",
|
description = "Flowing Water",
|
||||||
inventory_image = minetest.inventorycube("default_water.png"),
|
inventory_image = minetest.inventorycube("default_water.png"),
|
||||||
|
@ -1696,6 +1730,11 @@ minetest.register_craftitem("default:scorched_stuff", {
|
||||||
inventory_image = "default_scorched_stuff.png",
|
inventory_image = "default_scorched_stuff.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("default:obsidian_shard", {
|
||||||
|
description = "Obsidian Shard",
|
||||||
|
inventory_image = "default_obsidian_shard.png",
|
||||||
|
})
|
||||||
|
|
||||||
-- Support old code
|
-- Support old code
|
||||||
function default.spawn_falling_node(p, nodename)
|
function default.spawn_falling_node(p, nodename)
|
||||||
spawn_falling_node(p, nodename)
|
spawn_falling_node(p, nodename)
|
||||||
|
@ -1741,11 +1780,11 @@ minetest.register_on_punchnode(on_punchnode)
|
||||||
--
|
--
|
||||||
|
|
||||||
default.cool_lava_source = function(pos)
|
default.cool_lava_source = function(pos)
|
||||||
minetest.env:set_node(pos, {name="default:stone"})
|
minetest.env:set_node(pos, {name="default:obsidian_glass"})
|
||||||
end
|
end
|
||||||
|
|
||||||
default.cool_lava_flowing = function(pos)
|
default.cool_lava_flowing = function(pos)
|
||||||
minetest.env:set_node(pos, {name="default:cobble"})
|
minetest.env:set_node(pos, {name="default:stone"})
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
|
|
BIN
mods/default/textures/default_obsidian_glass.png
Normal file
BIN
mods/default/textures/default_obsidian_glass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 281 B |
BIN
mods/default/textures/default_obsidian_rock.png
Normal file
BIN
mods/default/textures/default_obsidian_rock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 322 B |
BIN
mods/default/textures/default_obsidian_shard.png
Normal file
BIN
mods/default/textures/default_obsidian_shard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 366 B |
Loading…
Add table
Reference in a new issue