mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[MIRROR] Library barcode scanner resprite & unique sound effects [MDB IGNORE] (#22059)
* Library barcode scanner resprite & unique sound effects (#76182) ## About The Pull Request Resprites the barcode scanner & adds unique sounds for switching modes & scanning books ## Why It's Good For The Game This Pr was a labor of love. I love playing curator and thought the scanner could use some sounds and then thought it could benefit from a new sprite ## Changelog 🆑 sound: Adds unique sounds to library barcode scanner image: Removes soul from library /🆑 https://github.com/tgstation/tgstation/assets/97811257/3ee693a4-7a75-46c5-aa58-66a870e83357 * Library barcode scanner resprite & unique sound effects --------- Co-authored-by: kate <97811257+winterboekje@users.noreply.github.com>
This commit is contained in:
@@ -25,3 +25,4 @@
|
||||
if(BARCODE_SCANNER_INVENTORY)
|
||||
scan_mode = BARCODE_SCANNER_CHECKIN
|
||||
user.balloon_alert(user, "check-in mode")
|
||||
playsound(loc, 'sound/items/click.ogg', 20, TRUE)
|
||||
|
||||
@@ -150,6 +150,7 @@
|
||||
checkouts -= checkout_ref
|
||||
computer.checkout_update()
|
||||
user.balloon_alert(user, "book checked in")
|
||||
playsound(loc, 'sound/items/barcodebeep.ogg', 20, FALSE)
|
||||
return
|
||||
|
||||
user.balloon_alert(user, "book not checked out!")
|
||||
@@ -159,6 +160,7 @@
|
||||
computer.inventory[ref(our_copy)] = our_copy
|
||||
computer.inventory_update()
|
||||
user.balloon_alert(user, "book added to inventory")
|
||||
playsound(loc, 'sound/items/barcodebeep.ogg', 20, FALSE)
|
||||
|
||||
else if(try_carve(attacking_item, user, params))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user