Merge pull request #5267 from Heroman3003/vending-sounds

Added vending machine vending sound
This commit is contained in:
Anewbe
2018-05-18 11:58:31 -05:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -510,6 +510,8 @@
if(R.get_product(get_turf(src)))
visible_message("<span class='notice'>\The [src] clunks as it vends an additional item.</span>")
playsound(src, 'sound/items/vending.ogg', 50, 1, 1)
status_message = ""
status_error = 0
vend_ready = 1