mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
refactors most spans
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
visible_message("\The [src] pops open!")
|
||||
else
|
||||
for(var/mob/M in src)
|
||||
to_chat(M, "<span class='danger'>You've landed! Open the hatch if you think it's safe! \The [src] has enough air to last for a while...</span>")
|
||||
to_chat(M, span_danger("You've landed! Open the hatch if you think it's safe! \The [src] has enough air to last for a while..."))
|
||||
|
||||
/obj/structure/drop_pod/proc/open_pod()
|
||||
if(finished)
|
||||
@@ -103,7 +103,7 @@
|
||||
/obj/structure/drop_pod/attack_hand(mob/living/user)
|
||||
if(istype(user) && (Adjacent(user) || (user in src)) && !user.incapacitated())
|
||||
if(finished)
|
||||
to_chat(user, "<span class='warning'>Nothing left to do with it now. Maybe you can break it down into materials.</span>")
|
||||
to_chat(user, span_warning("Nothing left to do with it now. Maybe you can break it down into materials."))
|
||||
else
|
||||
open_pod()
|
||||
user.visible_message("<b>[user]</b> opens \the [src]!","You open \the [src]!")
|
||||
@@ -111,13 +111,13 @@
|
||||
/obj/structure/drop_pod/attackby(obj/item/O, mob/user)
|
||||
if(O.has_tool_quality(TOOL_WRENCH))
|
||||
if(finished)
|
||||
to_chat(user, "<span class='notice'>You start breaking down \the [src].</span>")
|
||||
to_chat(user, span_notice("You start breaking down \the [src]."))
|
||||
if(do_after(user, 10 SECONDS, src, exclusive = TASK_ALL_EXCLUSIVE))
|
||||
new /obj/item/stack/material/plasteel(loc, 10)
|
||||
playsound(user, O.usesound, 50, 1)
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='warning'>\The [src] hasn't been opened yet. Do that first.</span>")
|
||||
to_chat(user, span_warning("\The [src] hasn't been opened yet. Do that first."))
|
||||
return ..()
|
||||
|
||||
/obj/structure/drop_pod/return_air()
|
||||
|
||||
Reference in New Issue
Block a user