from ..events import SceneChangeEvent
from ..utils import debug_timer, shadowed_text, write_save_file
from ..loader import loader
+from ..sound import sound
from ..transforms import Overlay, Alpha, ColourWedges
from ..constants import SCREEN_SIZE, FONTS, FPS, NIGHT_HOURS_PER_TICK, DEBUG
self._turnips.append(turnip)
gamestate.seeds -= 1
except TurnipInvalidPosition:
- # TODO: Add error sound or something
- pass
+ sound.play_sound("beep_kind.ogg")
def _update_light_angle(self, pos, gamestate):
# Update the angle of the given light
ev.pos, pygame.display.get_surface())
# Bail if we're too close to an existing light, obstacle or turnip
if check_space_for_light(self._space, pos, max_distance=25):
+ sound.play_sound("beep_kind.ogg")
return
gamestate.seeds -= cost
cfg["position"] = pos