Add mob chatter for disabled TNT

This commit is contained in:
Wuzzy 2019-09-24 04:34:37 +02:00
parent 8622412954
commit 471eff12ff
3 changed files with 16 additions and 4 deletions

View File

@ -86,7 +86,9 @@ Jewels are great! If you have a jeweller's workbench, you can enhance your tools
Did you know we sometimes sell jewels?=Wusstest du, dass wir manchmal Juwelen verkaufen?
This looks like it could be a good wall decoration.=Das sieht aus, als könnte es sich gut als Wanddekoration machen.
A flower? I love flowers! Let's make the world bloom!=Eine Blume? Ich liebe Blumen! Lasst uns die Welt zum Erblühen bringen!
You can use this to ignite TNT.=Damit kannst du TNT entzünden.
You can use this to light up torches and ignite TNT.=Damit kannst du Fackeln und TNT anzünden.
You can use this to light up torches.=Damit kannst du Fackeln anzünden.
For some reason, TNT can't be ignited. Strange.=Aus irgendeinem Grund kann TNT nicht entzündet werden. Merkwürdig.
TNT needs to be ignited by a flint and steel.=TNT muss mit Feuerstein und Stahl entzündet werden.
Sleeping makes the night go past in the blink of an eye.=Im Schlaf vergeht die Nacht wie im Fluge.
Isn't it stressful to carry this heavy bed around?=Ist es nicht anstrengend, dieses schwere Bett mit dir herumzuschleppen?

View File

@ -89,7 +89,9 @@ Jewels are great! If you have a jeweller's workbench, you can enhance your tools
Did you know we sometimes sell jewels?=
This looks like it could be a good wall decoration.=
A flower? I love flowers! Let's make the world bloom!=
You can use this to ignite TNT.=
You can use this to light up torches and ignite TNT.=
You can use this to light up torches.=
For some reason, TNT can't be ignited. Strange.=
TNT needs to be ignited by a flint and steel.=
Sleeping makes the night go past in the blink of an eye.=
Isn't it stressful to carry this heavy bed around?=

View File

@ -269,9 +269,17 @@ for _, npc_type_table in pairs(npc_types) do
elseif iname == "default:flower" then
say(S("A flower? I love flowers! Let's make the world bloom!"), name)
elseif iname == "default:flint_and_steel" then
say(S("You can use this to ignite TNT."), name)
if minetest.settings:get_bool("tnt_enable", true) then
say(S("You can use this to light up torches and ignite TNT."), name)
else
say(S("You can use this to light up torches."), name)
end
elseif iname == "tnt:tnt" then
say(S("TNT needs to be ignited by a flint and steel."), name)
if minetest.settings:get_bool("tnt_enable", true) then
say(S("TNT needs to be ignited by a flint and steel."), name)
else
say(S("For some reason, TNT can't be ignited. Strange."), name)
end
elseif iname == "bed:bed_foot" then
if npc_type == "carpenter" then
say(S("Isn't it stressful to carry this heavy bed around?"), name)