From ada14951c4ada6c5c61218e3b3687c3c17914def Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 4 Nov 2026 08:25:31 +0100 Subject: [PATCH] Crookfinger's voice: he babbles in a squeaky imp language in the rhythm of his hints, important messages and the mission briefings (can be switched off in the sound settings) Co-Authored-By: Claude Opus 5.5 --- lang/de.lang | 1 + lang/en.lang | 1 + play/DungeonCraft.html | 2 +- src/game.rs | 12 ++++++- src/main.rs | 19 +++++++++++ src/menu.rs | 6 +++- src/settings.rs | 2 ++ src/sfx.rs | 7 +++++ src/voice.rs | 71 ++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 118 insertions(+), 3 deletions(-) create mode 100644 src/voice.rs diff --git a/lang/de.lang b/lang/de.lang index 930d4e7..eadaa1a 100644 --- a/lang/de.lang +++ b/lang/de.lang @@ -923,3 +923,4 @@ ov.title = Deine Kreaturen ov.summary = {0} Kreaturen - Lohn {1} Gold pro Zahltag - Laune {2}% ov.none = Noch keine Kreaturen. Baue ein Quartier und einen Pilzgarten und nimm ein Portal ein. ov.hint = St., Laune, Lohn, Tätigkeit, Leben - Klick: hingehen +set.voice = Krummfingers Stimme diff --git a/lang/en.lang b/lang/en.lang index ced5d9c..505376b 100644 --- a/lang/en.lang +++ b/lang/en.lang @@ -924,3 +924,4 @@ ov.title = Your creatures ov.summary = {0} creatures - wages {1} gold per payday - mood {2}% ov.none = No creatures yet. Build a lair and a mushroom garden and claim a portal. ov.hint = Lv, mood, wage, job, health - click: go there +set.voice = Crookfinger's voice diff --git a/play/DungeonCraft.html b/play/DungeonCraft.html index 00b7fe8..ad120d0 100644 --- a/play/DungeonCraft.html +++ b/play/DungeonCraft.html @@ -17,7 +17,7 @@