mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
refactors most spans
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
icon = 'icons/obj/props/items.dmi'
|
||||
icon_state = icon_state_on
|
||||
if(user)
|
||||
user.visible_message("<span class='notice'>[text_activated]</span>")
|
||||
user.visible_message(span_notice("[text_activated]"))
|
||||
update_icon()
|
||||
if(effect == 1)
|
||||
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
||||
@@ -71,7 +71,7 @@
|
||||
O.Weaken(flash_time)
|
||||
if(effect == 4)
|
||||
var/atom/o = new object(get_turf(user))
|
||||
src.visible_message("<span class='notice'>[src] has produced [o]!</span>")
|
||||
src.visible_message(span_notice("[src] has produced [o]!"))
|
||||
if(sound_activated)
|
||||
playsound(src, sound_activated, 50, 1)
|
||||
else if(togglable)
|
||||
@@ -85,7 +85,7 @@
|
||||
else
|
||||
icon = 'icons/obj/props/items.dmi'
|
||||
if(user)
|
||||
user.visible_message("<span class='notice'>[text_deactivated]</span>")
|
||||
user.visible_message(span_notice("[text_deactivated]"))
|
||||
update_icon()
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user