mirror of
https://github.com/minetest-mods/nether.git
synced 2024-12-27 19:30:28 +01:00
Add netherbrick and nether dungeons; fix replace names for rack adn sand
This commit is contained in:
parent
da48d679f7
commit
1456ca9af5
BIN
.init.lua.kate-swp
Normal file
BIN
.init.lua.kate-swp
Normal file
Binary file not shown.
24
init.lua
24
init.lua
@ -354,6 +354,13 @@ minetest.register_node("nether:glowstone", {
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("nether:brick", {
|
||||
description = "Nether Brick",
|
||||
tiles = {"nether_brick.png"},
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
local function replace(old, new)
|
||||
for i=1,8 do
|
||||
minetest.register_ore({
|
||||
@ -369,12 +376,15 @@ local function replace(old, new)
|
||||
end
|
||||
end
|
||||
|
||||
replace("default:stone", "nether:netherrack")
|
||||
replace("default:stone_with_coal", "nether:netherrack")
|
||||
replace("default:stone_with_iron", "nether:netherrack")
|
||||
replace("default:stone_with_copper", "nether:nethersand")
|
||||
replace("default:stone", "nether:rack")
|
||||
replace("default:stone_with_coal", "nether:rack")
|
||||
replace("default:stone_with_iron", "nether:rack")
|
||||
replace("default:stone_with_mese", "default:lava_source")
|
||||
replace("default:stone_with_gold", "nether:glowstone")
|
||||
replace("default:stone_with_diamond", "default:lava_source")
|
||||
replace("default:gravel", "nether:nethersand")
|
||||
replace("default:dirt", "nether:nethersand")
|
||||
replace("default:stone_with_gold", "nether:glowstone")
|
||||
replace("default:stone_with_copper", "nether:sand")
|
||||
replace("default:gravel", "nether:sand")
|
||||
replace("default:dirt", "nether:sand")
|
||||
replace("default:sand", "nether:sand")
|
||||
replace("default:cobble", "nether:brick")
|
||||
replace("default:mossycobble", "nether:brick")
|
||||
|
BIN
textures/nether_brick.png
Normal file
BIN
textures/nether_brick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 509 B |
Loading…
Reference in New Issue
Block a user