mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Ports Goonchat from Baystation. (#9635)
changes:
rscadd: "Ported a new chat system, Goonchat, that allows for cool things like changing font style, size, spacing, highlighting up to 5 strings in the chat, and DARK MODE."
rscadd: "Repeated chat messages can now get compacted. You can disable this in goonchat settings."
rscadd: "You can change icon style to any font on your system."
tweak: "The game window has been altered a bit to adjust for this."
rscdel: "Removed skin style prefs as they are no longer used."
This commit is contained in:
@@ -241,27 +241,27 @@
|
||||
malfunction = TRUE
|
||||
checkhp()
|
||||
|
||||
/obj/machinery/shieldgen/attack_hand(mob/user as mob)
|
||||
/obj/machinery/shieldgen/attack_hand(mob/user)
|
||||
if(locked)
|
||||
to_chat(user, "The machine is locked, you are unable to use it.")
|
||||
to_chat(user, SPAN_WARNING("The machine is locked!"))
|
||||
return
|
||||
if(is_open)
|
||||
to_chat(user, "The panel must be closed before operating this machine.")
|
||||
to_chat(user, SPAN_WARNING("The panel must be closed before operating this machine."))
|
||||
return
|
||||
|
||||
if (src.active)
|
||||
user.visible_message("<span class='notice'>\icon[src] [user] deactivated the shield generator.</span>", \
|
||||
"<span class='notice'>\icon[src] You deactivate the shield generator.</span>", \
|
||||
user.visible_message("<span class='notice'>[icon2html(src, viewers(get_turf(src)))] [user] deactivates the shield generator.</span>", \
|
||||
"<span class='notice'>[icon2html(src, viewers(get_turf(src)))] You deactivate the shield generator.</span>", \
|
||||
"You hear heavy droning fade out.")
|
||||
src.shields_down()
|
||||
else
|
||||
if(anchored)
|
||||
user.visible_message("<span class='notice'>\icon[src] [user] activated the shield generator.</span>", \
|
||||
"<span class='notice'>\icon[src] You activate the shield generator.</span>", \
|
||||
user.visible_message("<span class='notice'>[icon2html(src, viewers(get_turf(src)))] [user] activate the shield generator.</span>", \
|
||||
"<span class='notice'>[icon2html(src, viewers(get_turf(src)))] You activate the shield generator.</span>", \
|
||||
"You hear heavy droning.")
|
||||
src.shields_up()
|
||||
else
|
||||
to_chat(user, "The device must first be secured to the floor.")
|
||||
to_chat(user, SPAN_WARNING("The device must first be secured to the floor."))
|
||||
return
|
||||
|
||||
/obj/machinery/shieldgen/emag_act(var/remaining_charges, var/mob/user)
|
||||
|
||||
@@ -216,14 +216,14 @@
|
||||
covered_turfs = null
|
||||
|
||||
for(var/mob/M in view(5,src))
|
||||
to_chat(M, "\icon[src] You hear heavy droning start up.")
|
||||
to_chat(M, "[icon2html(src, M)] You hear heavy droning start up.")
|
||||
else
|
||||
for(var/obj/effect/energy_field/D in field)
|
||||
field.Remove(D)
|
||||
D.loc = null
|
||||
|
||||
for(var/mob/M in view(5,src))
|
||||
to_chat(M, "\icon[src] You hear heavy droning fade out.")
|
||||
to_chat(M, "[icon2html(src, M)] You hear heavy droning fade out.")
|
||||
|
||||
/obj/machinery/shield_gen/update_icon()
|
||||
if(stat & BROKEN)
|
||||
|
||||
Reference in New Issue
Block a user