Cig pack sounds (#91860)

This commit is contained in:
grungussuss
2025-07-01 11:06:35 +02:00
committed by GitHub
parent 5b1a20a7f2
commit 0a3185d26c
24 changed files with 66 additions and 5 deletions
+6
View File
@@ -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)