isolate Nethercap translation name to make it easier to swap out in Mineclone contexts

This commit is contained in:
FaceDeer
2022-08-17 13:59:13 -06:00
parent f47db1e0c2
commit 71e7c4e274
25 changed files with 159 additions and 79 deletions

View File

@ -50,7 +50,7 @@ local list_mods_required = function()
end
minetest.debug(mods_required)
end
list_mods_required()
--list_mods_required()
-- This mod is meant to only exist at initialization time. Other mods should make copies of anything it points to for their own use.
minetest.after(1, function() df_dependencies = nil end)

View File

@ -20,3 +20,8 @@ Hidden Firefly=Verborgenes Glühwürmchen
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
@1 Stair=@1 Treppe
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Kaŝita Lampiro
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Luciérnaga oculta
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Luciole cachée
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Kunang-Kunang Tersembunyi
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -20,3 +20,8 @@ Hidden Firefly=Lucciola nascosta
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
@1 Stair=@1 Scala
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=Cappello del Nether

View File

@ -18,3 +18,8 @@ Hidden Firefly=隠されたホタル
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=lo se mipri gusycinki
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Kelip-Kelip Tersembunyi
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Ukryty świetlik
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Vaga-lume escondido
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Притаившийся Светлячок
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Skrytá svetluška
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Gömd eldfluga
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=Світлячок, що причаївся
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=隐藏的萤火虫
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -18,3 +18,8 @@ Hidden Firefly=隱藏的螢火蟲
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -17,3 +17,8 @@ Hidden Firefly=
@1 Slab=
@1 Stair=
Double @1 Slab=
### misc.lua ###
Icecap=
Nethercap=

View File

@ -46,3 +46,11 @@ df_dependencies.texture_wood = select_required({default="default_wood.png", mcl_
df_dependencies.texture_mineral_coal = select_required({default="default_mineral_coal.png", mcl_core="mcl_core_coal_ore.png"}) -- MCL's coal texture isn't transparent, but is only used with gas seeps and should work fine that way
df_dependencies.texture_glass_bottle = select_required({vessels="vessels_glass_bottle.png", mcl_potions="mcl_potions_potion_bottle.png"})
df_dependencies.texture_meselamp = "dfcaverns_glow_mese.png"
df_dependencies.nethercap_name = S("Nethercap")
if minetest.get_modpath("mcl_mapgen_core") then
-- since there's a whole layer called the Nether in Mineclone and it has its own mushrooms, rename
-- nethercaps when that's present to avoid confusion.
df_dependencies.nethercap_name = S("Icecap")
end