mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
refactors most spans
This commit is contained in:
@@ -190,7 +190,7 @@
|
||||
return 0
|
||||
if(size_diff >= 0.50 || mob_size < MOB_SMALL || size_diff >= get_effective_size() || ignore_size)
|
||||
if(buckled)
|
||||
to_chat(usr,"<span class='notice'>You have to unbuckle \the [src] before you pick them up.</span>")
|
||||
to_chat(usr,span_notice("You have to unbuckle \the [src] before you pick them up."))
|
||||
return 0
|
||||
holder_type = /obj/item/holder/micro
|
||||
var/obj/item/holder/m_holder = get_scooped(M, G)
|
||||
@@ -244,9 +244,9 @@
|
||||
tmob_message = tail.msg_owner_stepunder
|
||||
|
||||
if(src_message)
|
||||
to_chat(src, "<span class='filter_notice'>[STEP_TEXT_OWNER(src_message)]</span>")
|
||||
to_chat(src, span_filter_notice("[STEP_TEXT_OWNER(src_message)]"))
|
||||
if(tmob_message)
|
||||
to_chat(tmob, "<span class='filter_notice'>[STEP_TEXT_PREY(tmob_message)]</span>")
|
||||
to_chat(tmob, span_filter_notice("[STEP_TEXT_PREY(tmob_message)]"))
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
@@ -307,8 +307,8 @@
|
||||
return FALSE
|
||||
|
||||
if(tmob.a_intent != I_HELP && prob(35))
|
||||
to_chat(pred, "<span class='danger'>[prey] dodges out from under your foot!</span>")
|
||||
to_chat(prey, "<span class='danger'>You narrowly avoid [pred]'s foot!</span>")
|
||||
to_chat(pred, span_danger("[prey] dodges out from under your foot!"))
|
||||
to_chat(prey, span_danger("You narrowly avoid [pred]'s foot!"))
|
||||
return FALSE
|
||||
|
||||
now_pushing = 0
|
||||
@@ -396,8 +396,8 @@
|
||||
prey.drip(3)
|
||||
add_attack_logs(pred, prey, "Crushed underfoot (walk, about [calculated_damage] damage)")
|
||||
|
||||
to_chat(pred, "<span class='danger'>[message_pred]</span>")
|
||||
to_chat(prey, "<span class='danger'>[message_prey]</span>")
|
||||
to_chat(pred, span_danger("[message_pred]"))
|
||||
to_chat(prey, span_danger("[message_prey]"))
|
||||
return TRUE
|
||||
|
||||
/mob/living/verb/toggle_pickups()
|
||||
@@ -406,7 +406,7 @@
|
||||
set category = "IC"
|
||||
|
||||
pickup_active = !pickup_active
|
||||
to_chat(src, "<span class='filter_notice'>You will [pickup_active ? "now" : "no longer"] attempt to pick up mobs when clicking them with help intent.</span>")
|
||||
to_chat(src, span_filter_notice("You will [pickup_active ? "now" : "no longer"] attempt to pick up mobs when clicking them with help intent."))
|
||||
|
||||
#undef STEP_TEXT_OWNER
|
||||
#undef STEP_TEXT_PREY
|
||||
|
||||
Reference in New Issue
Block a user