Better sounds for purchases

This commit is contained in:
2024-12-01 14:54:07 -06:00
parent 684edd3589
commit 2876993c78

View File

@@ -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]++;