From 2876993c78f1f2823fd92ef71fbdae54a1c0d3e1 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 1 Dec 2024 14:54:07 -0600 Subject: [PATCH] Better sounds for purchases --- src/game/boe.dlgutil.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/game/boe.dlgutil.cpp b/src/game/boe.dlgutil.cpp index 1424d673..07264294 100644 --- a/src/game/boe.dlgutil.cpp +++ b/src/game/boe.dlgutil.cpp @@ -293,8 +293,7 @@ void handle_sale(int i) { else if(!take_gold(cost,false)) ASB("Not enough gold."); else { - // TODO: This seems like the wrong sound - play_sound(62); + play_sound(8); ASB("You buy an alchemical recipe."); univ.party.alchemy[base_item.item_level] = true; } @@ -352,8 +351,7 @@ void handle_sale(int i) { else if(!take_gold(cost,false)) ASB("Not enough gold."); else { - // TODO: This seems like the wrong sound - play_sound(62); + play_sound(25); ASB("You buy a spell."); univ.current_pc().mage_spells[base_item.item_level] = true; give_help(41,0); @@ -370,8 +368,7 @@ void handle_sale(int i) { else if(!take_gold(cost,false)) ASB("Not enough gold."); else { - // TODO: This seems like the wrong sound - play_sound(62); + play_sound(24); ASB("You buy a spell."); univ.current_pc().priest_spells[base_item.item_level] = true; give_help(41,0); @@ -401,8 +398,7 @@ void handle_sale(int i) { else if(!take_gold(cost, false)) ASB("Not enough gold."); else { - // TODO: No idea what's a good sound here. - play_sound(62); + play_sound(7); ASB("You learn a little..."); active_shop.takeOne(i); univ.current_pc().skills[skill]++;