refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
@@ -177,7 +177,7 @@
if(old_stat != stat)
update_icon()
if(inserted_id && !powered())
visible_message("<span class='notice'>The ID slot indicator light flickers on \the [src] as it spits out a card before powering down.</span>")
visible_message(span_notice("The ID slot indicator light flickers on \the [src] as it spits out a card before powering down."))
inserted_id.forceMove(get_turf(src))
/obj/machinery/mineral/equipment_vendor/update_icon()
@@ -279,7 +279,7 @@
return
var/datum/data/mining_equipment/prize = prize_list[category][name]
if(prize.cost > get_points(inserted_id)) // shouldn't be able to access this since the button is greyed out, but..
to_chat(usr, "<span class='danger'>You have insufficient points.</span>")
to_chat(usr, span_danger("You have insufficient points."))
flick(icon_deny, src) //VOREStation Add
return
@@ -23,17 +23,17 @@
var/obj/item/card/id/C = I
if(mine_points)
C.mining_points += mine_points
to_chat(user, "<span class='info'>You transfer [mine_points] excavation points to [C].</span>")
to_chat(user, span_info("You transfer [mine_points] excavation points to [C]."))
mine_points = 0
else
to_chat(user, "<span class='info'>There's no excavation points left on [src].</span>")
to_chat(user, span_info("There's no excavation points left on [src]."))
if(survey_points)
C.survey_points += survey_points
to_chat(user, "<span class='info'>You transfer [survey_points] survey points to [C].</span>")
to_chat(user, span_info("You transfer [survey_points] survey points to [C]."))
survey_points = 0
else
to_chat(user, "<span class='info'>There's no survey points left on [src].</span>")
to_chat(user, span_info("There's no survey points left on [src]."))
..()