1
0
Fork 0

Fix untranslated nether lava death msgs

objects
Wuzzy 2020-11-12 12:23:38 +01:00
parent d952c79cb7
commit 271cdbcf03
3 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,12 @@
-- Lava in the Nether
local S = minetest.get_translator("mcl_nether")
local N = function(s) return s end
local msg = {
N("@1 has become one with the lava."),
N("@1 has been consumed by the lava."),
}
-- TODO: Increase flow speed. This could be done by reducing viscosity,
-- but this would also allow players to swim faster in lava.
@ -14,6 +20,7 @@ lava_src_def._doc_items_usagehelp = nil
lava_src_def.liquid_range = 7
lava_src_def.liquid_alternative_source = "mcl_nether:nether_lava_source"
lava_src_def.liquid_alternative_flowing = "mcl_nether:nether_lava_flowing"
lava_src_def._mcl_node_death_message = msg,
minetest.register_node("mcl_nether:nether_lava_source", lava_src_def)
local lava_flow_def = table.copy(minetest.registered_nodes["mcl_core:lava_flowing"])
@ -22,6 +29,7 @@ lava_flow_def._doc_items_create_entry = false
lava_flow_def.liquid_range = 7
lava_flow_def.liquid_alternative_flowing = "mcl_nether:nether_lava_flowing"
lava_flow_def.liquid_alternative_source = "mcl_nether:nether_lava_source"
lava_flow_def._mcl_node_death_message = msg,
minetest.register_node("mcl_nether:nether_lava_flowing", lava_flow_def)
-- Add entry aliases for the Help

View File

@ -38,3 +38,5 @@ Place this item on soul sand to plant it and watch it grow.=Platzieren Sie den G
Burns your feet=Verbrennt Ihre Füße
Grows on soul sand=Wächst auf Seelensand
Reduces walking speed=Reduziert das Schritttempo
@1 has become one with the lava.=@1 wurde eins mit der Lava.
@1 has been consumed by the lava.=@1 wurde von der Lava verzehrt.

View File

@ -38,3 +38,5 @@ Place this item on soul sand to plant it and watch it grow.=
Burns your feet=
Grows on soul sand=
Reduces walking speed=
@1 has become one with the lava.=
@1 has been consumed by the lava.=