Skip to content

Commit

Permalink
A fix for Netherrack slab being called Deep Netherrack slab (#63)
Browse files Browse the repository at this point in the history
* fix netherrack slab being called Deep Netherrack
* Fix several lowercase block names

Several slabs and stairs were incorrectly named.
  • Loading branch information
JoeEnderman committed Apr 15, 2023
1 parent 957fdc8 commit 9c1fa2c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions locale/nether.fr.tr
Expand Up @@ -79,6 +79,7 @@ Nether geode crystal. A crystalline structure with faint glow found inside large

Netherrack=Roche du Nether
Netherrack from deep in the mantle=
Netherrack Slab=
Netherrack stair=
Nethersand=Sable du Nether
Outer Deep Nether Stair=
Expand Down
1 change: 1 addition & 0 deletions locale/template.txt
Expand Up @@ -78,6 +78,7 @@ Nether geode crystal. A crystalline structure with faint glow found inside large

Netherrack=
Netherrack from deep in the mantle=
Netherrack Slab=
Netherrack stair=
Nethersand=
Outer Deep Nether Stair=
Expand Down
12 changes: 6 additions & 6 deletions nodes.lua
Expand Up @@ -383,15 +383,15 @@ stairs.register_stair(
"nether:rack",
{cracky = 2, level = 2},
{"nether_rack.png"},
S("Netherrack stair"),
S("Netherrack Stair"),
minetest.registered_nodes["nether:rack"].sounds
)
stairs.register_slab( -- register a slab without adding inner and outer stairs
"netherrack",
"nether:rack",
{cracky = 2, level = 2},
{"nether_rack.png"},
S("Deep Netherrack slab"),
S("Netherrack Slab"),
minetest.registered_nodes["nether:rack"].sounds
)

Expand All @@ -400,22 +400,22 @@ stairs.register_stair(
"nether:rack_deep",
{cracky = 2, level = 2},
{"nether_rack_deep.png"},
S("Deep Netherrack stair"),
S("Deep Netherrack Stair"),
minetest.registered_nodes["nether:rack_deep"].sounds
)
stairs.register_slab( -- register a slab without adding inner and outer stairs
"netherrack_deep",
"nether:rack_deep",
{cracky = 2, level = 2},
{"nether_rack_deep.png"},
S("Deep Netherrack slab"),
S("Deep Netherrack Slab"),
minetest.registered_nodes["nether:rack_deep"].sounds
)

-- Connecting walls
if minetest.get_modpath("walls") and minetest.global_exists("walls") and walls.register ~= nil then
walls.register("nether:rack_wall", S("A Netherrack wall"), "nether_rack.png", "nether:rack", minetest.registered_nodes["nether:rack"].sounds)
walls.register("nether:rack_deep_wall", S("A Deep Netherrack wall"), "nether_rack_deep.png", "nether:rack_deep", minetest.registered_nodes["nether:rack_deep"].sounds)
walls.register("nether:rack_wall", S("A Netherrack Wall"), "nether_rack.png", "nether:rack", minetest.registered_nodes["nether:rack"].sounds)
walls.register("nether:rack_deep_wall", S("A Deep Netherrack Wall"), "nether_rack_deep.png", "nether:rack_deep", minetest.registered_nodes["nether:rack_deep"].sounds)
end

-- StairsPlus
Expand Down

0 comments on commit 9c1fa2c

Please sign in to comment.