mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] Restores the sounds for all the items (#9226)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Heroman3003
Kashargul
parent
0cc28ccb15
commit
4bb30c42f0
@@ -13,6 +13,9 @@
|
||||
var/reveal_blood = TRUE
|
||||
var/reveal_fibers = FALSE
|
||||
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/detective_scanner/attack(mob/living/carbon/human/M as mob, mob/user as mob)
|
||||
if (!ishuman(M))
|
||||
to_chat(user, span_warning("\The [M] does not seem to be compatible with this device."))
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
var/range = 3
|
||||
var/on = 0
|
||||
var/step_alpha = 50
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/uv_light/attack_self(var/mob/user)
|
||||
on = !on
|
||||
@@ -67,4 +69,4 @@
|
||||
var/obj/item/O = A
|
||||
if(O.was_bloodied && !(O.blood_overlay in O.overlays))
|
||||
O.add_overlay(O.blood_overlay)
|
||||
reset_objects |= O
|
||||
reset_objects |= O
|
||||
|
||||
Reference in New Issue
Block a user