mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Span classes
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
set src in usr
|
set src in usr
|
||||||
|
|
||||||
changer.active = !changer.active
|
changer.active = !changer.active
|
||||||
usr << "\blue You [changer.active ? "enable" : "disable"] the voice-changing module in \the [src]."
|
usr << "<span class='notice'>You [changer.active ? "enable" : "disable"] the voice-changing module in \the [src].</span>"
|
||||||
|
|
||||||
/obj/item/clothing/mask/gas/voice/verb/Set_Voice(name as text)
|
/obj/item/clothing/mask/gas/voice/verb/Set_Voice(name as text)
|
||||||
set category = "Object"
|
set category = "Object"
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
var/voice = sanitize(copytext(name,1,MAX_MESSAGE_LEN))
|
var/voice = sanitize(copytext(name,1,MAX_MESSAGE_LEN))
|
||||||
if(!voice || !length(voice)) return
|
if(!voice || !length(voice)) return
|
||||||
changer.voice = voice
|
changer.voice = voice
|
||||||
usr << "\blue You are now mimicking <B>[changer.voice]</B>.</font>"
|
usr << "<span class='notice'>You are now mimicking <B>[changer.voice]</B>.</span>"
|
||||||
|
|
||||||
/obj/item/clothing/mask/gas/voice/New()
|
/obj/item/clothing/mask/gas/voice/New()
|
||||||
..()
|
..()
|
||||||
|
|||||||
Reference in New Issue
Block a user