Add NPC speech for torches

This commit is contained in:
Wuzzy 2022-01-31 03:55:08 +01:00
parent 2cc19c9a05
commit eb9ac2bb10
3 changed files with 17 additions and 0 deletions

View File

@ -92,3 +92,7 @@ Stay healthy!=Bleib gesund!
Sheep=Schaf Sheep=Schaf
Skunk=Stinktier Skunk=Stinktier
Walker=Läufer Walker=Läufer
Its burned out. Use flint and steel to kindle it.=Sie ist ausgebrannt. Benutze Feuerstein und Stahl, um sie wieder anzuzünden.
With flint and steel you could stabilize the flame.=Mit Feuerstein und Stahl könnte man die Flamme stabilisieren.
Lets light up some caves!=Lasst uns ein paar Höhlen erhellen!
Hole in dirt, put bronze in. Bells complete, bim, bim, bim!=Loch in Erde, Bronze rin. Glocke fertig, bim, bim, bim!

View File

@ -92,3 +92,7 @@ Stay healthy!=
Sheep= Sheep=
Skunk= Skunk=
Walker= Walker=
Its burned out. Use flint and steel to kindle it.=
With flint and steel you could stabilize the flame.=
Lets light up some caves!=
Hole in dirt, put bronze in. Bells complete, bim, bim, bim!

View File

@ -232,6 +232,12 @@ for _, npc_type_table in pairs(npc_types) do
end end
elseif iname == "lumien:crystal_off" then elseif iname == "lumien:crystal_off" then
say(S("This looks like it could be a good wall decoration."), name) say(S("This looks like it could be a good wall decoration."), name)
elseif iname == "default:torch_dead" then
say(S("Its burned out. Use flint and steel to kindle it."), name)
elseif iname == "default:torch_weak" then
say(S("With flint and steel you could stabilize the flame."), name)
elseif iname == "default:torch" then
say(S("Lets light up some caves!"), name)
elseif iname == "default:flower" then elseif iname == "default:flower" then
say(S("A flower? I love flowers! Let's make the world bloom!"), name) say(S("A flower? I love flowers! Let's make the world bloom!"), name)
elseif iname == "default:flint_and_steel" then elseif iname == "default:flint_and_steel" then
@ -252,6 +258,9 @@ for _, npc_type_table in pairs(npc_types) do
else else
say(S("Sleeping makes the night go past in the blink of an eye."), name) say(S("Sleeping makes the night go past in the blink of an eye."), name)
end end
elseif iname == "default:lump_bronze" then
-- Classic parody of Friedrich Schillers “Das Lied von der Glocke” (works best in German)
say(S("Hole in dirt, put bronze in. Bells complete, bim, bim, bim!"), name)
elseif iname == "default:apple" then elseif iname == "default:apple" then
if npc_type == "farmer" then if npc_type == "farmer" then
say(S("Boars love to eat apples, too! If you feed enough of these to them, they will multiply."), name) say(S("Boars love to eat apples, too! If you feed enough of these to them, they will multiply."), name)