mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Cig pack sounds (#91860)
This commit is contained in:
@@ -196,6 +196,10 @@
|
||||
age_restricted = TRUE
|
||||
contents_tag = "cigarette"
|
||||
storage_type = /datum/storage/cigarette_box
|
||||
drop_sound = SFX_CIG_PACK_DROP
|
||||
pickup_sound = SFX_CIG_PACK_PICKUP
|
||||
throw_drop_sound = SFX_CIG_PACK_THROW_DROP
|
||||
sound_vary = TRUE
|
||||
|
||||
///for cigarette overlay
|
||||
var/candy = FALSE
|
||||
@@ -210,6 +214,8 @@
|
||||
if(contents.len != 0 || !spawn_coupon)
|
||||
return ..()
|
||||
|
||||
playsound(src, storage_type.rustle_sound, 50, TRUE)
|
||||
|
||||
balloon_alert(user, "ooh, free coupon")
|
||||
var/obj/item/coupon/attached_coupon = new
|
||||
user.put_in_hands(attached_coupon)
|
||||
|
||||
Reference in New Issue
Block a user