[MIRROR] refactors most spans (#9139)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

View File

@@ -110,9 +110,9 @@
ourbar = span_red("<b>[ourbar] - [digest_mode]ed</b>")
if(onExamine)
to_chat(reciever,"<span class='notice'>[ourbar]</span>")
to_chat(reciever,span_notice("[ourbar]"))
else
to_chat(reciever,"<span class='vnotice'>[ourbar]</span>")
to_chat(reciever,span_vnotice("[ourbar]"))
/mob/living/verb/print_healthbars()
set name = "Print Prey Healthbars"
@@ -125,7 +125,7 @@
if(istype(amprey))
var/datum/digest_mode/selective/DM_S = GLOB.digest_modes[DM_SELECT]
var/digest_mode = amprey.digest_mode == DM_SELECT ? DM_S.get_selective_mode(amprey, src) : amprey.digest_mode
to_chat(src, "<span class='notice'>[digest_mode] - You are in [amprey.owner]'s [amprey.name]:</span>")
to_chat(src, span_notice("[digest_mode] - You are in [amprey.owner]'s [amprey.name]:"))
src.chat_healthbar(src, TRUE, TRUE)
nuffin = FALSE
@@ -139,10 +139,10 @@
if(!belly_announce)
var/datum/digest_mode/selective/DM_S = GLOB.digest_modes[DM_SELECT]
var/digest_mode = b.digest_mode == DM_SELECT ? DM_S.get_selective_mode(b, thing) : b.digest_mode
to_chat(src, "<span class='notice'>[digest_mode] - Within your [b.name]:</span>") //We only want to announce the belly if we found something
to_chat(src, span_notice("[digest_mode] - Within your [b.name]:")) //We only want to announce the belly if we found something
belly_announce = TRUE
var/mob/living/ourmob = thing
ourmob.chat_healthbar(src, TRUE, TRUE)
nuffin = FALSE
if(nuffin)
to_chat(src, "<span class='warning'>There are no mobs within any of your bellies to print health bars for, and you are not in a belly yourself.</span>")
to_chat(src, span_warning("There are no mobs within any of your bellies to print health bars for, and you are not in a belly yourself."))

View File

@@ -581,7 +581,7 @@
formatted_desc = replacetext(desc, "%belly", lowertext(name)) //replace with this belly's name
formatted_desc = replacetext(formatted_desc, "%pred", owner) //replace with this belly's owner
formatted_desc = replacetext(formatted_desc, "%prey", thing) //replace with whatever mob entered into this belly
to_chat(thing, "<span class='vnotice'><B>[formatted_desc]</B></span>")
to_chat(thing, span_vnotice("<B>[formatted_desc]</B>"))
return
if(OldLoc in contents)
return //Someone dropping something (or being stripdigested)
@@ -592,7 +592,7 @@
//Generic entered message
if(!owner.mute_entry && entrance_logs) //CHOMPEdit
if(!istype(thing, /mob/observer)) //Don't have ghosts announce they're reentering the belly on death
to_chat(owner,"<span class='vnotice'>[thing] slides into your [lowertext(name)].</span>")
to_chat(owner,span_vnotice("[thing] slides into your [lowertext(name)]."))
//Sound w/ antispam flag setting
if(vore_sound && !recent_sound && !istype(thing, /mob/observer))
@@ -635,11 +635,11 @@
formatted_desc = replacetext(raw_desc, "%belly", lowertext(name)) //replace with this belly's name
formatted_desc = replacetext(formatted_desc, "%pred", owner) //replace with this belly's owner
formatted_desc = replacetext(formatted_desc, "%prey", M) //replace with whatever mob entered into this belly
to_chat(M, "<span class='vnotice'><B>[formatted_desc]</B></span>")
to_chat(M, span_vnotice("<B>[formatted_desc]</B>"))
var/taste
if(can_taste && M.loc == src && (taste = M.get_taste_message(FALSE))) //CHOMPEdit - Prevent indirect tasting
to_chat(owner, "<span class='vnotice'>[M] tastes of [taste].</span>")
to_chat(owner, span_vnotice("[M] tastes of [taste]."))
vore_fx(M, TRUE) //CHOMPEdit: update belleh
if(owner.previewing_belly == src) //CHOMPEdit
vore_fx(owner, TRUE) //CHOMPEdit: update belleh
@@ -900,7 +900,7 @@
if(disable_hud && L != owner)
if(L?.hud_used?.hud_shown)
to_chat(L, "<span class='vnotice'>((Your pred has disabled huds in their belly. Turn off vore FX and hit F12 to get it back; or relax, and enjoy the serenity.))</span>")
to_chat(L, span_vnotice("((Your pred has disabled huds in their belly. Turn off vore FX and hit F12 to get it back; or relax, and enjoy the serenity.))"))
L.toggle_hud_vis(TRUE)
/obj/belly/proc/vore_preview(mob/living/L)
@@ -1113,7 +1113,7 @@
//Print notifications/sound if necessary
if(!silent && count)
owner.visible_message("<span class='vnotice'>[span_green("<b>[owner] [release_verb] everything from their [lowertext(name)]!</b>")]</span>", range = privacy_range)
owner.visible_message(span_vnotice("[span_green("<b>[owner] [release_verb] everything from their [lowertext(name)]!</b>")]"), range = privacy_range)
var/soundfile
if(!fancy_vore)
soundfile = classic_release_sounds[release_sound]
@@ -1201,7 +1201,7 @@
if(istype(M, /mob/observer)) //CHOMPEdit
silent = TRUE
if(!silent)
owner.visible_message("<span class='vnotice'>[span_green("<b>[owner] [release_verb] [M] from their [lowertext(name)]!</b>")]</span>",range = privacy_range)
owner.visible_message(span_vnotice("[span_green("<b>[owner] [release_verb] [M] from their [lowertext(name)]!</b>")]"),range = privacy_range)
var/soundfile
if(!fancy_vore)
soundfile = classic_release_sounds[release_sound]
@@ -1739,8 +1739,8 @@
GLOB.prey_absorbed_roundstat++
to_chat(M, "<span class='vnotice'>[absorb_alert_prey]</span>")
to_chat(owner, "<span class='vnotice'>[absorb_alert_owner]</span>")
to_chat(M, span_vnotice("[absorb_alert_prey]"))
to_chat(owner, span_vnotice("[absorb_alert_owner]"))
if(M.noisy) //Mute drained absorbee hunger if enabled.
M.noisy = FALSE
@@ -1783,7 +1783,7 @@
formatted_abs_desc = replacetext(absorbed_desc, "%belly", lowertext(name)) //replace with this belly's name
formatted_abs_desc = replacetext(formatted_abs_desc, "%pred", owner) //replace with this belly's owner
formatted_abs_desc = replacetext(formatted_abs_desc, "%prey", M) //replace with whatever mob entered into this belly
to_chat(M, "<span class='vnotice'><B>[formatted_abs_desc]</B></span>")
to_chat(M, span_vnotice("<B>[formatted_abs_desc]</B>"))
//Update owner
owner.updateVRPanel()
@@ -1798,7 +1798,7 @@
dest_belly = B
break
if(!dest_belly)
to_chat(owner, "<span class='vwarning'>Something went wrong with your belly transfer settings. Your <b>[lowertext(name)]</b> has had its transfer location cleared as a precaution.</span>")
to_chat(owner, span_vwarning("Something went wrong with your belly transfer settings. Your <b>[lowertext(name)]</b> has had its transfer location cleared as a precaution."))
transferlocation_absorb = null
return
@@ -1827,11 +1827,11 @@
M.absorbed = FALSE
handle_absorb_langs(M, owner)
to_chat(M, "<span class='vnotice'>[unabsorb_alert_prey]</span>")
to_chat(owner, "<span class='vnotice'>[unabsorb_alert_owner]</span>")
to_chat(M, span_vnotice("[unabsorb_alert_prey]"))
to_chat(owner, span_vnotice("[unabsorb_alert_owner]"))
if(desc)
to_chat(M, "<span class='vnotice'><B>[desc]</B></span>")
to_chat(M, span_vnotice("<B>[desc]</B>"))
//Update owner
owner.updateVRPanel()
@@ -1922,10 +1922,10 @@
escape_fail_prey_message = replacetext(escape_fail_prey_message, "%countprey", living_count)
escape_fail_prey_message = replacetext(escape_fail_prey_message, "%count", contents.len)
escape_attempt_owner_message = "<span class='vwarning'>[escape_attempt_owner_message]</span>"
escape_attempt_prey_message = "<span class='vwarning'>[escape_attempt_prey_message]</span>"
escape_fail_owner_message = "<span class='vwarning'>[escape_fail_owner_message]</span>"
escape_fail_prey_message = "<span class='vnotice'>[escape_fail_prey_message]</span>"
escape_attempt_owner_message = span_vwarning("[escape_attempt_owner_message]")
escape_attempt_prey_message = span_vwarning("[escape_attempt_prey_message]")
escape_fail_owner_message = span_vwarning("[escape_fail_owner_message]")
escape_fail_prey_message = span_vnotice("[escape_fail_prey_message]")
if(owner.stat) //If owner is stat (dead, KO) we can actually escape
escape_attempt_prey_message = replacetext(escape_attempt_prey_message, new/regex("^(<span(?: \[^>]*)?>.*)(</span>)$", ""), "$1 (This will take around [escapetime/10] seconds.)$2")
@@ -1962,8 +1962,8 @@
struggle_user_message = replacetext(struggle_user_message, "%countprey", living_count)
struggle_user_message = replacetext(struggle_user_message, "%count", contents.len)
struggle_outer_message = "<span class='valert'>[struggle_outer_message]</span>"
struggle_user_message = "<span class='valert'>[struggle_user_message]</span>"
struggle_outer_message = span_valert("[struggle_outer_message]")
struggle_user_message = span_valert("[struggle_user_message]")
//CHOMPEdit Start
if(private_struggle)
@@ -2025,9 +2025,9 @@
escape_item_outside_message = replacetext(escape_item_outside_message, "%count", contents.len)
escape_item_outside_message = replacetext(escape_item_outside_message, "%item", C)
escape_item_owner_message = "<span class='vwarning'>[escape_item_owner_message]</span>"
escape_item_prey_message = "<span class='vwarning'>[escape_item_prey_message]</span>"
escape_item_outside_message = "<span class='vwarning'>[escape_item_outside_message]</span>"
escape_item_owner_message = span_vwarning("[escape_item_owner_message]")
escape_item_prey_message = span_vwarning("[escape_item_prey_message]")
escape_item_outside_message = span_vwarning("[escape_item_outside_message]")
release_specific_contents(C)
to_chat(R, escape_item_prey_message)
@@ -2061,9 +2061,9 @@
escape_outside_message = replacetext(escape_outside_message, "%countprey", living_count)
escape_outside_message = replacetext(escape_outside_message, "%count", contents.len)
escape_owner_message = "<span class='vwarning'>[escape_owner_message]</span>"
escape_prey_message = "<span class='vwarning'>[escape_prey_message]</span>"
escape_outside_message = "<span class='vwarning'>[escape_outside_message]</span>"
escape_owner_message = span_vwarning("[escape_owner_message]")
escape_prey_message = span_vwarning("[escape_prey_message]")
escape_outside_message = span_vwarning("[escape_outside_message]")
release_specific_contents(R)
to_chat(R, escape_prey_message)
to_chat(owner, escape_owner_message)
@@ -2088,7 +2088,7 @@
break
if(!dest_belly)
to_chat(owner, "<span class='vwarning'>Something went wrong with your belly transfer settings. Your <b>[lowertext(name)]</b> has had it's transfer chance and transfer location cleared as a precaution.</span>")
to_chat(owner, span_vwarning("Something went wrong with your belly transfer settings. Your <b>[lowertext(name)]</b> has had it's transfer chance and transfer location cleared as a precaution."))
transferchance = 0
transferlocation = null
return
@@ -2109,8 +2109,8 @@
primary_transfer_prey_message = replacetext(primary_transfer_prey_message, "%count", contents.len)
primary_transfer_prey_message = replacetext(primary_transfer_prey_message, "%dest", transferlocation)
primary_transfer_owner_message = "<span class='vwarning'>[primary_transfer_owner_message]</span>"
primary_transfer_prey_message = "<span class='vwarning'>[primary_transfer_prey_message]</span>"
primary_transfer_owner_message = span_vwarning("[primary_transfer_owner_message]")
primary_transfer_prey_message = span_vwarning("[primary_transfer_prey_message]")
to_chat(R, primary_transfer_prey_message)
to_chat(owner, primary_transfer_owner_message)
@@ -2128,7 +2128,7 @@
break
if(!dest_belly)
to_chat(owner, "<span class='vwarning'>Something went wrong with your belly transfer settings. Your <b>[lowertext(name)]</b> has had it's transfer chance and transfer location cleared as a precaution.</span>")
to_chat(owner, span_vwarning("Something went wrong with your belly transfer settings. Your <b>[lowertext(name)]</b> has had it's transfer chance and transfer location cleared as a precaution."))
transferchance_secondary = 0
transferlocation_secondary = null
return
@@ -2150,8 +2150,8 @@
secondary_transfer_prey_message = replacetext(secondary_transfer_prey_message, "%count", contents.len)
secondary_transfer_prey_message = replacetext(secondary_transfer_prey_message, "%dest", transferlocation_secondary)
secondary_transfer_owner_message = "<span class='vwarning'>[secondary_transfer_owner_message]</span>"
secondary_transfer_prey_message = "<span class='vwarning'>[secondary_transfer_prey_message]</span>"
secondary_transfer_owner_message = span_vwarning("[secondary_transfer_owner_message]")
secondary_transfer_prey_message = span_vwarning("[secondary_transfer_prey_message]")
to_chat(R, secondary_transfer_prey_message)
to_chat(owner, secondary_transfer_owner_message)
@@ -2177,8 +2177,8 @@
absorb_chance_prey_message = replacetext(absorb_chance_prey_message, "%countprey", living_count)
absorb_chance_prey_message = replacetext(absorb_chance_prey_message, "%count", contents.len)
absorb_chance_owner_message = "<span class='vwarning'>[absorb_chance_owner_message]</span>"
absorb_chance_prey_message = "<span class='vwarning'>[absorb_chance_prey_message]</span>"
absorb_chance_owner_message = span_vwarning("[absorb_chance_owner_message]")
absorb_chance_prey_message = span_vwarning("[absorb_chance_prey_message]")
to_chat(R, absorb_chance_prey_message)
to_chat(owner, absorb_chance_owner_message)
@@ -2201,8 +2201,8 @@
digest_chance_prey_message = replacetext(digest_chance_prey_message, "%countprey", living_count)
digest_chance_prey_message = replacetext(digest_chance_prey_message, "%count", contents.len)
digest_chance_owner_message = "<span class='vwarning'>[digest_chance_owner_message]</span>"
digest_chance_prey_message = "<span class='vwarning'>[digest_chance_prey_message]</span>"
digest_chance_owner_message = span_vwarning("[digest_chance_owner_message]")
digest_chance_prey_message = span_vwarning("[digest_chance_prey_message]")
to_chat(R, digest_chance_prey_message)
to_chat(owner, digest_chance_owner_message)
@@ -2224,8 +2224,8 @@
select_chance_prey_message = replacetext(select_chance_prey_message, "%countprey", living_count)
select_chance_prey_message = replacetext(select_chance_prey_message, "%count", contents.len)
select_chance_owner_message = "<span class='vwarning'>[select_chance_owner_message]</span>"
select_chance_prey_message = "<span class='vwarning'>[select_chance_prey_message]</span>"
select_chance_owner_message = span_vwarning("[select_chance_owner_message]")
select_chance_prey_message = span_vwarning("[select_chance_prey_message]")
to_chat(R, select_chance_prey_message)
to_chat(owner, select_chance_owner_message)
@@ -2233,7 +2233,7 @@
else //Nothing interesting happened.
to_chat(R, struggle_user_message)
to_chat(owner, "<span class='vwarning'>Your prey appears to be unable to make any progress in escaping your [lowertext(name)].</span>")
to_chat(owner, span_vwarning("Your prey appears to be unable to make any progress in escaping your [lowertext(name)]."))
return
to_chat(R, struggle_user_message)
@@ -2261,8 +2261,8 @@
struggle_user_message = replacetext(struggle_user_message, "%belly", lowertext(name))
struggle_user_message = replacetext(struggle_user_message, "%countprey", absorbed_count)
struggle_outer_message = "<span class='valert'>[struggle_outer_message]</span>"
struggle_user_message = "<span class='valert'>[struggle_user_message]</span>"
struggle_outer_message = span_valert("[struggle_outer_message]")
struggle_user_message = span_valert("[struggle_user_message]")
//CHOMPEdit Start
if(private_struggle)
@@ -2311,8 +2311,8 @@
escape_attempt_absorbed_prey_message = replacetext(escape_attempt_absorbed_prey_message, "%countprey", living_count)
escape_attempt_absorbed_prey_message = replacetext(escape_attempt_absorbed_prey_message, "%count", contents.len)
escape_attempt_absorbed_owner_message = "<span class='vwarning'>[escape_attempt_absorbed_owner_message]</span>"
escape_attempt_absorbed_prey_message = "<span class='vwarning'>[escape_attempt_absorbed_prey_message]</span>"
escape_attempt_absorbed_owner_message = span_vwarning("[escape_attempt_absorbed_owner_message]")
escape_attempt_absorbed_prey_message = span_vwarning("[escape_attempt_absorbed_prey_message]")
to_chat(R, escape_attempt_absorbed_prey_message)
to_chat(owner, escape_attempt_absorbed_owner_message)
@@ -2340,9 +2340,9 @@
escape_absorbed_outside_message = replacetext(escape_absorbed_outside_message, "%countprey", living_count)
escape_absorbed_outside_message = replacetext(escape_absorbed_outside_message, "%count", contents.len)
escape_absorbed_owner_message = "<span class='vwarning'>[escape_absorbed_owner_message]</span>"
escape_absorbed_prey_message = "<span class='vwarning'>[escape_absorbed_prey_message]</span>"
escape_absorbed_outside_message = "<span class='vwarning'>[escape_absorbed_outside_message]</span>"
escape_absorbed_owner_message = span_vwarning("[escape_absorbed_owner_message]")
escape_absorbed_prey_message = span_vwarning("[escape_absorbed_prey_message]")
escape_absorbed_outside_message = span_vwarning("[escape_absorbed_outside_message]")
release_specific_contents(R)
to_chat(R, escape_absorbed_prey_message)
@@ -2372,8 +2372,8 @@
escape_fail_absorbed_prey_message = replacetext(escape_fail_absorbed_prey_message, "%countprey", living_count)
escape_fail_absorbed_prey_message = replacetext(escape_fail_absorbed_prey_message, "%count", contents.len)
escape_fail_absorbed_owner_message = "<span class='vwarning'>[escape_fail_absorbed_owner_message]</span>"
escape_fail_absorbed_prey_message = "<span class='vnotice'>[escape_fail_absorbed_prey_message]</span>"
escape_fail_absorbed_owner_message = span_vwarning("[escape_fail_absorbed_owner_message]")
escape_fail_absorbed_prey_message = span_vnotice("[escape_fail_absorbed_prey_message]")
to_chat(R, escape_fail_absorbed_prey_message)
to_chat(owner, escape_fail_absorbed_owner_message)

View File

@@ -161,7 +161,7 @@
formatted_message = replacetext(formatted_message, "%prey", M)
formatted_message = replacetext(formatted_message, "%countprey", absorbed_count)
if(formatted_message)
to_chat(M, "<span class='vnotice'>[formatted_message]</span>")
to_chat(M, span_vnotice("[formatted_message]"))
else
if (digest_mode == DM_SELECT)
var/datum/digest_mode/selective/DM_S = GLOB.digest_modes[DM_SELECT]
@@ -177,7 +177,7 @@
formatted_message = replacetext(formatted_message, "%countprey", living_count)
formatted_message = replacetext(formatted_message, "%count", contents.len)
if(formatted_message)
to_chat(M, "<span class='vnotice'>[formatted_message]</span>")
to_chat(M, span_vnotice("[formatted_message]"))
if(to_update)
updateVRPanels()
@@ -360,8 +360,8 @@
digest_alert_prey = replacetext(digest_alert_prey, "%count", contents.len)
//Send messages
to_chat(owner, "<span class='vnotice'>[digest_alert_owner]</span>")
to_chat(M, "<span class='vnotice'>[digest_alert_prey]</span>")
to_chat(owner, span_vnotice("[digest_alert_owner]"))
to_chat(M, span_vnotice("[digest_alert_prey]"))
if(M.ckey)
GLOB.prey_digested_roundstat++
@@ -403,8 +403,8 @@
if(L.tiredness <= 105)
L.tiredness = (L.tiredness + 6)
if(L.tiredness <= 90 && L.tiredness >= 75)
to_chat(L, "<span class='warning'>You are about to fall unconscious!</span>")
to_chat(owner, "<span class='warning'>[L] is about to fall unconscious!</span>")
to_chat(L, span_warning("You are about to fall unconscious!"))
to_chat(owner, span_warning("[L] is about to fall unconscious!"))
if(drainmode == DR_FAKE && istype(L,/mob/living/carbon/human)) //Slowly bring prey to the edge of sleep without crossing it
if(L.tiredness <= 93)
L.tiredness = (L.tiredness + 6)

View File

@@ -69,13 +69,13 @@ var/list/gurgled_overlays = list(
/obj/structure/sink/attackby(obj/item/I, mob/user) //Wash the soggy item before it can interact with the sink.
if(istype(I) && I.gurgled)
to_chat(user, "<span class='notice'>You start washing [I].</span>")
to_chat(user, span_notice("You start washing [I]."))
busy = TRUE
if(do_after(user, 40, src))
I.clean_blood()
user.visible_message("<span class='notice'>[user] washes [I] using [src].</span>",
"<span class='notice'>You wash [I] using [src].</span>")
user.visible_message(span_notice("[user] washes [I] using [src]."),
span_notice("You wash [I] using [src]."))
busy = FALSE
else
..()

View File

@@ -138,7 +138,7 @@
/obj/item/digestion_remains/attack_self(var/mob/user)
if(user.a_intent == I_HURT)
to_chat(user,"<span class='warning'>As you squeeze the [name], it crumbles into dust and falls apart into nothing!</span>")
to_chat(user,span_warning("As you squeeze the [name], it crumbles into dust and falls apart into nothing!"))
qdel(src)
/obj/item/digestion_remains/ribcage

View File

@@ -67,7 +67,7 @@
//We'll load our client's organs if we have one
if(client && client.prefs_vr)
if(!copy_from_prefs_vr())
to_chat(src,"<span class='warning'>ERROR: You seem to have saved VOREStation prefs, but they couldn't be loaded.</span>")
to_chat(src,span_warning("ERROR: You seem to have saved VOREStation prefs, but they couldn't be loaded."))
return FALSE
if(LAZYLEN(vore_organs))
vore_selected = vore_organs[1]
@@ -136,7 +136,7 @@
if(istype(victim) && !victim.client && !victim.ai_holder) //Check whether the victim is: A carbon mob, has no client, but has a ckey. This should indicate an SSD player.
log_and_message_admins("[key_name_admin(attacker)] attempted to force feed themselves to [key_name_admin(G.affecting)] whilst they were AFK ([G.affecting ? ADMIN_JMP(G.affecting) : "null"])")
if(!G.affecting.feeding)
to_chat(user, "<span class='vnotice'>[G.affecting] isn't willing to be fed.</span>")
to_chat(user, span_vnotice("[G.affecting] isn't willing to be fed."))
log_and_message_admins("[key_name_admin(src)] attempted to feed themselves to [key_name_admin(G.affecting)] against their prefs ([G.affecting ? ADMIN_JMP(G.affecting) : "null"])")
return FALSE
@@ -155,11 +155,11 @@
log_and_message_admins("[key_name_admin(attacker)] attempted to feed [key_name_admin(G.affecting)] to [key_name_admin(src)] whilst [key_name_admin(src)] was AFK ([G.affecting ? ADMIN_JMP(G.affecting) : "null"])")
if(!feeding)
to_chat(user, "<span class='vnotice'>[src] isn't willing to be fed.</span>")
to_chat(user, span_vnotice("[src] isn't willing to be fed."))
log_and_message_admins("[key_name_admin(attacker)] attempted to feed [key_name_admin(G.affecting)] to [key_name_admin(src)] against predator's prefs ([src ? ADMIN_JMP(src) : "null"])")
return FALSE
if(!(G.affecting.devourable))
to_chat(user, "<span class='vnotice'>[G.affecting] isn't able to be devoured.</span>")
to_chat(user, span_vnotice("[G.affecting] isn't able to be devoured."))
log_and_message_admins("[key_name_admin(attacker)] attempted to feed [key_name_admin(G.affecting)] to [key_name_admin(src)] against prey's prefs ([G.affecting ? ADMIN_JMP(G.affecting) : "null"])")
return FALSE
if(attacker.feed_grabbed_to_other(attacker, G.affecting, src))
@@ -190,8 +190,8 @@
var/obj/belly/B = tgui_input_list(user, "Which belly?", "Select A Belly", vore_organs) //ChompEDIT - user, not usr
if(!istype(B))
return TRUE
visible_message("<span class='warning'>[user] is trying to stuff a beacon into [src]'s [lowertext(B.name)]!</span>",
"<span class='warning'>[user] is trying to stuff a beacon into you!</span>")
visible_message(span_warning("[user] is trying to stuff a beacon into [src]'s [lowertext(B.name)]!"),
span_warning("[user] is trying to stuff a beacon into you!"))
if(do_after(user,30,src))
user.drop_item()
I.forceMove(B)
@@ -240,7 +240,7 @@
/mob/proc/copy_to_prefs_vr()
if(!client || !client.prefs_vr)
to_chat(src,"<span class='warning'>You attempted to save your vore prefs but somehow you're in this character without a client.prefs_vr variable. Tell a dev.</span>")
to_chat(src,span_warning("You attempted to save your vore prefs but somehow you're in this character without a client.prefs_vr variable. Tell a dev."))
return FALSE
var/datum/vore_preferences/P = client.prefs_vr
@@ -314,7 +314,7 @@
//
/mob/proc/copy_from_prefs_vr(var/bellies = TRUE, var/full_vorgans = FALSE) //CHOMPedit: full_vorgans var to bypass 1-belly load optimization.
if(!client || !client.prefs_vr)
to_chat(src,"<span class='warning'>You attempted to apply your vore prefs but somehow you're in this character without a client.prefs_vr variable. Tell a dev.</span>")
to_chat(src,span_warning("You attempted to apply your vore prefs but somehow you're in this character without a client.prefs_vr variable. Tell a dev."))
return FALSE
var/datum/vore_preferences/P = client.prefs_vr
@@ -419,7 +419,7 @@
/datum/preferences/proc/load_vore_prefs_from_client(mob/user)
if(selecting_slots)
to_chat(user, "<span class='warning'>You already have a slot selection dialog open!</span>")
to_chat(user, span_warning("You already have a slot selection dialog open!"))
return
if(!savefile)
return
@@ -528,10 +528,10 @@
setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(tasted == src) //CHOMPEdit Start
visible_message("<span class='vwarning'>[src] licks themself!</span>","<span class='notice'>You lick yourself. You taste rather like [tasted.get_taste_message()].</span>")
visible_message(span_vwarning("[src] licks themself!"),span_notice("You lick yourself. You taste rather like [tasted.get_taste_message()]."))
balloon_alert_visible("Licks themself!", "Tastes like [tasted.get_taste_message()]")
else
visible_message("<span class='vwarning'>[src] licks [tasted]!</span>","<span class='notice'>You lick [tasted]. They taste rather like [tasted.get_taste_message()].</span>")
visible_message(span_vwarning("[src] licks [tasted]!"),span_notice("You lick [tasted]. They taste rather like [tasted.get_taste_message()]."))
balloon_alert_visible("Licks [tasted]!", "Tastes like [tasted.get_taste_message()]")
//CHOMPEdit End
@@ -573,10 +573,10 @@
setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(smelled == src) //CHOMPEdit Start
visible_message("<span class='vwarning'>[src] smells themself!</span>","<span class='notice'>You smell yourself. You smell like [smelled.get_smell_message()].</span>","<b>Sniff!</b>")
visible_message(span_vwarning("[src] smells themself!"),span_notice("You smell yourself. You smell like [smelled.get_smell_message()]."),"<b>Sniff!</b>")
balloon_alert_visible("Smells themself!", "Smells like [smelled.get_smell_message()]")
else
visible_message("<span class='vwarning'>[src] smells [smelled]!</span>","<span class='notice'>You smell [smelled]. They smell like [smelled.get_smell_message()].</span>","<b>Sniff!</b>")
visible_message(span_vwarning("[src] smells [smelled]!"),span_notice("You smell [smelled]. They smell like [smelled.get_smell_message()]."),"<b>Sniff!</b>")
balloon_alert_visible("Smells [smelled]!", "Smells like [smelled.get_smell_message()]")
//CHOMPEdit End
@@ -706,7 +706,7 @@
//Don't appear to be in a vore situation
else
to_chat(src,"<span class='alert'>You aren't inside anyone, though, is the thing.</span>")
to_chat(src,span_alert("You aren't inside anyone, though, is the thing."))
//
// Eating procs depending on who clicked what
@@ -764,11 +764,11 @@
return FALSE
if(!prey.devourable)
to_chat(user, "<span class='vnotice'>They aren't able to be devoured.</span>")
to_chat(user, span_vnotice("They aren't able to be devoured."))
log_and_message_admins("[key_name_admin(src)] attempted to devour [key_name_admin(prey)] against their prefs ([prey ? ADMIN_JMP(prey) : "null"])")
return FALSE
if(prey.absorbed || pred.absorbed)
to_chat(user, "<span class='vwarning'>They aren't aren't in a state to be devoured.</span>")
to_chat(user, span_vwarning("They aren't aren't in a state to be devoured."))
return FALSE
//Determining vore attempt privacy
@@ -786,17 +786,17 @@
// Slipnoms from chompstation downstream, credit to cadyn for the original PR.
// Prepare messages
if(prey.is_slipping)
attempt_msg = "<span class='vwarning'>It seems like [prey] is about to slide into [pred]'s [lowertext(belly.name)]!</span>"
success_msg = "<span class='vwarning'>[prey] suddenly slides into [pred]'s [lowertext(belly.name)]!</span>"
attempt_msg = span_vwarning("It seems like [prey] is about to slide into [pred]'s [lowertext(belly.name)]!")
success_msg = span_vwarning("[prey] suddenly slides into [pred]'s [lowertext(belly.name)]!")
else if(pred.is_slipping)
attempt_msg = "<span class='vwarning'>It seems like [prey] is gonna end up inside [pred]'s [lowertext(belly.name)] as [pred] comes sliding over!</span>"
success_msg = "<span class='vwarning'>[prey] suddenly slips inside of [pred]'s [lowertext(belly.name)] as [pred] slides into them!</span>"
attempt_msg = span_vwarning("It seems like [prey] is gonna end up inside [pred]'s [lowertext(belly.name)] as [pred] comes sliding over!")
success_msg = span_vwarning("[prey] suddenly slips inside of [pred]'s [lowertext(belly.name)] as [pred] slides into them!")
else if(user == pred) //Feeding someone to yourself
attempt_msg = "<span class='vwarning'>[pred] is attempting to [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!</span>"
success_msg = "<span class='vwarning'>[pred] manages to [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!</span>"
attempt_msg = span_vwarning("[pred] is attempting to [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!")
success_msg = span_vwarning("[pred] manages to [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!")
else //Feeding someone to another person
attempt_msg = "<span class='vwarning'>[user] is attempting to make [pred] [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!</span>"
success_msg = "<span class='vwarning'>[user] manages to make [pred] [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!</span>"
attempt_msg = span_vwarning("[user] is attempting to make [pred] [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!")
success_msg = span_vwarning("[user] manages to make [pred] [lowertext(belly.vore_verb)] [prey] into their [lowertext(belly.name)]!")
// Announce that we start the attempt!
@@ -930,7 +930,7 @@
//If they're passed out, the light won't help them. Same with buckled. Really, I think it's fine to do this whenever.
glow_toggle = !glow_toggle
to_chat(src,"<span class='notice'>You <b>[glow_toggle ? "en" : "dis"]</b>able your body's glow.</span>")
to_chat(src,span_notice("You <b>[glow_toggle ? "en" : "dis"]</b>able your body's glow."))
/mob/living/proc/glow_color()
set name = "Glow (Set Color)"
@@ -958,38 +958,38 @@
set desc = "Consume held garbage."
if(!vore_selected)
to_chat(src,"<span class='warning'>You either don't have a belly selected, or don't have a belly!</span>")
to_chat(src,span_warning("You either don't have a belly selected, or don't have a belly!"))
return
var/obj/item/I = get_active_hand()
if(!I)
to_chat(src, "<span class='notice'>You are not holding anything.</span>")
to_chat(src, span_notice("You are not holding anything."))
return
if(is_type_in_list(I,item_vore_blacklist) && !adminbus_trash) //If someone has adminbus, they can eat whatever they want.
to_chat(src, "<span class='warning'>You are not allowed to eat this.</span>")
to_chat(src, span_warning("You are not allowed to eat this."))
return
if(!I.trash_eatable) //OOC pref. This /IS/ respected, even if adminbus_trash is enabled
to_chat(src, "<span class='warning'>You can't eat that so casually!</span>")
to_chat(src, span_warning("You can't eat that so casually!"))
return
if(istype(I, /obj/item/paicard))
var/obj/item/paicard/palcard = I
var/mob/living/silicon/pai/pocketpal = palcard.pai
if(pocketpal && (!pocketpal.devourable))
to_chat(src, "<span class='warning'>\The [pocketpal] doesn't allow you to eat it.</span>")
to_chat(src, span_warning("\The [pocketpal] doesn't allow you to eat it."))
return
if(istype(I, /obj/item/book))
var/obj/item/book/book = I
if(book.carved)
to_chat(src, "<span class='warning'>\The [book] is not worth eating without the filling.</span>")
to_chat(src, span_warning("\The [book] is not worth eating without the filling."))
return
if(is_type_in_list(I,edible_trash) | adminbus_trash || is_type_in_list(I,edible_tech) && isSynthetic()) //chompstation add synth check
if(I.hidden_uplink)
to_chat(src, "<span class='warning'>You really should not be eating this.</span>")
to_chat(src, span_warning("You really should not be eating this."))
message_admins("[key_name(src)] has attempted to ingest an uplink item. ([src ? ADMIN_JMP(src) : "null"])")
return
if(istype(I,/obj/item/pda))
@@ -1003,15 +1003,15 @@
if(!watching)
return
else
visible_message("<span class='warning'>[src] is threatening to make [P] disappear!</span>")
visible_message(span_warning("[src] is threatening to make [P] disappear!"))
if(P.id)
var/confirm = tgui_alert(src, "The PDA you're holding contains a vulnerable ID card. Will you risk it?", "Confirmation", list("Definitely", "Cancel"))
if(confirm != "Definitely")
return
if(!do_after(src, 100, P))
return
visible_message("<span class='warning'>[src] successfully makes [P] disappear!</span>")
to_chat(src, "<span class='notice'>You can taste the sweet flavor of delicious technology.</span>")
visible_message(span_warning("[src] successfully makes [P] disappear!"))
to_chat(src, span_notice("You can taste the sweet flavor of delicious technology."))
drop_item()
I.forceMove(vore_selected)
updateVRPanel()
@@ -1019,12 +1019,12 @@
if(istype(I,/obj/item/clothing/shoes))
var/obj/item/clothing/shoes/S = I
if(S.holding)
to_chat(src, "<span class='warning'>There's something inside!</span>")
to_chat(src, span_warning("There's something inside!"))
return
if(iscapturecrystal(I))
var/obj/item/capture_crystal/C = I
if(!C.bound_mob.devourable)
to_chat(src, "<span class='warning'>That doesn't seem like a good idea. (\The [C.bound_mob]'s prefs don't allow it.)</span>")
to_chat(src, span_warning("That doesn't seem like a good idea. (\The [C.bound_mob]'s prefs don't allow it.)"))
return
drop_item()
I.forceMove(vore_selected)
@@ -1033,43 +1033,43 @@
log_admin("VORE: [src] used Eat Trash to swallow [I].")
if(istype(I,/obj/item/flashlight/flare) || istype(I,/obj/item/flame/match) || istype(I,/obj/item/storage/box/matches))
to_chat(src, "<span class='notice'>You can taste the flavor of spicy cardboard.</span>")
to_chat(src, span_notice("You can taste the flavor of spicy cardboard."))
else if(istype(I,/obj/item/flashlight/glowstick))
to_chat(src, "<span class='notice'>You found out the glowy juice only tastes like regret.</span>")
to_chat(src, span_notice("You found out the glowy juice only tastes like regret."))
else if(istype(I,/obj/item/trash/cigbutt))
to_chat(src, "<span class='notice'>You can taste the flavor of bitter ash. Classy.</span>")
to_chat(src, span_notice("You can taste the flavor of bitter ash. Classy."))
else if(istype(I,/obj/item/clothing/mask/smokable))
var/obj/item/clothing/mask/smokable/C = I
if(C.lit)
to_chat(src, "<span class='notice'>You can taste the flavor of burning ash. Spicy!</span>")
to_chat(src, span_notice("You can taste the flavor of burning ash. Spicy!"))
else
to_chat(src, "<span class='notice'>You can taste the flavor of aromatic rolling paper and funny looks.</span>")
to_chat(src, span_notice("You can taste the flavor of aromatic rolling paper and funny looks."))
else if(istype(I,/obj/item/paper))
to_chat(src, "<span class='notice'>You can taste the dry flavor of bureaucracy.</span>")
to_chat(src, span_notice("You can taste the dry flavor of bureaucracy."))
else if(istype(I,/obj/item/book))
to_chat(src, "<span class='notice'>You can taste the dry flavor of knowledge.</span>")
to_chat(src, span_notice("You can taste the dry flavor of knowledge."))
else if(istype(I,/obj/item/dice)) //CHOMPedit: Removed roulette ball because that's not active here.
to_chat(src, "<span class='notice'>You can taste the bitter flavor of cheating.</span>")
to_chat(src, span_notice("You can taste the bitter flavor of cheating."))
else if(istype(I,/obj/item/lipstick))
to_chat(src, "<span class='notice'>You can taste the flavor of couture and style. Toddler at the make-up bag style.</span>")
to_chat(src, span_notice("You can taste the flavor of couture and style. Toddler at the make-up bag style."))
else if(istype(I,/obj/item/soap))
to_chat(src, "<span class='notice'>You can taste the bitter flavor of verbal purification.</span>")
to_chat(src, span_notice("You can taste the bitter flavor of verbal purification."))
else if(istype(I,/obj/item/spacecash) || istype(I,/obj/item/storage/wallet))
to_chat(src, "<span class='notice'>You can taste the flavor of wealth and reckless waste.</span>")
to_chat(src, span_notice("You can taste the flavor of wealth and reckless waste."))
else if(istype(I,/obj/item/broken_bottle) || istype(I,/obj/item/material/shard))
to_chat(src, "<span class='notice'>You can taste the flavor of pain. This can't possibly be healthy for your guts.</span>")
to_chat(src, span_notice("You can taste the flavor of pain. This can't possibly be healthy for your guts."))
else if(istype(I,/obj/item/light))
var/obj/item/light/L = I
if(L.status == LIGHT_BROKEN)
to_chat(src, "<span class='notice'>You can taste the flavor of pain. This can't possibly be healthy for your guts.</span>")
to_chat(src, span_notice("You can taste the flavor of pain. This can't possibly be healthy for your guts."))
else
to_chat(src, "<span class='notice'>You can taste the flavor of really bad ideas.</span>")
to_chat(src, span_notice("You can taste the flavor of really bad ideas."))
else if(istype(I,/obj/item/bikehorn/tinytether))
to_chat(src, "<span class='notice'>You feel a rush of power swallowing such a large, err, tiny structure.</span>")
to_chat(src, span_notice("You feel a rush of power swallowing such a large, err, tiny structure."))
else if(istype(I,/obj/item/mmi/digital/posibrain) || istype(I,/obj/item/aicard))
to_chat(src, "<span class='notice'>You can taste the sweet flavor of digital friendship. Or maybe it is something else.</span>")
to_chat(src, span_notice("You can taste the sweet flavor of digital friendship. Or maybe it is something else."))
else if(istype(I,/obj/item/paicard))
to_chat(src, "<span class='notice'>You can taste the sweet flavor of digital friendship.</span>")
to_chat(src, span_notice("You can taste the sweet flavor of digital friendship."))
var/obj/item/paicard/ourcard = I
if(ourcard.pai && ourcard.pai.client && isbelly(ourcard.loc))
var/obj/belly/B = ourcard.loc
@@ -1077,51 +1077,51 @@
else if(istype(I,/obj/item/reagent_containers/food))
var/obj/item/reagent_containers/food/F = I
if(!F.reagents.total_volume)
to_chat(src, "<span class='notice'>You can taste the flavor of garbage and leftovers. Delicious?</span>")
to_chat(src, span_notice("You can taste the flavor of garbage and leftovers. Delicious?"))
else
to_chat(src, "<span class='notice'>You can taste the flavor of gluttonous waste of food.</span>")
to_chat(src, span_notice("You can taste the flavor of gluttonous waste of food."))
else if (istype(I,/obj/item/clothing/accessory/collar))
to_chat(src, "<span class='notice'>You can taste the submissiveness in the wearer of [I]!</span>")
to_chat(src, span_notice("You can taste the submissiveness in the wearer of [I]!"))
else if(iscapturecrystal(I))
var/obj/item/capture_crystal/C = I
if(C.bound_mob && (C.bound_mob in C.contents))
if(isbelly(C.loc))
//var/obj/belly/B = C.loc //CHOMPedit
//to_chat(C.bound_mob, "<span class= 'notice'>Outside of your crystal, you can see; <B>[B.desc]</B></span>") //CHOMPedit: moved to modular_chomp capture_crystal.dm
to_chat(src, "<span class='notice'>You can taste the the power of command.</span>")
to_chat(src, span_notice("You can taste the the power of command."))
// CHOMPedit begin
else if(istype(I,/obj/item/starcaster_news))
to_chat(src, "<span class='notice'>You can taste the dry flavor of digital garbage, oh wait its just the news.</span>")
to_chat(src, span_notice("You can taste the dry flavor of digital garbage, oh wait its just the news."))
else if(istype(I,/obj/item/newspaper))
to_chat(src, "<span class='notice'>You can taste the dry flavor of garbage, oh wait its just the news.</span>")
to_chat(src, span_notice("You can taste the dry flavor of garbage, oh wait its just the news."))
else if (istype(I,/obj/item/cell))
visible_message("<span class='warning'>[src] sates their electric appetite with a [I]!</span>")
to_chat(src, "<span class='notice'>You can taste the spicy flavor of electrolytes, yum.</span>")
visible_message(span_warning("[src] sates their electric appetite with a [I]!"))
to_chat(src, span_notice("You can taste the spicy flavor of electrolytes, yum."))
else if (istype(I,/obj/item/walkpod))
visible_message("<span class='warning'>[src] sates their musical appetite with a [I]!</span>")
to_chat(src, "<span class='notice'>You can taste the jazzy flavor of music.</span>")
visible_message(span_warning("[src] sates their musical appetite with a [I]!"))
to_chat(src, span_notice("You can taste the jazzy flavor of music."))
else if (istype(I,/obj/item/mail/junkmail))
visible_message("<span class='warning'>[src] devours the [I]!</span>")
to_chat(src, "<span class='notice'>You can taste the flavor of the galactic postal service.</span>")
visible_message(span_warning("[src] devours the [I]!"))
to_chat(src, span_notice("You can taste the flavor of the galactic postal service."))
else if (istype(I,/obj/item/gun/energy/sizegun))
visible_message("<span class='warning'>[src] devours the [I]!</span>")
to_chat(src, "<span class='notice'>You didn't read the warning label, did you?</span>")
visible_message(span_warning("[src] devours the [I]!"))
to_chat(src, span_notice("You didn't read the warning label, did you?"))
else if (istype(I,/obj/item/slow_sizegun))
visible_message("<span class='warning'>[src] devours the [I]!</span>")
to_chat(src, "<span class='notice'>You taste the flavor of sunday driver bluespace.</span>")
visible_message(span_warning("[src] devours the [I]!"))
to_chat(src, span_notice("You taste the flavor of sunday driver bluespace."))
else if (istype(I,/obj/item/laser_pointer))
visible_message("<span class='warning'>[src] devours the [I]!</span>")
to_chat(src, "<span class='notice'>You taste the flavor of a laser.</span>")
visible_message(span_warning("[src] devours the [I]!"))
to_chat(src, span_notice("You taste the flavor of a laser."))
else if (istype(I,/obj/item/canvas))
visible_message("<span class='warning'>[src] devours the [I]!</span>")
to_chat(src, "<span class='notice'>You taste the flavor of priceless artwork.</span>")
visible_message(span_warning("[src] devours the [I]!"))
to_chat(src, span_notice("You taste the flavor of priceless artwork."))
//CHOMPedit end
else
to_chat(src, "<span class='notice'>You can taste the flavor of garbage. Delicious.</span>")
visible_message("<span class='vwarning'>[src] demonstrates the voracious capabilities of their [lowertext(vore_selected.name)] by making [I] disappear!</span>") //CHOMPedit
to_chat(src, span_notice("You can taste the flavor of garbage. Delicious."))
visible_message(span_vwarning("[src] demonstrates the voracious capabilities of their [lowertext(vore_selected.name)] by making [I] disappear!")) //CHOMPedit
return
to_chat(src, "<span class='notice'>This snack is too powerful to go down that easily.</span>") //CHOMPEdit
to_chat(src, span_notice("This snack is too powerful to go down that easily.")) //CHOMPEdit
return
/mob/living/proc/toggle_trash_catching() //Ported from chompstation
@@ -1129,7 +1129,7 @@
set category = "Abilities.Vore"
set desc = "Toggle Trash Eater throw vore abilities."
trash_catching = !trash_catching
to_chat(src, "<span class='vwarning'>Trash catching [trash_catching ? "enabled" : "disabled"].</span>") //CHOMPEdit
to_chat(src, span_vwarning("Trash catching [trash_catching ? "enabled" : "disabled"].")) //CHOMPEdit
/mob/living/proc/eat_minerals() //Actual eating abstracted so the user isn't given a prompt due to an argument in this verb.
set name = "Eat Minerals"
@@ -1145,16 +1145,16 @@
return
if(!vore_selected)
to_chat(src, "<span class='warning'>You either don't have a belly selected, or don't have a belly!</span>")
to_chat(src, span_warning("You either don't have a belly selected, or don't have a belly!"))
return
var/obj/item/I = (snack ? snack : feeder.get_active_hand())
if(!I)
to_chat(feeder, "<span class='notice'>You look longingly at your empty hands, imagining if they held something edible...</span>")
to_chat(feeder, span_notice("You look longingly at your empty hands, imagining if they held something edible..."))
return
if(!istype(I))
to_chat(src, "<span class='notice'>You pause for a moment to examine [I] and realize it's not even worth the energy to chew.</span>")
to_chat(src, span_notice("You pause for a moment to examine [I] and realize it's not even worth the energy to chew."))
return
var/list/nom = null
@@ -1229,18 +1229,18 @@
if(nom) //Ravenous 1-4, snackage confirmed. Clear for chowdown, over.
playsound(src, 'sound/items/eatfood.ogg', rand(10,50), 1)
var/T = (istype(M) ? M.hardness/40 : 1) SECONDS //1.5 seconds to eat a sheet of metal. 2.5 for durasteel and diamond & 1 by default (applies to some ores like raw carbon, slag, etc.
to_chat(src, "<span class='notice'>You start crunching on [I] with your powerful jaws, attempting to tear it apart...</span>")
to_chat(src, span_notice("You start crunching on [I] with your powerful jaws, attempting to tear it apart..."))
if(do_after(feeder, T, ignore_movement = TRUE, exclusive = TASK_ALL_EXCLUSIVE)) //Eat on the move, but not multiple things at once.
if(feeder != src)
to_chat(feeder, "<span class='notice'>You feed [I] to [src].</span>")
to_chat(feeder, span_notice("You feed [I] to [src]."))
log_admin("VORE: [feeder] fed [src] [I].")
else
log_admin("VORE: [src] used Eat Minerals to swallow [I].")
//Eat the ore using the vorebelly for the sound then get rid of the ore to prevent infinite nutrition.
drop_from_inventory(I, vore_selected) //Never touches the ground - straight to the gut.
visible_message("[src] crunches [I] to pieces and swallows it down.",
"<span class='notice'>[nom["remark"]]</span>",
"<span class='notice'>You hear the gnashing of jaws with some ominous grinding and crunching noises, then... Swallowing?</span>")
span_notice("[nom["remark"]]"),
span_notice("You hear the gnashing of jaws with some ominous grinding and crunching noises, then... Swallowing?"))
adjust_nutrition(nom["nutrition"])
qdel(I)
@@ -1255,10 +1255,10 @@
return TRUE
else
to_chat(src, "<span class='notice'>You were interrupted while gnawing on [I]!</span>")
to_chat(src, span_notice("You were interrupted while gnawing on [I]!"))
else //Not the droids we're looking for.
to_chat(src, "<span class='notice'>You pause for a moment to examine [I] and realize it's not even worth the energy to chew.</span>") //If it ain't ore or the type of sheets we can eat, bugger off!
to_chat(src, span_notice("You pause for a moment to examine [I] and realize it's not even worth the energy to chew.")) //If it ain't ore or the type of sheets we can eat, bugger off!
/mob/living/proc/toggle_stuffing_mode()
set name = "Toggle feeding mode"
@@ -1266,7 +1266,7 @@
set desc = "Switch whether you will try to feed other people food whole or normally, bite by bite."
stuffing_feeder = !stuffing_feeder
to_chat(src, "<span class='notice'>You will [stuffing_feeder ? "now" : "no longer"] try to feed food whole.</span>")
to_chat(src, span_notice("You will [stuffing_feeder ? "now" : "no longer"] try to feed food whole."))
/mob/living/proc/switch_scaling()
set name = "Switch scaling mode"
@@ -1399,7 +1399,7 @@
if(result == "Open Panel")
var/mob/living/user = usr
if(!user)
to_chat(usr,"<span class='notice'>Mob undefined: [user]</span>")
to_chat(usr,span_notice("Mob undefined: [user]"))
return FALSE
var/datum/vore_look/export_panel/exportPanel
@@ -1407,7 +1407,7 @@
exportPanel = new(usr)
if(!exportPanel)
to_chat(user,"<span class='notice'>Export panel undefined: [exportPanel]</span>")
to_chat(user,span_notice("Export panel undefined: [exportPanel]"))
return
exportPanel.tgui_interact(user)
@@ -1415,126 +1415,126 @@
for(var/belly in vore_organs)
if(isbelly(belly))
var/obj/belly/B = belly
to_chat(src, "<span class='chatexport'><b>Belly name:</b> [B.name]</span>")
to_chat(src, "<span class='chatexport'><b>Belly desc:</b> [B.desc]</span>")
to_chat(src, "<span class='chatexport'><b>Belly absorbed desc:</b> [B.absorbed_desc]</span>")
to_chat(src, "<span class='chatexport'><b>Vore verb:</b> [B.vore_verb]</span>")
to_chat(src, "<span class='chatexport'><b>Struggle messages (outside):</b></span>")
to_chat(src, span_chatexport("<b>Belly name:</b> [B.name]"))
to_chat(src, span_chatexport("<b>Belly desc:</b> [B.desc]"))
to_chat(src, span_chatexport("<b>Belly absorbed desc:</b> [B.absorbed_desc]"))
to_chat(src, span_chatexport("<b>Vore verb:</b> [B.vore_verb]"))
to_chat(src, span_chatexport("<b>Struggle messages (outside):</b>"))
for(var/msg in B.struggle_messages_outside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Struggle messages (inside):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Struggle messages (inside):</b>"))
for(var/msg in B.struggle_messages_inside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed struggle messages (outside):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed struggle messages (outside):</b>"))
for(var/msg in B.absorbed_struggle_messages_outside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed struggle messages (inside):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed struggle messages (inside):</b>"))
for(var/msg in B.absorbed_struggle_messages_inside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape attempt messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape attempt messages (owner):</b>"))
for(var/msg in B.escape_attempt_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape attempt messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape attempt messages (prey):</b>"))
for(var/msg in B.escape_attempt_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape messages (owner):</b>"))
for(var/msg in B.escape_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape messages (prey):</b>"))
for(var/msg in B.escape_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape messages (outside):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape messages (outside):</b>"))
for(var/msg in B.escape_messages_outside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape item messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape item messages (owner):</b>"))
for(var/msg in B.escape_item_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape item messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape item messages (prey):</b>"))
for(var/msg in B.escape_item_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape item messages (outside):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape item messages (outside):</b>"))
for(var/msg in B.escape_item_messages_outside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape fail messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape fail messages (owner):</b>"))
for(var/msg in B.escape_fail_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Escape fail messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Escape fail messages (prey):</b>"))
for(var/msg in B.escape_fail_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape attempt messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape attempt messages (owner):</b>"))
for(var/msg in B.escape_attempt_absorbed_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape attempt messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape attempt messages (prey):</b>"))
for(var/msg in B.escape_attempt_absorbed_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape messages (owner):</b>"))
for(var/msg in B.escape_absorbed_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape messages (prey):</b>"))
for(var/msg in B.escape_absorbed_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape messages (outside):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape messages (outside):</b>"))
for(var/msg in B.escape_absorbed_messages_outside)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape fail messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape fail messages (owner):</b>"))
for(var/msg in B.escape_fail_absorbed_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorbed escape fail messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorbed escape fail messages (prey):</b>"))
for(var/msg in B.escape_fail_absorbed_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Primary transfer messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Primary transfer messages (owner):</b>"))
for(var/msg in B.primary_transfer_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Primary transfer messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Primary transfer messages (prey):</b>"))
for(var/msg in B.primary_transfer_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Secondary transfer messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Secondary transfer messages (owner):</b>"))
for(var/msg in B.secondary_transfer_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Secondary transfer messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Secondary transfer messages (prey):</b>"))
for(var/msg in B.secondary_transfer_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Digest chance messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Digest chance messages (owner):</b>"))
for(var/msg in B.digest_chance_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Digest chance messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Digest chance messages (prey):</b>"))
for(var/msg in B.digest_chance_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorb chance messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorb chance messages (owner):</b>"))
for(var/msg in B.absorb_chance_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorb chance messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorb chance messages (prey):</b>"))
for(var/msg in B.absorb_chance_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Digest messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Digest messages (owner):</b>"))
for(var/msg in B.digest_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Digest messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Digest messages (prey):</b>"))
for(var/msg in B.digest_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorb messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorb messages (owner):</b>"))
for(var/msg in B.absorb_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Absorb messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Absorb messages (prey):</b>"))
for(var/msg in B.absorb_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Unabsorb messages (owner):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Unabsorb messages (owner):</b>"))
for(var/msg in B.unabsorb_messages_owner)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Unabsorb messages (prey):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Unabsorb messages (prey):</b>"))
for(var/msg in B.unabsorb_messages_prey)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Examine messages (when full):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Examine messages (when full):</b>"))
for(var/msg in B.examine_messages)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Examine messages (with absorbed victims):</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Examine messages (with absorbed victims):</b>"))
for(var/msg in B.examine_messages_absorbed)
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, "<span class='chatexport'><b>Emote lists:</b></span>")
to_chat(src, span_chatexport("[msg]"))
to_chat(src, span_chatexport("<b>Emote lists:</b>"))
for(var/EL in B.emote_lists)
to_chat(src, "<span class='chatexport'><b>[EL]:</b></span>")
to_chat(src, span_chatexport("<b>[EL]:</b>"))
for(var/msg in B.emote_lists[EL])
to_chat(src, "<span class='chatexport'>[msg]</span>")
to_chat(src, span_chatexport("[msg]"))
/**
* Small helper component to manage the vore panel HUD icon

View File

@@ -19,7 +19,7 @@
bellied = prey
prey.forceMove(src)
visible_message("[src] entirely engulfs [prey] in hardlight holograms!")
to_chat(usr, "<span class='vnotice'>You completely engulf [prey] in hardlight holograms!</span>") //Can't be part of the above, because the above is from the hologram.
to_chat(usr, span_vnotice("You completely engulf [prey] in hardlight holograms!")) //Can't be part of the above, because the above is from the hologram.
desc = "[initial(desc)] It seems to have hardlight mode enabled and someone inside."
pass_flags = 0
@@ -46,7 +46,7 @@
// Wrong state
if (!eyeobj || !holo)
to_chat(usr, "<span class='vwarning'>You can only use this when holo-projecting!</span>")
to_chat(usr, span_vwarning("You can only use this when holo-projecting!"))
return
//Holopads have this 'masters' list where the keys are AI names and the values are the hologram effects
@@ -68,11 +68,11 @@
return //Probably cancelled
if(!istype(prey))
to_chat(usr, "<span class='vwarning'>Invalid mob choice!</span>")
to_chat(usr, span_vwarning("Invalid mob choice!"))
return
hologram.visible_message("[hologram] starts engulfing [prey] in hardlight holograms!")
to_chat(src, "<span class='vnotice'>You begin engulfing [prey] in hardlight holograms.</span>") //Can't be part of the above, because the above is from the hologram.
to_chat(src, span_vnotice("You begin engulfing [prey] in hardlight holograms.")) //Can't be part of the above, because the above is from the hologram.
if(do_after(user=eyeobj,delay=50,target=prey,needhand=0) && holo && hologram && !hologram.bellied) //Didn't move and still projecting and effect exists and no other bellied people
hologram.get_prey(prey)

View File

@@ -27,7 +27,7 @@
// Mice can't eat logged out players!
return
/*if(client && IsAdvancedToolUser()) //CHOMPedit: Mob QOL, not everything can be grabbed and nobody wants wiseguy gotchas for trying.
to_chat(src, "<span class='warning'>Put your hands to good use instead!</span>")
to_chat(src, span_warning("Put your hands to good use instead!"))
return
*/
feed_grabbed_to_self(src,T)
@@ -55,12 +55,12 @@
if(!istype(user) || user.stat) return
if(!vore_selected)
to_chat(user, "<span class='warning'>[src] isn't planning on eating anything much less digesting it.</span>")
to_chat(user, span_warning("[src] isn't planning on eating anything much less digesting it."))
return
/*ChompStation edit: This prevented some flexibility with mob vore and the returned message was highly unprofessional.
if(ai_holder.retaliate || (ai_holder.hostile && faction != user.faction))
to_chat(user, "<span class='warning'>This predator isn't friendly, and doesn't give a shit about your opinions of it digesting you.</span>")
to_chat(user, span_warning("This predator isn't friendly, and doesn't give a shit about your opinions of it digesting you."))
return
*/
if(vore_selected.digest_mode == DM_HOLD)
@@ -83,7 +83,7 @@
var/mob/living/user = usr //I mean, At least ghosts won't use it.
if(!istype(user) || user.stat) return
if(!vore_selected)
to_chat(user, "<span class='warning'>[src] isn't vore capable.</span>")
to_chat(user, span_warning("[src] isn't vore capable."))
return
vore_selected.fancy_vore = !vore_selected.fancy_vore
@@ -104,7 +104,7 @@
//AttackTarget() //VOREStation AI Temporary Removal
//LoseTarget() // only make one attempt at an attack rather than going into full rage mode
else
user.visible_message("<span class='info'>[user] swats [src] with [O]!</span>")
user.visible_message(span_info("[user] swats [src] with [O]!"))
release_vore_contents()
for(var/mob/living/L in living_mobs(0)) //add everyone on the tile to the do-not-eat list for a while
if(!(LAZYFIND(prey_excludes, L))) // Unless they're already on it, just to avoid fuckery.
@@ -112,7 +112,7 @@
addtimer(CALLBACK(src, PROC_REF(removeMobFromPreyExcludes), WEAKREF(L)), 5 MINUTES)
else if(istype(O, /obj/item/healthanalyzer))
var/healthpercent = health/maxHealth*100
to_chat(user, "<span class='notice'>[src] seems to be [healthpercent]% healthy.</span>")
to_chat(user, span_notice("[src] seems to be [healthpercent]% healthy."))
else
..()

View File

@@ -32,13 +32,13 @@
M.Weaken(4)
M.stop_flying()
if(CanStumbleVore(M))
visible_message("<span class='vwarning'>[M] flops carelessly into [src]!</span>")
visible_message(span_vwarning("[M] flops carelessly into [src]!"))
perform_the_nom(src,M,src,src.vore_selected,1)
else if(M.CanStumbleVore(src))
visible_message("<span class='vwarning'>[M] flops carelessly into [src]!</span>")
visible_message(span_vwarning("[M] flops carelessly into [src]!"))
perform_the_nom(M,src,M,M.vore_selected,1)
else if(istype(S) && S.species.lightweight == 1)
visible_message("<span class='vwarning'>[M] carelessly bowls [src] over!</span>")
visible_message(span_vwarning("[M] carelessly bowls [src] over!"))
M.forceMove(get_turf(src))
M.apply_damage(0.5, BRUTE)
Weaken(4)
@@ -46,9 +46,9 @@
apply_damage(0.5, BRUTE)
else if(round(weight) > 474)
var/throwtarget = get_edge_target_turf(M, reverse_direction(M.dir))
visible_message("<span class='vwarning'>[M] bounces backwards off of [src]'s plush body!</span>")
visible_message(span_vwarning("[M] bounces backwards off of [src]'s plush body!"))
M.throw_at(throwtarget, 2, 1)
else
visible_message("<span class='vwarning'>[M] trips over [src]!</span>")
visible_message(span_vwarning("[M] trips over [src]!"))
M.forceMove(get_turf(src))
M.apply_damage(1, BRUTE)

View File

@@ -11,5 +11,5 @@
M.forceMove(egg)
egg.name = egg_name
if(message)
to_chat(M, "<span class='vnotice'>You lose sensation of your body, feeling only the warmth around you as you're encased in an egg.</span>")
to_chat(O, "<span class='vnotice'>Your body shifts as you encase [M] in an egg.</span>")
to_chat(M, span_vnotice("You lose sensation of your body, feeling only the warmth around you as you're encased in an egg."))
to_chat(O, span_vnotice("Your body shifts as you encase [M] in an egg."))

View File

@@ -4,11 +4,11 @@
set category = "Abilities.Vore" //CHOMPEdit
if(stat == DEAD || paralysis || weakened || stunned)
to_chat(src, "<span class='notice'>You cannot do that while in your current state.</span>")
to_chat(src, span_notice("You cannot do that while in your current state."))
return
if(!(src.vore_selected))
to_chat(src, "<span class='notice'>No selected belly found.</span>")
to_chat(src, span_notice("No selected belly found."))
return
var/list/targets = list()
@@ -23,7 +23,7 @@
targets += L
if(!(targets.len))
to_chat(src, "<span class='notice'>No eligible targets found.</span>")
to_chat(src, span_notice("No eligible targets found."))
return
var/mob/living/target = tgui_input_list(src, "Please select a target.", "Victim", targets)
@@ -31,17 +31,17 @@
if(!target)
return
to_chat(target, "<span class='vwarning'>You feel yourself being pulled up by something... Or someone?!</span>")
to_chat(target, span_vwarning("You feel yourself being pulled up by something... Or someone?!"))
var/starting_loc = target.loc
if(do_after(src, 50))
if(target.loc != starting_loc)
to_chat(target, "<span class='vwarning'>You have interrupted whatever that was...</span>")
to_chat(src, "<span class='vnotice'>They got away.</span>")
to_chat(target, span_vwarning("You have interrupted whatever that was..."))
to_chat(src, span_vnotice("They got away."))
return
if(target.buckled)
target.buckled.unbuckle_mob()
target.visible_message("<span class='vwarning'>\The [target] suddenly disappears somewhere above!</span>",\
"<span class='vdanger'>You are dragged above and feel yourself slipping directly into \the [src]'s [vore_selected]!</span>")
to_chat(src, "<span class='vnotice'>You successfully snatch \the [target], slipping them into your [vore_selected].</span>")
target.visible_message(span_vwarning("\The [target] suddenly disappears somewhere above!"),\
span_vdanger("You are dragged above and feel yourself slipping directly into \the [src]'s [vore_selected]!"))
to_chat(src, span_vnotice("You successfully snatch \the [target], slipping them into your [vore_selected]."))
target.forceMove(src.vore_selected)

View File

@@ -1817,7 +1817,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("move_belly")
var/dir = text2num(params["dir"])
if(LAZYLEN(host.vore_organs) <= 1)
to_chat(usr, "<span class='warning'>You can't sort bellies with only one belly to sort...</span>")
to_chat(usr, span_warning("You can't sort bellies with only one belly to sort..."))
return TRUE
var/current_index = host.vore_organs.Find(host.vore_selected)
@@ -1842,7 +1842,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(!host.save_vore_prefs())
tgui_alert_async(usr, "ERROR: Chomp-specific preferences failed to save!","Error")
else
to_chat(usr, "<span class='notice'>Chomp-specific preferences saved!</span>")
to_chat(usr, span_notice("Chomp-specific preferences saved!"))
unsaved_changes = FALSE
return TRUE
if("reloadprefs")
@@ -1852,7 +1852,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(!host.apply_vore_prefs())
tgui_alert_async(usr, "ERROR: Chomp-specific preferences failed to apply!","Error")
else
to_chat(usr,"<span class='notice'>Chomp-specific preferences applied from active slot!</span>")
to_chat(usr,span_notice("Chomp-specific preferences applied from active slot!"))
unsaved_changes = FALSE
return TRUE
if("loadprefsfromslot")
@@ -1862,14 +1862,14 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(!host.load_vore_prefs_from_slot())
tgui_alert_async(usr, "ERROR: Vore-specific preferences failed to apply!","Error") //CHOMPEdit
else
to_chat(usr,"<span class='notice'>Vore-specific preferences applied from active slot!</span>") //CHOMPEdit
to_chat(usr,span_notice("Vore-specific preferences applied from active slot!")) //CHOMPEdit
unsaved_changes = TRUE
return TRUE
//CHOMPEdit - "Belly HTML Export Earlyport"
if("exportpanel")
var/mob/living/user = usr
if(!user)
to_chat(usr,"<span class='notice'>Mob undefined: [user]</span>")
to_chat(usr,span_notice("Mob undefined: [user]"))
return FALSE
var/datum/vore_look/export_panel/exportPanel
@@ -1877,7 +1877,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
exportPanel = new(usr)
if(!exportPanel)
to_chat(user,"<span class='notice'>Export panel undefined: [exportPanel]</span>")
to_chat(user,span_notice("Export panel undefined: [exportPanel]"))
return FALSE
exportPanel.open_export_panel(user)
@@ -2414,7 +2414,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("Use Hand")
if(host.stat)
to_chat(user, "<span class='warning'>You can't do that in your state!</span>")
to_chat(user, span_warning("You can't do that in your state!"))
return TRUE
host.ClickOn(target)
@@ -2427,43 +2427,43 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
switch(intent)
if("Help Out") //Help the inside-mob out
if(host.stat || host.absorbed || M.absorbed)
to_chat(user, "<span class='warning'>You can't do that in your state!</span>")
to_chat(user, span_warning("You can't do that in your state!"))
return TRUE
to_chat(user,"<span vnotice>[span_green("You begin to push [M] to freedom!")]</span>")
to_chat(M,"<span vnotice>[host] begins to push you to freedom!</span>")
to_chat(OB.owner,"<span class='vwarning'>Someone is trying to escape from inside you!</span>")
to_chat(OB.owner,span_vwarning("Someone is trying to escape from inside you!"))
sleep(50)
if(prob(33))
OB.release_specific_contents(M)
to_chat(user,"<span vnotice>[span_green("You manage to help [M] to safety!")]</span>")
to_chat(M, "<span vnotice>[span_green("[host] pushes you free!")]</span>")
to_chat(OB.owner,"<span class='valert'>[M] forces free of the confines of your body!</span>")
to_chat(OB.owner,span_valert("[M] forces free of the confines of your body!"))
else
to_chat(user,"<span class='valert'>[M] slips back down inside despite your efforts.</span>")
to_chat(M,"<span class='valert'> Even with [host]'s help, you slip back inside again.</span>")
to_chat(user,span_valert("[M] slips back down inside despite your efforts."))
to_chat(M,span_valert(" Even with [host]'s help, you slip back inside again."))
to_chat(OB.owner,"<span vnotice>[span_green("Your body efficiently shoves [M] back where they belong.")]</span>")
return TRUE
if("Devour") //Eat the inside mob
if(host.absorbed || host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
if(!host.vore_selected)
to_chat(user,"<span class='warning'>Pick a belly on yourself first!</span>")
to_chat(user,span_warning("Pick a belly on yourself first!"))
return TRUE
var/obj/belly/TB = host.vore_selected
to_chat(user,"<span class='vwarning'>You begin to [lowertext(TB.vore_verb)] [M] into your [lowertext(TB.name)]!</span>")
to_chat(M,"<span class='vwarning'>[host] begins to [lowertext(TB.vore_verb)] you into their [lowertext(TB.name)]!</span>")
to_chat(OB.owner,"<span class='vwarning'>Someone inside you is eating someone else!</span>")
to_chat(user,span_vwarning("You begin to [lowertext(TB.vore_verb)] [M] into your [lowertext(TB.name)]!"))
to_chat(M,span_vwarning("[host] begins to [lowertext(TB.vore_verb)] you into their [lowertext(TB.name)]!"))
to_chat(OB.owner,span_vwarning("Someone inside you is eating someone else!"))
sleep(TB.nonhuman_prey_swallow_time) //Can't do after, in a stomach, weird things abound.
if((host in OB) && (M in OB)) //Make sure they're still here.
to_chat(user,"<span class='vwarning'>You manage to [lowertext(TB.vore_verb)] [M] into your [lowertext(TB.name)]!</span>")
to_chat(M,"<span class='vwarning'>[host] manages to [lowertext(TB.vore_verb)] you into their [lowertext(TB.name)]!</span>")
to_chat(OB.owner,"<span class='vwarning'>Someone inside you has eaten someone else!</span>")
to_chat(user,span_vwarning("You manage to [lowertext(TB.vore_verb)] [M] into your [lowertext(TB.name)]!"))
to_chat(M,span_vwarning("[host] manages to [lowertext(TB.vore_verb)] you into their [lowertext(TB.name)]!"))
to_chat(OB.owner,span_vwarning("Someone inside you has eaten someone else!"))
if(M.absorbed)
M.absorbed = FALSE
OB.handle_absorb_langs(M, OB.owner)
@@ -2481,7 +2481,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("Eject all")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
host.vore_selected.release_all_contents()
@@ -2489,7 +2489,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("Move all")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
var/obj/belly/choice = tgui_input_list(user, "Move all where?","Select Belly", host.vore_organs)
@@ -2497,9 +2497,9 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
return FALSE
for(var/atom/movable/target in host.vore_selected)
to_chat(target,"<span class='vwarning'>You're squished from [host]'s [lowertext(host.vore_selected)] to their [lowertext(choice.name)]!</span>")
to_chat(target,span_vwarning("You're squished from [host]'s [lowertext(host.vore_selected)] to their [lowertext(choice.name)]!"))
//CHOMPAdd - Send the transfer message to indirect targets as well. Slightly different message because why not.
to_chat(host.vore_selected.get_belly_surrounding(target.contents),"<span class='warning'>You're squished along with [target] from [host]'s [lowertext(host.vore_selected)] to their [lowertext(choice.name)]!</span>")
to_chat(host.vore_selected.get_belly_surrounding(target.contents),span_warning("You're squished along with [target] from [host]'s [lowertext(host.vore_selected)] to their [lowertext(choice.name)]!"))
host.vore_selected.transfer_contents(target, choice, 1)
return TRUE
return
@@ -2534,7 +2534,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("Eject")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
host.vore_selected.release_specific_contents(target)
@@ -2542,20 +2542,20 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("Move")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
var/obj/belly/choice = tgui_input_list(user, "Move [target] where?","Select Belly", host.vore_organs) //ChompEDIT - user, not usr
if(!choice || !(target in host.vore_selected))
return TRUE
to_chat(target,"<span class='vwarning'>You're squished from [host]'s [lowertext(host.vore_selected.name)] to their [lowertext(choice.name)]!</span>")
to_chat(target,span_vwarning("You're squished from [host]'s [lowertext(host.vore_selected.name)] to their [lowertext(choice.name)]!"))
//CHOMPAdd - Send the transfer message to indirect targets as well. Slightly different message because why not.
to_chat(host.vore_selected.get_belly_surrounding(target.contents),"<span class='warning'>You're squished along with [target] from [host]'s [lowertext(host.vore_selected)] to their [lowertext(choice.name)]!</span>")
to_chat(host.vore_selected.get_belly_surrounding(target.contents),span_warning("You're squished along with [target] from [host]'s [lowertext(host.vore_selected)] to their [lowertext(choice.name)]!"))
host.vore_selected.transfer_contents(target, choice)
if("Transfer")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
var/mob/living/belly_owner = host
@@ -2566,7 +2566,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(candidate.vore_organs.len && candidate.feeding && !candidate.no_vore)
viable_candidates += candidate
if(!viable_candidates.len)
to_chat(user, "<span class='notice'>There are no viable candidates around you!</span>")
to_chat(user, span_notice("There are no viable candidates around you!"))
return TRUE
belly_owner = tgui_input_list(user, "Who do you want to receive the target?", "Select Predator", viable_candidates)
@@ -2578,24 +2578,24 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
return TRUE
if(belly_owner != host)
to_chat(user, "<span class='vnotice'>Transfer offer sent. Await their response.</span>")
to_chat(user, span_vnotice("Transfer offer sent. Await their response."))
var/accepted = tgui_alert(belly_owner, "[host] is trying to transfer [target] from their [lowertext(host.vore_selected.name)] into your [lowertext(choice.name)]. Do you accept?", "Feeding Offer", list("Yes", "No"))
if(accepted != "Yes")
to_chat(user, "<span class='vwarning'>[belly_owner] refused the transfer!!</span>")
to_chat(user, span_vwarning("[belly_owner] refused the transfer!!"))
return TRUE
if(!belly_owner || !(belly_owner in range(1, host)))
return TRUE
to_chat(target,"<span class='vwarning'>You're squished from [host]'s [lowertext(host.vore_selected.name)] to [belly_owner]'s [lowertext(choice.name)]!</span>")
to_chat(belly_owner,"<span class='vwarning'>[target] is squished from [host]'s [lowertext(host.vore_selected.name)] to your [lowertext(choice.name)]!</span>")
to_chat(target,span_vwarning("You're squished from [host]'s [lowertext(host.vore_selected.name)] to [belly_owner]'s [lowertext(choice.name)]!"))
to_chat(belly_owner,span_vwarning("[target] is squished from [host]'s [lowertext(host.vore_selected.name)] to your [lowertext(choice.name)]!"))
host.vore_selected.transfer_contents(target, choice)
else
to_chat(target,"<span class='vwarning'>You're squished from [host]'s [lowertext(host.vore_selected.name)] to their [lowertext(choice.name)]!</span>")
to_chat(target,span_vwarning("You're squished from [host]'s [lowertext(host.vore_selected.name)] to their [lowertext(choice.name)]!"))
host.vore_selected.transfer_contents(target, choice)
return TRUE
if("Transform")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
var/mob/living/carbon/human/H = target
@@ -2609,22 +2609,22 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
//CHOMPEdit Begin - Add Reforming
if("Reform")
if(host.stat)
to_chat(user,"<span class='warning'>You can't do that in your state!</span>")
to_chat(user,span_warning("You can't do that in your state!"))
return TRUE
if(isobserver(target))
var/mob/observer/T = target
if(!ismob(T.body_backup) || prevent_respawns.Find(T.mind.name) || ispAI(T.body_backup))
to_chat(user,"<span class='warning'>They don't seem to be reformable!</span>")
to_chat(user,span_warning("They don't seem to be reformable!"))
return TRUE
var/accepted = tgui_alert(T, "[host] is trying to reform your body! Would you like to get reformed inside [host]'s [lowertext(host.vore_selected.name)]?", "Reforming Attempt", list("Yes", "No"))
if(accepted != "Yes")
to_chat(user,"<span class='warning'>[T] refused to be reformed!</span>")
to_chat(user,span_warning("[T] refused to be reformed!"))
return TRUE
if(!isbelly(T.loc))
to_chat(user,"<span class='warning'>[T] is no longer inside to be reformed!</span>")
to_chat(T,"<span class='warning'>You can't be reformed outside of a belly!</span>")
to_chat(user,span_warning("[T] is no longer inside to be reformed!"))
to_chat(T,span_warning("You can't be reformed outside of a belly!"))
return TRUE
if(isliving(T.body_backup))
@@ -2685,11 +2685,11 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
else if(istype(target,/obj/item/mmi)) // A good bit of repeated code, sure, but... cleanest way to do this.
var/obj/item/mmi/MMI = target
if(!ismob(MMI.body_backup) || !MMI.brainmob.mind || prevent_respawns.Find(MMI.brainmob.mind.name))
to_chat(user,"<span class='warning'>They don't seem to be reformable!</span>")
to_chat(user,span_warning("They don't seem to be reformable!"))
return TRUE
var/accepted = tgui_alert(MMI.brainmob, "[host] is trying to reform your body! Would you like to get reformed inside [host]'s [lowertext(host.vore_selected.name)]?", "Reforming Attempt", list("Yes", "No"))
if(accepted != "Yes")
to_chat(user,"<span class='warning'>[MMI] refused to be reformed!</span>")
to_chat(user,span_warning("[MMI] refused to be reformed!"))
return TRUE
if(isliving(MMI.body_backup))
@@ -2759,7 +2759,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
return TRUE
if("Health")
var/mob/living/ourtarget = target
to_chat(user, "<span class='notice'>Current health reading for \The [ourtarget]: [ourtarget.health] / [ourtarget.maxHealth] </span>")
to_chat(user, span_notice("Current health reading for \The [ourtarget]: [ourtarget.health] / [ourtarget.maxHealth] "))
return TRUE
//CHOMPEdit End
if("Process")
@@ -2980,10 +2980,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
return FALSE
if(new_egg_size == 0) //Disable.
host.vore_selected.egg_size = 0
to_chat(user,"<span class='notice'>Eggs will automatically calculate size depending on contents.</span>")
to_chat(user,span_notice("Eggs will automatically calculate size depending on contents."))
else if (!ISINRANGE(new_egg_size,25,200))
host.vore_selected.egg_size = 0.25 //Set it to the default.
to_chat(user,"<span class='notice'>Invalid size.</span>")
to_chat(user,span_notice("Invalid size."))
else if(new_egg_size)
host.vore_selected.egg_size = (new_egg_size/100)
. = TRUE
@@ -3509,10 +3509,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
return FALSE
if(new_bulge == 0) //Disable.
host.vore_selected.bulge_size = 0
to_chat(user,"<span class='notice'>Your stomach will not be seen on examine.</span>")
to_chat(user,span_notice("Your stomach will not be seen on examine."))
else if (!ISINRANGE(new_bulge,25,200))
host.vore_selected.bulge_size = 0.25 //Set it to the default.
to_chat(user,"<span class='notice'>Invalid size.</span>")
to_chat(user,span_notice("Invalid size."))
else if(new_bulge)
host.vore_selected.bulge_size = (new_bulge/100)
. = TRUE
@@ -3525,7 +3525,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
return FALSE
if (!ISINRANGE(new_grow,25,200))
host.vore_selected.shrink_grow_size = 1 //Set it to the default
to_chat(user,"<span class='notice'>Invalid size.</span>")
to_chat(user,span_notice("Invalid size."))
else if(new_grow)
host.vore_selected.shrink_grow_size = (new_grow*0.01)
. = TRUE
@@ -3602,10 +3602,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_escapable")
if(host.vore_selected.escapable == 0) //Possibly escapable and special interactions.
host.vore_selected.escapable = 1
to_chat(user,"<span class='warning'>Prey now have special interactions with your [lowertext(host.vore_selected.name)] depending on your settings.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Prey now have special interactions with your [lowertext(host.vore_selected.name)] depending on your settings.")) //ChompEDIT - user, not usr
else if(host.vore_selected.escapable == 1) //Never escapable.
host.vore_selected.escapable = 0
to_chat(user,"<span class='warning'>Prey will not be able to have special interactions with your [lowertext(host.vore_selected.name)].</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Prey will not be able to have special interactions with your [lowertext(host.vore_selected.name)].")) //ChompEDIT - user, not usr
else
tgui_alert_async(user, "Something went wrong. Your stomach will now not have special interactions. Press the button enable them again and tell a dev.","Error") //If they somehow have a varable that's not 0 or 1 //ChompEDIT - user, not usr
host.vore_selected.escapable = 0
@@ -4038,18 +4038,18 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_show_liq")
if(!host.vore_selected.show_liquids)
host.vore_selected.show_liquids = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] now has liquid options.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] now has liquid options.")) //ChompEDIT - user, not usr
else
host.vore_selected.show_liquids = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] no longer has liquid options.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] no longer has liquid options.")) //ChompEDIT - user, not usr
. = TRUE
if("b_liq_reagent_gen")
if(!host.vore_selected.reagentbellymode) //liquid container adjustments and interactions.
host.vore_selected.reagentbellymode = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] now has interactions which can produce liquids.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] now has interactions which can produce liquids.")) //ChompEDIT - user, not usr
else //Doesnt produce liquids
host.vore_selected.reagentbellymode = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] wont produce liquids, liquids already in your [lowertext(host.vore_selected.name)] must be emptied out or removed with purge.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] wont produce liquids, liquids already in your [lowertext(host.vore_selected.name)] must be emptied out or removed with purge.")) //ChompEDIT - user, not usr
. = TRUE
if("b_liq_reagent_type")
var/list/menu_list = host.vore_selected.reagent_choices.Copy() //Useful if we want to make certain races, synths, borgs, and other things result in additional reagents to produce - Jack
@@ -4108,10 +4108,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_liq_sloshing")
if(!host.vore_selected.vorefootsteps_sounds)
host.vore_selected.vorefootsteps_sounds = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] can now make sounds when you walk around depending on how full you are.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] can now make sounds when you walk around depending on how full you are.")) //ChompEDIT - user, not usr
else
host.vore_selected.vorefootsteps_sounds = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] wont make any liquid sounds no matter how full it is.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] wont make any liquid sounds no matter how full it is.")) //ChompEDIT - user, not usr
. = TRUE
if("b_liq_reagent_addons")
var/list/menu_list = host.vore_selected.reagent_mode_flag_list.Copy()
@@ -4123,10 +4123,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_liquid_overlay")
if(!host.vore_selected.liquid_overlay)
host.vore_selected.liquid_overlay = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] now has liquid overlay enabled.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] now has liquid overlay enabled.")) //ChompEDIT - user, not usr
else
host.vore_selected.liquid_overlay = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] no longer has liquid overlay enabled.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] no longer has liquid overlay enabled.")) //ChompEDIT - user, not usr
. = TRUE
if("b_max_liquid_level")
var/new_max_liquid_level = input(user, "Set custom maximum liquid level. 0-100%", "Set Custom Max Level.", host.vore_selected.max_liquid_level) as num|null
@@ -4155,18 +4155,18 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_reagent_touches")
if(!host.vore_selected.reagent_touches)
host.vore_selected.reagent_touches = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] will now apply reagents to creatures when digesting.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] will now apply reagents to creatures when digesting.")) //ChompEDIT - user, not usr
else
host.vore_selected.reagent_touches = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] will no longer apply reagents to creatures when digesting.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] will no longer apply reagents to creatures when digesting.")) //ChompEDIT - user, not usr
. = TRUE
if("b_mush_overlay")
if(!host.vore_selected.mush_overlay)
host.vore_selected.mush_overlay = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] now has fullness overlay enabled.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] now has fullness overlay enabled.")) //ChompEDIT - user, not usr
else
host.vore_selected.mush_overlay = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] no longer has fullness overlay enabled.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] no longer has fullness overlay enabled.")) //ChompEDIT - user, not usr
host.vore_selected.update_internal_overlay()
. = TRUE
if("b_mush_color")
@@ -4208,10 +4208,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_metabolism_overlay")
if(!host.vore_selected.metabolism_overlay)
host.vore_selected.metabolism_overlay = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] now has ingested metabolism overlay enabled.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] now has ingested metabolism overlay enabled.")) //ChompEDIT - user, not usr
else
host.vore_selected.metabolism_overlay = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] no longer has ingested metabolism overlay enabled.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] no longer has ingested metabolism overlay enabled.")) //ChompEDIT - user, not usr
host.vore_selected.update_internal_overlay()
. = TRUE
if("b_metabolism_mush_ratio")
@@ -4264,10 +4264,10 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if("b_show_liq_fullness")
if(!host.vore_selected.show_fullness_messages)
host.vore_selected.show_fullness_messages = 1
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] now has liquid examination options.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] now has liquid examination options.")) //ChompEDIT - user, not usr
else
host.vore_selected.show_fullness_messages = 0
to_chat(user,"<span class='warning'>Your [lowertext(host.vore_selected.name)] no longer has liquid examination options.</span>") //ChompEDIT - user, not usr
to_chat(user,span_warning("Your [lowertext(host.vore_selected.name)] no longer has liquid examination options.")) //ChompEDIT - user, not usr
. = TRUE
if("b_liq_msg_toggle1")
host.vore_selected.liquid_fullness1_messages = !host.vore_selected.liquid_fullness1_messages

View File

@@ -91,10 +91,10 @@
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
if(H.wear_suit != src)
to_chat(H, "<span class='warning'>You must be wearing [src] to put up the hood!</span>")
to_chat(H, span_warning("You must be wearing [src] to put up the hood!"))
return
if(H.head)
to_chat(H, "<span class='warning'>You're already wearing something on your head!</span>")
to_chat(H, span_warning("You're already wearing something on your head!"))
return
else
H.equip_to_slot_if_possible(hood,slot_head,0,0,1)
@@ -612,7 +612,7 @@
/obj/item/clothing/head/helmet/space/void/engineering/hazmat/fluff/screehelm/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "scree")
to_chat(H, "<span class='warning'>Your face and whoever is meant for this helmet are too different.</span>")
to_chat(H, span_warning("Your face and whoever is meant for this helmet are too different."))
return 0
else
return 1
@@ -635,7 +635,7 @@
/obj/item/clothing/suit/space/void/engineering/hazmat/fluff/screespess/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "scree")
to_chat(H, "<span class='warning'>The gloves only have three fingers, not to mention the accommodation for extra limbs.</span>")
to_chat(H, span_warning("The gloves only have three fingers, not to mention the accommodation for extra limbs."))
return 0
else
return 1
@@ -689,7 +689,7 @@
/obj/item/clothing/under/fluff/aluranevines/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "natje")
to_chat(H, "<span class='warning'>Wrapping vines around yourself is a quite an... Odd idea. You decide otherwise.</span>")
to_chat(H, span_warning("Wrapping vines around yourself is a quite an... Odd idea. You decide otherwise."))
return 0
else
return 1
@@ -856,7 +856,7 @@ No. With a teleporter? Just *no*. - Hawk, YW
/obj/item/clothing/head/helmet/space/fluff/joan/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "joanrisu")
to_chat(H, "<span class='warning'>You try to fit on the helmet, but it doesn't fit.</span>")
to_chat(H, span_warning("You try to fit on the helmet, but it doesn't fit."))
return 0
else
return 1
@@ -883,7 +883,7 @@ No. With a teleporter? Just *no*. - Hawk, YW
/obj/item/clothing/suit/space/fluff/joan/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "joanrisu")
to_chat(H, "<span class='warning'>You try to fit into the suit, to no avail.</span>")
to_chat(H, span_warning("You try to fit into the suit, to no avail."))
return 0
else
return 1
@@ -1322,7 +1322,7 @@ Departamental Swimsuits, for general use
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
return ..()
else
to_chat(H, "<span class='warning'>You need to have a wolf-taur half to wear this.</span>")
to_chat(H, span_warning("You need to have a wolf-taur half to wear this."))
return 0
//samanthafyre:Kateryna Petrovitch
@@ -1339,7 +1339,7 @@ Departamental Swimsuits, for general use
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
return ..()
else
to_chat(H, "<span class='warning'>You need to have a wolf-taur half to wear this.</span>")
to_chat(H, span_warning("You need to have a wolf-taur half to wear this."))
return 0
//samanthafyre:Kateryna Petrovitch
@@ -1369,7 +1369,7 @@ Departamental Swimsuits, for general use
/obj/item/clothing/head/helmet/space/fluff/kate/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "samanthafyre")
to_chat(H, "<span class='warning'>You try to fit on the helmet, but it doesn't fit.</span>")
to_chat(H, span_warning("You try to fit on the helmet, but it doesn't fit."))
return 0
else
return 1
@@ -1566,10 +1566,10 @@ Departamental Swimsuits, for general use
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
if(H.wear_suit != src)
to_chat(H, "<span class='warning'>You must be wearing [src] to put up the hood!</span>")
to_chat(H, span_warning("You must be wearing [src] to put up the hood!"))
return
if(H.head)
to_chat(H, "<span class='warning'>You're already wearing something on your head!</span>")
to_chat(H, span_warning("You're already wearing something on your head!"))
return
else
H.equip_to_slot_if_possible(hood,slot_head,0,0,1)
@@ -1759,7 +1759,7 @@ Departamental Swimsuits, for general use
/obj/item/clothing/head/helmet/space/void/security/hasd/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "silencedmp5a5")
to_chat(H, "<span class='warning'>...The faceplate is clearly not made for your anatomy, thus, does not fit.</span>")
to_chat(H, span_warning("...The faceplate is clearly not made for your anatomy, thus, does not fit."))
return 0
else
return 1
@@ -1778,7 +1778,7 @@ Departamental Swimsuits, for general use
if(..() && istype(H) && H.ckey == "silencedmp5a5")
return 1
else
to_chat(H, "<span class='warning'>This suit is not designed for you.</span>")
to_chat(H, span_warning("This suit is not designed for you."))
return 0
//Zigfe:Zaoozaoo Xrimxuqmqixzix
@@ -2033,7 +2033,7 @@ Departamental Swimsuits, for general use
if (M.ckey == "ryumi")
return 1
else if (M.get_active_hand() == src)
to_chat(M, "<span class='warning'>What the heck? \The [src] doesn't fit!</span>")
to_chat(M, span_warning("What the heck? \The [src] doesn't fit!"))
return 0
/obj/item/clothing/shoes/fluff/nikki
@@ -2049,7 +2049,7 @@ Departamental Swimsuits, for general use
if (M.ckey == "ryumi")
return 1
else if (M.get_active_hand() == src)
to_chat(M, "<span class='warning'>What the heck? \The [src] doesn't fit!</span>")
to_chat(M, span_warning("What the heck? \The [src] doesn't fit!"))
return 0
/obj/item/clothing/suit/fluff/nikki //see /obj/item/rig/nikki
@@ -2114,27 +2114,27 @@ Departamental Swimsuits, for general use
/obj/item/clothing/head/fluff/nikki/proc/teleport_fail(mob/user, mob/target)
if (target != user)
user.visible_message("<span class='notice'>[user] harmlessly bops [target] with \the [src].</span>", \
"<span class='notice'>\The [src] harmlessly bops [target]. The hat seems... unwilling?</span>")
user.visible_message(span_notice("[user] harmlessly bops [target] with \the [src]."), \
span_notice("\The [src] harmlessly bops [target]. The hat seems... unwilling?"))
else
user.visible_message("<b>\The [src]</b> flops over [user]'s' head for a moment, but they seem alright.", \
"<span class='notice'>\The [src] flops over your head for a moment, but you correct it without issue. There we go!</span>")
span_notice("\The [src] flops over your head for a moment, but you correct it without issue. There we go!"))
/obj/item/clothing/head/fluff/nikki/proc/hat_warp_checks(var/mob/living/target, mob/user, proximity_flag)
if (!proximity_flag)
return 0
if (!translocator)
to_chat(user, "<span class='warning'>\The [src] doesn't have a translocator inside it yet, you goof!</span>")
to_chat(user, span_warning("\The [src] doesn't have a translocator inside it yet, you goof!"))
return 0
if (target.ckey == owner && target != user) // ur not getting me that easy sonny jim......
to_chat(user, "<span class='warning'>You think to turn \the [src] on its creator?! <b>FOOOOOOOOL.</b></span>")
to_chat(user, "<span class='notice'>From seemingly nowhere you hear echoing, derisive laughter, accompanied by a stock laugh track and... Are those bike horns?</span>")
to_chat(user, span_warning("You think to turn \the [src] on its creator?! <b>FOOOOOOOOL.</b>"))
to_chat(user, span_notice("From seemingly nowhere you hear echoing, derisive laughter, accompanied by a stock laugh track and... Are those bike horns?"))
return 0
if (!istype(target))
to_chat(user, "<span class='warning'>\The [src] isn't a valid target!</span>")
to_chat(user, span_warning("\The [src] isn't a valid target!"))
return 0
// Because other mobs (i.e. monkeys) apparently have dropnom prey set to 0, we check SPECIFICALLY for humans' dropnom setting.
@@ -2150,11 +2150,11 @@ Departamental Swimsuits, for general use
/obj/item/clothing/head/fluff/nikki/attackby(obj/item/I as obj, mob/user as mob)
if (istype(I, /obj/item/perfect_tele) && user.get_inactive_hand() == src)
if (translocator)
visible_message("<span class='notice'>[user] starts to pull \a [translocator] out of \the [src] to swap it out with \the [I]...</span>", \
"<span class='notice'>You start pulling \the [translocator] pops out of its compartment with a soft 'click' as you replace it with \the [I]....</span>")
visible_message(span_notice("[user] starts to pull \a [translocator] out of \the [src] to swap it out with \the [I]..."), \
span_notice("You start pulling \the [translocator] pops out of its compartment with a soft 'click' as you replace it with \the [I]...."))
else
visible_message("<span class='notice'>[user] begins slipping \the [I] into \the [src]...</span>", \
"<span class='notice'>You begin to snap \the [I] into a small, hidden compartment inside \the [src]...</span>")
visible_message(span_notice("[user] begins slipping \the [I] into \the [src]..."), \
span_notice("You begin to snap \the [I] into a small, hidden compartment inside \the [src]..."))
// This works for both adding and replacing a translocator
translocator_equip(I, user)
return
@@ -2203,8 +2203,8 @@ Departamental Swimsuits, for general use
// hey, are we actually able to teleport this poor person?
if (hat_warp_checks(user, user, proximity_flag = 1))
// YOU FOOL! YOU HAVE ACTIVATED MY STAND, 「VORE BY HAT」!
src.visible_message("<span class='danger'>\The [src] falls over [user]'s head... and somehow falls over the rest of their body, causing them to vanish inside. Where did they go?!</span>", \
"<span class='danger'>The hat falls over your head as you put it on, enveloping you in a bright green light! <b>Uh oh.</b></span>")
src.visible_message(span_danger("\The [src] falls over [user]'s head... and somehow falls over the rest of their body, causing them to vanish inside. Where did they go?!"), \
span_danger("The hat falls over your head as you put it on, enveloping you in a bright green light! <b>Uh oh.</b>"))
var/uh_oh = pick(translocator.beacons)
user.remove_from_mob(src, get_turf(user))
translocator.destination = translocator.beacons[uh_oh]
@@ -2218,18 +2218,18 @@ Departamental Swimsuits, for general use
// Silly fluffed up styles of teleporting people based on user intent.
switch (user.a_intent)
if (I_HELP)
user.visible_message("<span class='notice'>[user] guides \the [target] to the bottomless hole within \the [src]. They begin to climb inside...</span>")
user.visible_message(span_notice("[user] guides \the [target] to the bottomless hole within \the [src]. They begin to climb inside..."))
if (do_after(user, 5 SECONDS, target))
translocator.afterattack(target, user, proximity_flag)
if (I_DISARM)
user.visible_message("<span class='danger'>[user] plops \the [src] onto \the [target]'s head!</span>")
user.visible_message(span_danger("[user] plops \the [src] onto \the [target]'s head!"))
translocator.afterattack(target, user, proximity_flag)
if (I_GRAB)
user.visible_message("<span class='danger'>[user] begins stuffing [target] into \the [src]!</span>")
user.visible_message(span_danger("[user] begins stuffing [target] into \the [src]!"))
if (do_after(user, 5 SECONDS, target))
translocator.afterattack(target, user, proximity_flag)
if (I_HURT)
user.visible_message("<span class='danger'>[user] swipes \the [src] over \the [target]!</span>")
user.visible_message(span_danger("[user] swipes \the [src] over \the [target]!"))
translocator.afterattack(target, user, proximity_flag)
add_attack_logs(user, target, "Teleported [target] with via \the [src]'s [translocator]!")
@@ -2377,10 +2377,10 @@ Departamental Swimsuits, for general use
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
if(H.wear_suit != src)
to_chat(H, "<span class='warning'>You must be wearing [src] to put up the hood!</span>")
to_chat(H, span_warning("You must be wearing [src] to put up the hood!"))
return
if(H.head)
to_chat(H, "<span class='warning'>You're already wearing something on your head!</span>")
to_chat(H, span_warning("You're already wearing something on your head!"))
return
else
H.equip_to_slot_if_possible(hood,slot_head,0,0,1)
@@ -2435,10 +2435,10 @@ Departamental Swimsuits, for general use
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
if(H.wear_suit != src)
to_chat(H, "<span class='warning'>You must be wearing [src] to put up the hood!</span>")
to_chat(H, span_warning("You must be wearing [src] to put up the hood!"))
return
if(H.head)
to_chat(H, "<span class='warning'>You're already wearing something on your head!</span>")
to_chat(H, span_warning("You're already wearing something on your head!"))
return
else
H.equip_to_slot_if_possible(hood,slot_head,0,0,1)

View File

@@ -111,7 +111,7 @@
/obj/item/implant/reagent_generator/roiz/post_implant(mob/living/carbon/source)
START_PROCESSING(SSobj, src)
to_chat(source, "<span class='notice'>You implant [source] with \the [src].</span>")
to_chat(source, span_notice("You implant [source] with \the [src]."))
add_verb(source,assigned_proc) //CHOMPEdit TGPanel
return 1
@@ -139,7 +139,7 @@
break
if (rimplant)
if(rimplant.reagents.total_volume <= rimplant.transfer_amount)
to_chat(src, "<span class='notice'>[pick(rimplant.empty_message)]</span>")
to_chat(src, span_notice("[pick(rimplant.empty_message)]"))
return
new /obj/item/reagent_containers/food/snacks/egg/roiz(get_turf(src))
@@ -150,13 +150,13 @@
var/emote = rimplant.emote_descriptor[index]
var/verb_desc = rimplant.verb_descriptor[index]
var/self_verb_desc = rimplant.self_verb_descriptor[index]
usr.visible_message("<span class='notice'>[usr] [verb_desc] [emote]</span>",
"<span class='notice'>You [self_verb_desc] [emote]</span>")
usr.visible_message(span_notice("[usr] [verb_desc] [emote]"),
span_notice("You [self_verb_desc] [emote]"))
else
visible_message("<span class='notice'>[src] [pick(rimplant.short_emote_descriptor)] an egg.</span>",
"<span class='notice'>You [pick(rimplant.self_emote_descriptor)] an egg.</span>")
visible_message(span_notice("[src] [pick(rimplant.short_emote_descriptor)] an egg."),
span_notice("You [pick(rimplant.self_emote_descriptor)] an egg."))
if(prob(15))
visible_message("<span class='notice'>[src] [pick(rimplant.random_emote)].</span>") // M-mlem.
visible_message(span_notice("[src] [pick(rimplant.random_emote)].")) // M-mlem.
rimplant.reagents.remove_any(rimplant.transfer_amount)
@@ -180,7 +180,7 @@
/obj/item/implant/reagent_generator/jasmine/post_implant(mob/living/carbon/source)
START_PROCESSING(SSobj, src)
to_chat(source, "<span class='notice'>You implant [source] with \the [src].</span>")
to_chat(source, span_notice("You implant [source] with \the [src]."))
add_verb(source,assigned_proc) //CHOMPEdit TGPanel
return 1
@@ -208,7 +208,7 @@
break
if (rimplant)
if(rimplant.reagents.total_volume <= rimplant.transfer_amount)
to_chat(src, "<span class='notice'>[pick(rimplant.empty_message)]</span>")
to_chat(src, span_notice("[pick(rimplant.empty_message)]"))
return
new /obj/item/reagent_containers/food/snacks/egg/roiz(get_turf(src))
@@ -219,13 +219,13 @@
var/emote = rimplant.emote_descriptor[index]
var/verb_desc = rimplant.verb_descriptor[index]
var/self_verb_desc = rimplant.self_verb_descriptor[index]
usr.visible_message("<span class='notice'>[usr] [verb_desc] [emote]</span>",
"<span class='notice'>You [self_verb_desc] [emote]</span>")
usr.visible_message(span_notice("[usr] [verb_desc] [emote]"),
span_notice("You [self_verb_desc] [emote]"))
else
visible_message("<span class='notice'>[src] [pick(rimplant.short_emote_descriptor)] an egg.</span>",
"<span class='notice'>You [pick(rimplant.self_emote_descriptor)] an egg.</span>")
visible_message(span_notice("[src] [pick(rimplant.short_emote_descriptor)] an egg."),
span_notice("You [pick(rimplant.self_emote_descriptor)] an egg."))
if(prob(15))
visible_message("<span class='notice'>[src] [pick(rimplant.random_emote)].</span>")
visible_message(span_notice("[src] [pick(rimplant.random_emote)]."))
rimplant.reagents.remove_any(rimplant.transfer_amount)
@@ -249,7 +249,7 @@
/obj/item/implant/reagent_generator/yonra/post_implant(mob/living/carbon/source)
START_PROCESSING(SSobj, src)
to_chat(source, "<span class='notice'>You implant [source] with \the [src].</span>")
to_chat(source, span_notice("You implant [source] with \the [src]."))
add_verb(source,assigned_proc) //CHOMPEdit TGPanel
return 1
@@ -277,7 +277,7 @@
break
if (rimplant)
if(rimplant.reagents.total_volume <= rimplant.transfer_amount)
to_chat(src, "<span class='notice'>[pick(rimplant.empty_message)]</span>")
to_chat(src, span_notice("[pick(rimplant.empty_message)]"))
return
new /obj/item/reagent_containers/food/snacks/egg/teshari(get_turf(src))
@@ -288,13 +288,13 @@
var/emote = rimplant.emote_descriptor[index]
var/verb_desc = rimplant.verb_descriptor[index]
var/self_verb_desc = rimplant.self_verb_descriptor[index]
usr.visible_message("<span class='notice'>[usr] [verb_desc] [emote]</span>",
"<span class='notice'>You [self_verb_desc] [emote]</span>")
usr.visible_message(span_notice("[usr] [verb_desc] [emote]"),
span_notice("You [self_verb_desc] [emote]"))
else
visible_message("<span class='notice'>[src] [pick(rimplant.short_emote_descriptor)] an egg.</span>",
"<span class='notice'>You [pick(rimplant.self_emote_descriptor)] an egg.</span>")
visible_message(span_notice("[src] [pick(rimplant.short_emote_descriptor)] an egg."),
span_notice("You [pick(rimplant.self_emote_descriptor)] an egg."))
if(prob(15))
visible_message("<span class='notice'>[src] [pick(rimplant.random_emote)].</span>")
visible_message(span_notice("[src] [pick(rimplant.random_emote)]."))
rimplant.reagents.remove_any(rimplant.transfer_amount)
@@ -334,7 +334,7 @@
/obj/item/implant/reagent_generator/rischi/post_implant(mob/living/carbon/source)
START_PROCESSING(SSobj, src)
to_chat(source, "<span class='notice'>You implant [source] with \the [src].</span>")
to_chat(source, span_notice("You implant [source] with \the [src]."))
add_verb(source,assigned_proc) //CHOMPEdit TGPanel
return 1
@@ -362,7 +362,7 @@
break
if (rimplant)
if(rimplant.reagents.total_volume <= rimplant.transfer_amount)
to_chat(src, "<span class='notice'>[pick(rimplant.empty_message)]</span>")
to_chat(src, span_notice("[pick(rimplant.empty_message)]"))
return
new /obj/item/reagent_containers/food/snacks/egg/teshari/tesh2(get_turf(src))
@@ -373,13 +373,13 @@
var/emote = rimplant.emote_descriptor[index]
var/verb_desc = rimplant.verb_descriptor[index]
var/self_verb_desc = rimplant.self_verb_descriptor[index]
usr.visible_message("<span class='notice'>[usr] [verb_desc] [emote]</span>",
"<span class='notice'>You [self_verb_desc] [emote]</span>")
usr.visible_message(span_notice("[usr] [verb_desc] [emote]"),
span_notice("You [self_verb_desc] [emote]"))
else
visible_message("<span class='notice'>[src] falls to her knees as the urge to lay overwhelms her, letting out a whimper as she [pick(rimplant.short_emote_descriptor)] an egg from between her legs.</span>",
"<span class='notice'>You fall to your knees as the urge to lay overwhelms you, letting out a whimper as you [pick(rimplant.self_emote_descriptor)] an egg from between your legs.</span>")
visible_message(span_notice("[src] falls to her knees as the urge to lay overwhelms her, letting out a whimper as she [pick(rimplant.short_emote_descriptor)] an egg from between her legs."),
span_notice("You fall to your knees as the urge to lay overwhelms you, letting out a whimper as you [pick(rimplant.self_emote_descriptor)] an egg from between your legs."))
if(prob(15))
visible_message("<span class='notice'>[src] [pick(rimplant.random_emote)].</span>")
visible_message(span_notice("[src] [pick(rimplant.random_emote)]."))
rimplant.reagents.remove_any(rimplant.transfer_amount)
@@ -420,10 +420,10 @@
var/clr = C.colourName
if(!(clr in list("blue","green","mime","orange","purple","rainbow","red","yellow")))
to_chat(user, "<span class='warning'>The egg refuses to take on this color!</span>")
to_chat(user, span_warning("The egg refuses to take on this color!"))
return
to_chat(user, "<span class='notice'>You color \the [src] [clr]</span>")
to_chat(user, span_notice("You color \the [src] [clr]"))
icon_state = "egg_roiz_[clr]"
desc = "It's a large lizard egg. It has been colored [clr]!"
if (clr == "rainbow")
@@ -485,7 +485,7 @@
/obj/item/implant/reagent_generator/evian/post_implant(mob/living/carbon/source)
START_PROCESSING(SSobj, src)
to_chat(source, "<span class='notice'>You implant [source] with \the [src].</span>")
to_chat(source, span_notice("You implant [source] with \the [src]."))
add_verb(source,assigned_proc) //CHOMPEdit TGPanel
return 1
@@ -513,7 +513,7 @@
break
if (rimplant)
if(rimplant.reagents.total_volume <= rimplant.transfer_amount)
to_chat(src, "<span class='notice'>[pick(rimplant.empty_message)]</span>")
to_chat(src, span_notice("[pick(rimplant.empty_message)]"))
return
new /obj/item/reagent_containers/food/snacks/egg/roiz/evian(get_turf(src)) //Roiz/evian so it gets all the functionality
@@ -524,13 +524,13 @@
var/emote = rimplant.emote_descriptor[index]
var/verb_desc = rimplant.verb_descriptor[index]
var/self_verb_desc = rimplant.self_verb_descriptor[index]
usr.visible_message("<span class='notice'>[usr] [verb_desc] [emote]</span>",
"<span class='notice'>You [self_verb_desc] [emote]</span>")
usr.visible_message(span_notice("[usr] [verb_desc] [emote]"),
span_notice("You [self_verb_desc] [emote]"))
else
visible_message("<span class='notice'>[src] [pick(rimplant.short_emote_descriptor)] an egg.</span>",
"<span class='notice'>You [pick(rimplant.self_emote_descriptor)] an egg.</span>")
visible_message(span_notice("[src] [pick(rimplant.short_emote_descriptor)] an egg."),
span_notice("You [pick(rimplant.self_emote_descriptor)] an egg."))
if(prob(15))
visible_message("<span class='notice'>[src] [pick(rimplant.random_emote)].</span>") // M-mlem.
visible_message(span_notice("[src] [pick(rimplant.random_emote)].")) // M-mlem.
rimplant.reagents.remove_any(rimplant.transfer_amount)

View File

@@ -62,10 +62,10 @@
if(istype(O,/obj/item/clothing/suit/space/void/) && !can_repair) //check if we're a voidsuit and if we're allowed to repair
var/obj/item/clothing/suit/space/void/SS = O
if(LAZYLEN(SS.breaches))
to_chat(user, "<span class='warning'>You should probably repair that before you start tinkering with it.</span>")
to_chat(user, span_warning("You should probably repair that before you start tinkering with it."))
return
if(O.blood_DNA || O.contaminated) //check if we're bloody or gooey or whatever, so modkits can't be used to hide crimes easily.
to_chat(user, "<span class='warning'>You should probably clean that up before you start tinkering with it.</span>")
to_chat(user, span_warning("You should probably clean that up before you start tinkering with it."))
return
//we have to check that it's not the original type first, because otherwise it might convert wrong based on pathing; the subtype can still count as the basetype
if(istype(O,to_helmet) && can_revert)
@@ -75,7 +75,7 @@
cost = to_suit_cost
to_type = from_suit
else if(!can_revert && (istype(O,to_helmet) || istype (O,to_suit)))
to_chat(user, "<span class='warning'>This kit doesn't seem to have the tools necessary to revert changes to modified items.</span>")
to_chat(user, span_warning("This kit doesn't seem to have the tools necessary to revert changes to modified items."))
return
else if(istype(O,from_helmet))
cost = from_helmet_cost
@@ -86,26 +86,26 @@
to_type = to_suit
keycheck = TRUE
else
to_chat(user, "<span class='notice'>This kit doesn't seem to have any tools or parts for whatever you're trying to use it on.</span>") //new error message
to_chat(user, span_notice("This kit doesn't seem to have any tools or parts for whatever you're trying to use it on.")) //CHOMPAdd new error message
return
if(!isturf(O.loc))
to_chat(user, "<span class='warning'>You need to put \the [O] on the ground, a table, or other worksurface before modifying it.</span>")
to_chat(user, span_warning("You need to put \the [O] on the ground, a table, or other worksurface before modifying it."))
return
if(!skip_content_check && O.contents.len) //check if we're loaded/modified, in the event of gun/suit kits, to avoid purging stuff like ammo, badges, armbands, or suit helmets
to_chat(user, "<span class='warning'>You should probably remove any attached items or loaded ammunition before trying to modify that!</span>")
to_chat(user, span_warning("You should probably remove any attached items or loaded ammunition before trying to modify that!"))
return
if(cost > parts)
to_chat(user, "<span class='warning'>The kit doesn't have enough parts left to modify that.</span>")
to_chat(user, span_warning("The kit doesn't have enough parts left to modify that."))
if(can_revert && ((to_helmet_cost || to_suit_cost) < 0))
to_chat(user, "<span class='notice'> You can recover parts by using the kit on an already-modified item.</span>")
to_chat(user, span_notice(" You can recover parts by using the kit on an already-modified item."))
return
if(keycheck && owner_ckey) //check if we're supposed to care
if(user.ckey != owner_ckey) //ERROR: UNAUTHORIZED USER
to_chat(user, "<span class='warning'>You probably shouldn't mess with all these strange tools and parts...</span>") //give them a slightly fluffy explanation as to why it didn't work
to_chat(user, span_warning("You probably shouldn't mess with all these strange tools and parts...")) //give them a slightly fluffy explanation as to why it didn't work
return
playsound(src, 'sound/items/Screwdriver.ogg', 100, 1)
var/obj/N = new to_type(O.loc)
user.visible_message("<span class='notice'>[user] opens \the [src] and modifies \the [O] into \the [N].</span>","<span class='notice'>You open \the [src] and modify \the [O] into \the [N].</span>")
user.visible_message(span_notice("[user] opens \the [src] and modifies \the [O] into \the [N]."),span_notice("You open \the [src] and modify \the [O] into \the [N]."))
//crude, but transfer prints and fibers to avoid forensics abuse, same as the bloody/gooey check above
N.fingerprints = O.fingerprints
@@ -181,7 +181,7 @@
/obj/item/sword/fluff/joanaria/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
if(default_parry_check(user, attacker, damage_source) && prob(75))
user.visible_message("<span class='danger'>\The [user] parries [attack_text] with \the [src]!</span>")
user.visible_message(span_danger("\The [user] parries [attack_text] with \the [src]!"))
playsound(src, 'sound/weapons/punchmiss.ogg', 50, 1)
return 1
return 0
@@ -194,7 +194,7 @@
/obj/item/material/knife/tacknife/combatknife/fluff/katarina/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
if(default_parry_check(user, attacker, damage_source) && prob(75))
user.visible_message("<span class='danger'>\The [user] parries [attack_text] with \the [src]!</span>")
user.visible_message(span_danger("\The [user] parries [attack_text] with \the [src]!"))
playsound(src, 'sound/weapons/punchmiss.ogg', 50, 1)
return 1
return 0
@@ -229,11 +229,11 @@
/obj/item/card/id/centcom/station/fluff/joanbadge/attack_self(mob/user as mob)
if(isliving(user))
user.visible_message("<span class='warning'>[user] flashes their golden security badge.\nIt reads:NT Security.</span>","<span class='warning'>You display the faded badge.\nIt reads: NT Security.</span>")
user.visible_message(span_warning("[user] flashes their golden security badge.\nIt reads:NT Security."),span_warning("You display the faded badge.\nIt reads: NT Security."))
/obj/item/card/id/centcom/station/fluff/joanbadge/attack(mob/living/carbon/human/M, mob/living/user)
if(isliving(user))
user.visible_message("<span class='warning'>[user] invades [M]'s personal space, thrusting [src] into their face insistently.</span>","<span class='warning'>You invade [M]'s personal space, thrusting [src] into their face insistently.</span>")
user.visible_message(span_warning("[user] invades [M]'s personal space, thrusting [src] into their face insistently."),span_warning("You invade [M]'s personal space, thrusting [src] into their face insistently."))
//JoanRisu:Joan Risu
/obj/item/pda/heads/hos/joanpda
@@ -297,11 +297,11 @@
/obj/item/flag/attack_self(mob/user as mob)
if(isliving(user))
user.visible_message("<span class='warning'>[user] waves their Banner around!</span>","<span class='warning'>You wave your Banner around.</span>")
user.visible_message(span_warning("[user] waves their Banner around!"),span_warning("You wave your Banner around."))
/obj/item/flag/attack(mob/living/carbon/human/M, mob/living/user)
if(isliving(user))
user.visible_message("<span class='warning'>[user] invades [M]'s personal space, thrusting [src] into their face insistently.</span>","<span class='warning'>You invade [M]'s personal space, thrusting [src] into their face insistently.</span>")
user.visible_message(span_warning("[user] invades [M]'s personal space, thrusting [src] into their face insistently."),span_warning("You invade [M]'s personal space, thrusting [src] into their face insistently."))
/obj/item/flag/federation
@@ -403,13 +403,13 @@
//O.icon = icon // just in case we're using custom sprite paths with fluff items.
O.icon_state = new_icon // Changes the icon without changing the access.
playsound(src, 'sound/items/polaroid2.ogg', 100, 1)
user.visible_message("<span class='warning'> [user] reprints their ID.</span>")
user.visible_message(span_warning(" [user] reprints their ID."))
qdel(src)
else if(O.icon_state == new_icon)
to_chat(user, "<span class='notice'>[O] already has been reprinted.</span>")
to_chat(user, span_notice("[O] already has been reprinted."))
return
else
to_chat(user, "<span class='warning'>This isn't even an ID card you idiot.</span>")
to_chat(user, span_warning("This isn't even an ID card you idiot."))
return
//arokha:Aronai Sieyes - Centcom ID (Medical dept)
@@ -426,7 +426,7 @@
if(user.mind && user.mind.initial_account)
associated_account_number = user.mind.initial_account.account_number
configured = 1
to_chat(user, "<span class='notice'>Card settings set.</span>")
to_chat(user, span_notice("Card settings set."))
//Swat43:Fortune Bloise
/obj/item/storage/backpack/satchel/fluff/swat43bag
@@ -461,7 +461,7 @@
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
return ..()
else
to_chat(H, "<span class='warning'>You need to have a wolf-taur half to wear this.</span>")
to_chat(H, span_warning("You need to have a wolf-taur half to wear this."))
return 0
/obj/item/clothing/head/serdyhelmet //SilencedMP5A5's specialty helmet.
@@ -548,24 +548,24 @@
/obj/item/clothing/accessory/collar/khcrystal/attack_self(mob/user as mob)
if(state > 0) //Can't re-pair, one time only, for security reasons.
to_chat(user, "<span class='notice'>The [name] doesn't do anything.</span>")
to_chat(user, span_notice("The [name] doesn't do anything."))
return 0
owner = user //We're paired to this guy
owner_c = user.client //This is his client
update_state(1)
to_chat(user, "<span class='notice'>The [name] glows pleasantly blue.</span>")
to_chat(user, span_notice("The [name] glows pleasantly blue."))
START_PROCESSING(SSobj, src)
/obj/item/clothing/accessory/collar/khcrystal/proc/check_owner()
//He's dead, jim
if((state == 1) && owner && (owner.stat == DEAD))
update_state(2)
visible_message("<span class='warning'>The [name] begins flashing red.</span>")
visible_message(span_warning("The [name] begins flashing red."))
sleep(30)
visible_message("<span class='warning'>The [name] shatters into dust!</span>")
visible_message(span_warning("The [name] shatters into dust!"))
if(owner_c)
to_chat(owner_c, "<span class='notice'>A signal is sent notifying of your demise by \the [name].</span>")
to_chat(owner_c, span_notice("A signal is sent notifying of your demise by \the [name]."))
update_state(3)
name = "broken [initial(name)]"
desc = "This seems like a necklace, but the actual pendant is missing."
@@ -656,13 +656,13 @@
O.icon_state = new_icon_state // Changes the icon without changing the access.
O.desc = new_desc
playsound(src, 'sound/items/polaroid2.ogg', 100, 1)
user.visible_message("<span class='warning'> [user] reprints their ID.</span>")
user.visible_message(span_warning(" [user] reprints their ID."))
qdel(src)
else if(O.icon_state == new_icon)
to_chat(user, "<span class='notice'>[O] already has been reprinted.</span>")
to_chat(user, span_notice("[O] already has been reprinted."))
return
else
to_chat(user, "<span class='warning'>This isn't even an ID card you idiot.</span>")
to_chat(user, span_warning("This isn't even an ID card you idiot."))
return
//WickedTempest: Chakat Tempest
@@ -830,7 +830,7 @@
/obj/item/clothing/accessory/badge/holo/detective/ruda/attack(mob/living/carbon/human/M, mob/living/user)
if(isliving(user))
user.visible_message("<span class='danger'>[user] invades [M]'s personal space, thrusting [src] into their face with an insistent huff.</span>","<span class='danger'>You invade [M]'s personal space, thrusting [src] into their face with an insistent huff.</span>")
user.visible_message(span_danger("[user] invades [M]'s personal space, thrusting [src] into their face with an insistent huff."),span_danger("You invade [M]'s personal space, thrusting [src] into their face with an insistent huff."))
user.do_attack_animation(M)
user.setClickCooldown(DEFAULT_QUICK_COOLDOWN) //to prevent spam
@@ -843,9 +843,9 @@
if(isliving(user))
if(stored_name)
user.visible_message("<span class='notice'>[user] displays their [src].\nIt reads: [stored_name], [badge_string].</span>","<span class='notice'>You display your [src].\nIt reads: [stored_name], [badge_string].</span>")
user.visible_message(span_notice("[user] displays their [src].\nIt reads: [stored_name], [badge_string]."),span_notice("You display your [src].\nIt reads: [stored_name], [badge_string]."))
else
user.visible_message("<span class='notice'>[user] displays their [src].\nIt reads: [badge_string].</span>","<span class='notice'>You display your [src]. It reads: [badge_string].</span>")
user.visible_message(span_notice("[user] displays their [src].\nIt reads: [badge_string]."),span_notice("You display your [src]. It reads: [badge_string]."))
/obj/item/card/id/fluff/xennith
name = "\improper Amy Lessen's Central Command ID (Xenobiology Director)"
@@ -876,7 +876,7 @@
H.monkeyize()
qdel(src) //One time use.
else //If not, do nothing.
to_chat(user, "<span class='warning'>You are unable to inject other people.</span>")
to_chat(user, span_warning("You are unable to inject other people."))
/obj/item/fluff/injector/numb_bite
name = "Numbing Venom Injector"
@@ -890,7 +890,7 @@
H.species.give_numbing_bite() //This was annoying, but this is the easiest way of performing it.
qdel(src) //One time use.
else //If not, do nothing.
to_chat(user, "<span class='warning'>You are unable to inject other people.</span>")
to_chat(user, span_warning("You are unable to inject other people."))
//For 2 handed fluff weapons.
/obj/item/material/twohanded/fluff //Twohanded fluff items.
@@ -948,7 +948,7 @@
/obj/item/melee/baton/fluff/stunstaff/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
if(wielded && default_parry_check(user, attacker, damage_source) && prob(30))
user.visible_message("<span class='danger'>\The [user] parries [attack_text] with \the [src]!</span>")
user.visible_message(span_danger("\The [user] parries [attack_text] with \the [src]!"))
playsound(src, 'sound/weapons/punchmiss.ogg', 50, 1)
return 1
return 0
@@ -971,14 +971,14 @@
/obj/item/melee/baton/fluff/stunstaff/attack_self(mob/user)
if(bcell && bcell.charge > hitcost)
status = !status
to_chat(user, "<span class='notice'>[src] is now [status ? "on" : "off"].</span>")
to_chat(user, span_notice("[src] is now [status ? "on" : "off"]."))
if(status == 0)
playsound(src, 'sound/weapons/saberoff.ogg', 50, 1)
else
playsound(src, 'sound/weapons/saberon.ogg', 50, 1)
else
status = 0
to_chat(user, "<span class='warning'>[src] is out of charge.</span>")
to_chat(user, span_warning("[src] is out of charge."))
update_held_icon()
add_fingerprint(user)
@@ -1040,8 +1040,8 @@
/obj/item/melee/fluffstuff/attack_self(mob/living/user as mob)
if (active)
if ((CLUMSY in user.mutations) && prob(50))
user.visible_message("<span class='danger'>\The [user] accidentally cuts \himself with \the [src].</span>",\
"<span class='danger'>You accidentally cut yourself with \the [src].</span>")
user.visible_message(span_danger("\The [user] accidentally cuts \himself with \the [src]."),\
span_danger("You accidentally cut yourself with \the [src]."))
user.take_organ_damage(5,5)
deactivate(user)
else
@@ -1082,7 +1082,7 @@
/obj/item/melee/fluffstuff/wolfgirlsword/activate(mob/living/user)
if(!active)
to_chat(user, "<span class='notice'>The [src] is now sharpened. It will cut!</span>")
to_chat(user, span_notice("The [src] is now sharpened. It will cut!"))
..()
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
@@ -1094,7 +1094,7 @@
/obj/item/melee/fluffstuff/wolfgirlsword/deactivate(mob/living/user)
if(active)
to_chat(user, "<span class='notice'>The [src] grows dull!</span>")
to_chat(user, span_notice("The [src] grows dull!"))
..()
attack_verb = list("bapped", "thwapped", "bonked", "whacked")
icon_state = initial(icon_state)
@@ -1174,7 +1174,7 @@
/obj/item/clothing/glasses/welding/tiemgogs/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "radiantaurora")
to_chat(H, "<span class='warning'>These don't look like they were made to fit you...</span>")
to_chat(H, span_warning("These don't look like they were made to fit you..."))
return 0
else
return 1
@@ -1213,7 +1213,7 @@
/obj/item/rig/nikki/attackby(obj/item/W, mob/living/user)
//This thing accepts ONLY mounted sizeguns. That's IT. Nothing else!
if(open && istype(W,/obj/item/rig_module) && !istype(W,/obj/item/rig_module/mounted/sizegun))
to_chat(user, "<span class='danger'>\The [src] only accepts mounted size gun modules.</span>")
to_chat(user, span_danger("\The [src] only accepts mounted size gun modules."))
return
..()
@@ -1222,7 +1222,7 @@
if (M.ckey == "ryumi")
return 1
else if (M.get_active_hand() == src)
to_chat(M, "<span class='warning'>For some reason, the necklace seems to never quite get past your head when you try to put it on... Weird, it looked like it would fit.</span>")
to_chat(M, span_warning("For some reason, the necklace seems to never quite get past your head when you try to put it on... Weird, it looked like it would fit."))
return 0
//Nickcrazy - Damon Bones Xrim
@@ -1318,13 +1318,13 @@
like a sponge scrubbing away a stain.</span>")
user.hair_accessory_style = null
for(var/datum/sprite_accessory/hair_accessory/verie_hair_glow/V in user)
to_chat(user, "<span class='warning'>found a V to delete!</span>")
to_chat(user, span_warning("found a V to delete!"))
qdel(V)
user.update_hair()
else
to_chat(user, "<span class='warning'>\The [src] isn't compatible with your body as it is now.</span>")
to_chat(user, span_warning("\The [src] isn't compatible with your body as it is now."))
End CHOMP Removal*/
@@ -1433,7 +1433,7 @@ End CHOMP Removal*/
desc = "A hard drive containing knowledge of various languages."
/obj/item/implant/language/fluff/m41l/post_implant(mob/M)
to_chat(M,"<span class='notice'>LANGUAGES - LOADING</span>")
to_chat(M,span_notice("LANGUAGES - LOADING"))
M.add_language(LANGUAGE_SKRELLIAN)
M.add_language(LANGUAGE_UNATHI)
M.add_language(LANGUAGE_SIIK)
@@ -1450,7 +1450,7 @@ End CHOMP Removal*/
M.add_language(LANGUAGE_SPACER)
M.add_language(LANGUAGE_TAVAN)
M.add_language(LANGUAGE_ECHOSONG)
to_chat(M,"<span class='notice'>LANGUAGES - INITIALISED</span>")
to_chat(M,span_notice("LANGUAGES - INITIALISED"))
//thedavestdave - Lucky
/obj/item/clothing/suit/armor/combat/crusader_costume/lucky
@@ -1543,16 +1543,16 @@ End CHOMP Removal*/
if(world.time - last_message <= 5 SECONDS)
return
if(user.a_intent == I_HELP)
user.visible_message("<span class='notice'><b>\The [user]</b> hugs [src]!</span>","<span class='notice'>You hug [src]!</span>")
user.visible_message(span_notice("<b>\The [user]</b> hugs [src]!"),span_notice("You hug [src]!"))
icon_state = "pandorba"
else if (user.a_intent == I_HURT)
user.visible_message("<span class='warning'><b>\The [user]</b> punches [src]!</span>","<span class='warning'>You punch [src]!</span>")
user.visible_message(span_warning("<b>\The [user]</b> punches [src]!"),span_warning("You punch [src]!"))
icon_state = "pandorba_h"
else if (user.a_intent == I_GRAB)
user.visible_message("<span class='warning'><b>\The [user]</b> attempts to strangle [src]!</span>","<span class='warning'>You attempt to strangle [src]!</span>")
user.visible_message(span_warning("<b>\The [user]</b> attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!"))
icon_state = "pandorba_g"
else
user.visible_message("<span class='notice'><b>\The [user]</b> pokes [src].</span>","<span class='notice'>You poke [src].</span>")
user.visible_message(span_notice("<b>\The [user]</b> pokes [src]."),span_notice("You poke [src]."))
icon_state = "pandorba_d"
playsound(src, 'sound/items/drop/plushie.ogg', 25, 0)
visible_message("[src] says, \"[pokephrase]\"")

View File

@@ -33,11 +33,11 @@
if(!choice)
return
tf_type = tf_possible_types[choice]
to_chat(usr, "<span class='notice'>You selected [choice].</span>")
to_chat(usr, span_notice("You selected [choice]."))
/obj/item/gun/energy/mouseray/Fire(atom/target, mob/living/user, clickparams, pointblank, reflex)
if(world.time < cooldown)
to_chat(usr, "<span class='warning'>\The [src] isn't ready yet.</span>")
to_chat(usr, span_warning("\The [src] isn't ready yet."))
return
. = ..()
@@ -359,7 +359,7 @@
return
if(target != firer) //If you shot yourself, you probably want to be TFed so don't bother with prefs.
if(!M.allow_spontaneous_tf && !tf_admin_pref_override)
firer.visible_message("<span class='warning'>\The [src] buzzes impolitely.</span>")
firer.visible_message(span_warning("\The [src] buzzes impolitely."))
return
if(M.tf_mob_holder)
var/mob/living/ourmob = M.tf_mob_holder
@@ -400,10 +400,10 @@
M.forceMove(ourmob)
else
qdel(target) //CHOMPEdit End
firer.visible_message("<span class='notice'>\The [shot_from] boops pleasantly.</span>")
firer.visible_message(span_notice("\The [shot_from] boops pleasantly."))
return
else
firer.visible_message("<span class='warning'>\The [shot_from] buzzes impolitely.</span>")
firer.visible_message(span_warning("\The [shot_from] buzzes impolitely."))
/obj/item/gun/energy/mouseray/admin //NEVER GIVE THIS TO ANYONE
name = "experimental metamorphosis ray"
@@ -500,7 +500,7 @@
/obj/item/gun/energy/mouseray/metamorphosis/advanced/random/Fire(atom/target, mob/living/user, clickparams, pointblank, reflex)
if(world.time < cooldown)
to_chat(usr, "<span class='warning'>\The [src] isn't ready yet.</span>")
to_chat(usr, span_warning("\The [src] isn't ready yet."))
return
var/choice = pick(tf_possible_types)
tf_type = tf_possible_types[choice]

View File

@@ -41,20 +41,20 @@
if(target.stat)
return
if(target == user)
to_chat(user, "<span class='notice'>You can't pull \the [src] by yourself, that would just be sad!</span>")
to_chat(user, span_notice("You can't pull \the [src] by yourself, that would just be sad!"))
return
to_chat(user, "<span class='notice'>You offer \the [src] to \the [target] to pull and wait to see how whether they do.</span>")
to_chat(user, span_notice("You offer \the [src] to \the [target] to pull and wait to see how whether they do."))
var/check_pull = tgui_alert(target, "\The [user] is offering to pull \the [src] with you, do you want to pull it?", "Pull Cracker", list("Yes", "No"))
if(!check_pull || check_pull == "No")
to_chat(user, "<span class='notice'>\The [target] chose not to pull \the [src]!</span>")
to_chat(user, span_notice("\The [target] chose not to pull \the [src]!"))
return
if(!adjacent)
to_chat(user, "<span class='notice'>\The [target] is not standing close enough to pull \the [src]!</span>")
to_chat(user, span_notice("\The [target] is not standing close enough to pull \the [src]!"))
return
var/obj/item/check_hand = user.get_active_hand()
if(check_hand != src)
to_chat(user, "<span class='notice'>\The [src] is no longer in-hand!</span>")
to_chat(target, "<span class='notice'>\The [src] is no longer in-hand!</span>")
to_chat(user, span_notice("\The [src] is no longer in-hand!"))
to_chat(target, span_notice("\The [src] is no longer in-hand!"))
return
var/prize = pick(prizes)
var/joke = pick(jokes)
@@ -77,7 +77,7 @@
var/spawnloc = get_turf(winner)
winner.visible_message("<span class='notice'>\The [winner] wins the cracker prize!</span>","<span class='notice'>You win the cracker prize!</span>")
winner.visible_message(span_notice("\The [winner] wins the cracker prize!"),span_notice("You win the cracker prize!"))
if(prize == "shrinking")
winner.resize(0.25)
winner.visible_message("<b>\The [winner]</b> shrinks suddenly!")

View File

@@ -32,7 +32,7 @@
H.help_shake_act(user)
if(isanimal(L))
var/mob/living/simple_mob/S = L
user.visible_message("<span class='notice'>[user] [S.response_help] \the [S].</span>")
user.visible_message(span_notice("[user] [S.response_help] \the [S]."))
//Egg features.
/obj/item/holder/attack_hand(mob/living/user as mob)

View File

@@ -15,10 +15,10 @@
if (user.hand)
temp = H.organs_by_name["l_hand"]
if(temp && !temp.is_usable())
to_chat(user, "<span class='notice'>You try to move your [temp.name], but cannot!</span>")
to_chat(user, span_notice("You try to move your [temp.name], but cannot!"))
return
if(!temp)
to_chat(user, "<span class='notice'>You try to use your hand, but realize it is no longer attached!</span>")
to_chat(user, span_notice("You try to use your hand, but realize it is no longer attached!"))
return
if(held_mob == user) return // No picking your own micro self up

View File

@@ -195,7 +195,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)
@@ -252,9 +252,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
@@ -322,14 +322,14 @@
forceMove(tmob.loc)
if(a_intent != I_HELP)
if(tmob.size_multiplier > 0.75 && nofetish) //So we can stun micros with step mechanics off, but prevent macros from stunning regular heights
to_chat(pred, "<span class='danger'>You pass over [tmob.name].</span>")
to_chat(prey, "<span class='danger'>[src.name] passes over you.</span>")
to_chat(pred, span_danger("You pass over [tmob.name]."))
to_chat(prey, span_danger("[src.name] passes over you."))
return FALSE
tmob.resting = 1
tmob.Weaken(3) //CHOMPEdit - do both regardless of intent, dummy
if(nofetish)
to_chat(pred, "<span class='danger'>You casually knock [tmob.name] over.</span>")
to_chat(prey, "<span class='danger'>[src.name] casually knocks you over.</span>")
to_chat(pred, span_danger("You casually knock [tmob.name] over."))
to_chat(prey, span_danger("[src.name] casually knocks you over."))
return TRUE
var/size_damage_multiplier = size_multiplier - tmob.size_multiplier
@@ -409,8 +409,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()
@@ -419,7 +419,7 @@
set category = "IC.Settings" //CHOMPEdit
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

View File

@@ -39,7 +39,7 @@
set src in view(1)
size_set_to = (rand(25,200)) /100
usr.visible_message("<span class='warning'>\The [usr] spins the size dial to a random value!</span>","<span class='notice'>You spin the dial to a random value!</span>")
usr.visible_message(span_warning("\The [usr] spins the size dial to a random value!"),span_notice("You spin the dial to a random value!"))
/obj/item/gun/energy/sizegun/consume_next_projectile()
. = ..()
@@ -58,9 +58,9 @@
//We do valid resize testing in actual firings because people move after setting these things.
//Just a basic clamp here to the valid ranges.
size_set_to = clamp((size_select/100), RESIZE_MINIMUM_DORMS, RESIZE_MAXIMUM_DORMS)
to_chat(usr, "<span class='notice'>You set the size to [size_select]%</span>")
to_chat(usr, span_notice("You set the size to [size_select]%"))
if(size_set_to < RESIZE_MINIMUM || size_set_to > RESIZE_MAXIMUM)
to_chat(usr, "<span class='notice'>Note: Resizing limited to 25-200% automatically while outside dormatory areas.</span>") //hint that we clamp it in resize
to_chat(usr, span_notice("Note: Resizing limited to 25-200% automatically while outside dormatory areas.")) //hint that we clamp it in resize
/obj/item/gun/energy/sizegun/update_icon(var/ignore_inhands)
var/grow_mode = "shrink"
@@ -82,7 +82,7 @@
/obj/item/gun/energy/sizegun/examine(mob/user)
. = ..()
. += "<span class='info'>It is currently set at [size_set_to*100]%</span>"
. += span_info("It is currently set at [size_set_to*100]%")
/obj/item/gun/energy/sizegun/admin
name = "modified size gun"
@@ -132,14 +132,14 @@
if(!size_select)
return //cancelled
size_set_to = clamp((size_select/100), 0, 1000) //eheh
to_chat(usr, "<span class='notice'>You set the size to [size_select]%</span>")
to_chat(usr, span_notice("You set the size to [size_select]%"))
/obj/item/gun/energy/sizegun/afterattack(atom/A, mob/living/user, adjacent, params)
if(adjacent) return //A is adjacent, is the user, or is on the user's person
if(backfire)
if(prob(50))
to_chat(user, "<span class='notice'>\The [src] backfires and consumes its entire charge!</span>")
to_chat(user, span_notice("\The [src] backfires and consumes its entire charge!"))
Fire(user, user)
power_supply.charge = 0
var/mob/living/M = loc // TGMC Ammo HUD
@@ -154,7 +154,7 @@
/obj/item/gun/energy/sizegun/attack(atom/A, mob/living/user, adjacent, params)
if(backfire)
if(prob(50))
to_chat(user, "<span class='notice'>\The [src] backfires and consumes its entire charge!</span>")
to_chat(user, span_notice("\The [src] backfires and consumes its entire charge!"))
Fire(user, user)
power_supply.charge = 0
var/mob/living/M = loc // TGMC Ammo HUD
@@ -170,11 +170,11 @@
/obj/item/gun/energy/sizegun/attackby(var/obj/item/A as obj, mob/user as mob)
if(A.has_tool_quality(TOOL_WIRECUTTER))
if(backfire)
to_chat(user, "<span class='warning'>You repair the damage to the \the [src].</span>")
to_chat(user, span_warning("You repair the damage to the \the [src]."))
backfire = 0
name = "size gun"
else
to_chat(user, "<span class='warning'>You snip a wire on \the [src], making it less reliable.</span>")
to_chat(user, span_warning("You snip a wire on \the [src], making it less reliable."))
backfire = 1
name = "unstable size gun"
..()
@@ -210,7 +210,7 @@
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(istype(H.gloves, /obj/item/clothing/gloves/bluespace))
M.visible_message("<span class='warning'>\The [H]'s bracelet flashes and absorbs the beam!</span>","<span class='notice'>Your bracelet flashes and absorbs the beam!</span>")
M.visible_message(span_warning("\The [H]'s bracelet flashes and absorbs the beam!"),span_notice("Your bracelet flashes and absorbs the beam!"))
return
if(!M.resize(set_size, uncapped = M.has_large_resize_bounds(), ignore_prefs = ignoring_prefs))
to_chat(M, span_blue("The beam fires into your body, changing your size!"))
@@ -227,9 +227,9 @@
var/very_big = is_extreme_size(set_size)
if(very_big && can_be_big) // made an extreme size in an area that allows it, don't assume adminbuse
to_chat(firer, "<span class='warning'>[M] will lose this size upon moving into an area where this size is not allowed.</span>")
to_chat(firer, span_warning("[M] will lose this size upon moving into an area where this size is not allowed."))
else if(very_big) // made an extreme size in an area that doesn't allow it, assume adminbuse
to_chat(firer, "<span class='warning'>[M] will retain this normally unallowed size outside this area.</span>")
to_chat(firer, span_warning("[M] will retain this normally unallowed size outside this area."))
M.resize(set_size, uncapped = TRUE, ignore_prefs = TRUE) // Always ignores prefs, caution is advisable

View File

@@ -116,7 +116,7 @@
if(user.a_intent == I_DISARM)
if(ismouse(usr) || (isobserver(usr) && !CONFIG_GET(flag/ghost_interaction))) // CHOMPEdit
return
to_chat(user, "<span class='notice'>[src] was dismantaled into bricks.</span>")
to_chat(user, span_notice("[src] was dismantaled into bricks."))
playsound(src, 'sound/items/smolesmallbuild.ogg', 50, 1, -1, volume_channel = VOLUME_CHANNEL_MASTER)
var/turf/simulated/floor/F = get_turf(src)
if(istype(F))
@@ -213,7 +213,7 @@
if(user.a_intent == I_DISARM)
if(ismouse(usr) || (isobserver(usr) && !CONFIG_GET(flag/ghost_interaction))) // CHOMPEdit
return
to_chat(user, "<span class='notice'>[src] was dismantaled into bricks.</span>")
to_chat(user, span_notice("[src] was dismantaled into bricks."))
playsound(src, 'sound/items/smolesmallbuild.ogg', 50, 1, -1, volume_channel = VOLUME_CHANNEL_MASTER)
if(!isnull(loc))
new /obj/item/stack/material/smolebricks(loc)
@@ -228,8 +228,8 @@
take_damage()
playsound(src, 'sound/items/smolebuildinghit2.ogg', 50, 1)
user.do_attack_animation(src)
usr.visible_message("<span class='danger'>\The [usr] bangs against \the [src]!</span>",
"<span class='danger'>You bang against \the [src]!</span>",
usr.visible_message(span_danger("\The [usr] bangs against \the [src]!"),
span_danger("You bang against \the [src]!"),
"You hear a banging sound.")
else
usr.visible_message("[usr.name] knocks on the [src.name].",
@@ -248,7 +248,7 @@
return
//results of attacks will remove building and spawn in ruins.
/obj/structure/smolebuilding/proc/dismantle()
visible_message("<span class='danger'>\The [src] falls apart!</span>")
visible_message(span_danger("\The [src] falls apart!"))
playsound(src, 'sound/items/smolebuildingdestoryed.ogg', 50, 1, -1, volume_channel = VOLUME_CHANNEL_MASTER)
new /obj/structure/smoleruins(loc)
qdel(src)
@@ -264,7 +264,7 @@
return
//is the same as dismaintal but instead of ruins it just makes it all explode
/obj/structure/smolebuilding/proc/displode()
visible_message("<span class='danger'>\The [src] explodes into pieces!</span>")
visible_message(span_danger("\The [src] explodes into pieces!"))
playsound(src, 'sound/items/smolebuildingdestoryedshort.ogg', 50, 1, -1, volume_channel = VOLUME_CHANNEL_MASTER)
new /obj/item/stack/material/smolebricks(loc)
new /obj/item/stack/material/smolebricks(loc)
@@ -276,7 +276,7 @@
if(user.a_intent == I_DISARM)
if(ismouse(usr) || (isobserver(usr) && !CONFIG_GET(flag/ghost_interaction))) // CHOMPEdit
return
to_chat(user, "<span class='notice'>[src] was dismantaled into bricks.</span>")
to_chat(user, span_notice("[src] was dismantaled into bricks."))
playsound(src, 'sound/items/smolelargeunbuild.ogg', 50, 1, volume_channel = VOLUME_CHANNEL_MASTER)
if(!isnull(loc))
new /obj/item/stack/material/smolebricks(loc)
@@ -293,7 +293,7 @@
return
/obj/structure/smoleruins/proc/displode()
visible_message("<span class='danger'>\The [src] explodes into pieces!</span>")
visible_message(span_danger("\The [src] explodes into pieces!"))
playsound(src, 'sound/items/smolebuildingdestoryedshort.ogg', 50, 1, -1, volume_channel = VOLUME_CHANNEL_MASTER)
new /obj/item/stack/material/smolebricks(loc)
new /obj/item/stack/material/smolebricks(loc)

View File

@@ -13,10 +13,10 @@
/obj/machinery/fitness/attack_hand(mob/living/user)
if(user.nutrition < 70)
to_chat(user, "<span class='notice'>You need more energy to workout with the [src]!</span>")
to_chat(user, span_notice("You need more energy to workout with the [src]!"))
else if(user.weight < 70)
to_chat(user, "<span class='notice'>You're too skinny to risk losing any more weight!</span>")
to_chat(user, span_notice("You're too skinny to risk losing any more weight!"))
else //If they have enough nutrition and body weight, they can exercise.
user.setClickCooldown(cooldown)
@@ -24,7 +24,7 @@
user.weight -= 0.1 * weightloss_power * (0.01 * user.weight_loss) //CHOMPEdit Making weight loss mechanically more accessible
flick("[icon_state]2", src)
var/message = pick(messages)
to_chat(user, "<span class='notice'>[message].</span>")
to_chat(user, span_notice("[message]."))
for(var/s in workout_sounds)
playsound(src, s, 50, 1)
@@ -57,18 +57,18 @@
/obj/machinery/fitness/heavy/attackby(obj/item/W, mob/living/user)
if(W.has_tool_quality(TOOL_WRENCH))
add_fingerprint(user)
user.visible_message("<span class='warning'>[user] has [anchored ? "un" : ""]secured \the [src].</span>", "<span class='notice'>You [anchored ? "un" : ""]secure \the [src].</span>")
user.visible_message(span_warning("[user] has [anchored ? "un" : ""]secured \the [src]."), span_notice("You [anchored ? "un" : ""]secure \the [src]."))
anchored = !anchored
playsound(src, 'sound/items/Ratchet.ogg', 50, 1)
return
/obj/machinery/fitness/heavy/attack_hand(mob/living/user)
if(!anchored)
to_chat(user, "<span class='notice'>For safety reasons, you are required to have this equipment wrenched down before using it!</span>")
to_chat(user, span_notice("For safety reasons, you are required to have this equipment wrenched down before using it!"))
return
else if(user.loc != loc)
to_chat(user, "<span class='notice'>For safety reasons, you need to be sitting in the [src] for it to work!</span>")
to_chat(user, span_notice("For safety reasons, you need to be sitting in the [src] for it to work!"))
return
else
@@ -94,8 +94,8 @@
/obj/machinery/scale/attack_hand(var/mob/living/user)
if(user.loc != loc)
to_chat(user, "<span class='notice'>You need to be standing on top of the scale for it to work!</span>")
to_chat(user, span_notice("You need to be standing on top of the scale for it to work!"))
return
if(user.weight) //Just in case.
var/kilograms = round(text2num(user.weight),4) / 2.20463
visible_message("<span class='notice'>[src] displays a reading of [user.weight]lb / [kilograms]kg when [user] stands on it.</span>")
visible_message(span_notice("[src] displays a reading of [user.weight]lb / [kilograms]kg when [user] stands on it."))