Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A fix for Netherrack slab being called Deep Netherrack slab #63

Merged
merged 4 commits into from Apr 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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=
Copy link
Collaborator

@Treer Treer Apr 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the s in slab should be lowercase, and in the .fr file as well.
(I don't know if the minetest.get_translator() file stuff is actually case sensitive, but probably easier to fix it than to test that)

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