mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Implement fixes to modulator mask from code review
This commit is contained in:
@@ -1179,7 +1179,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
desc = "A syndicate tactical mask equipped with chameleon technology and a sound modulator for disguising your voice. \
|
||||
While the mask is active, your voice will sound unrecognizable to others"
|
||||
reference = "CVMM"
|
||||
item = /obj/item/clothing/mask/gas/voice_modulator
|
||||
item = /obj/item/clothing/mask/gas/voice_modulator/chameleon
|
||||
cost = 1
|
||||
excludefrom = list(/datum/game_mode/nuclear)
|
||||
|
||||
|
||||
@@ -166,10 +166,10 @@
|
||||
verb = "yells loudly"
|
||||
|
||||
if(istype(wear_mask, /obj/item/clothing/mask/gas/voice_modulator))
|
||||
var/obj/item/voice_changer/changer = locate() in wear_mask
|
||||
if (!changer.active)
|
||||
continue
|
||||
verb = pick("modulates", "drones", "hums", "buzzes")
|
||||
var/obj/item/clothing/mask/gas/voice_modulator/VM = wear_mask
|
||||
var/obj/item/voice_changer/changer = VM.voice_modulator
|
||||
if (changer.active)
|
||||
verb = pick("modulates", "drones", "hums", "buzzes")
|
||||
|
||||
if(span)
|
||||
S.message = "<span class='[span]'>[S.message]</span>"
|
||||
|
||||
Reference in New Issue
Block a user