refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+48 -48
View File
@@ -426,14 +426,14 @@
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='notice'><B>[formatted_desc]</B></span>")
to_chat(thing, span_notice("<B>[formatted_desc]</B>"))
if(OldLoc in contents)
return //Someone dropping something (or being stripdigested)
//Generic entered message
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))
@@ -463,11 +463,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 && (taste = M.get_taste_message(FALSE)))
to_chat(owner, "<span class='vnotice'>[M] tastes of [taste].</span>")
to_chat(owner, span_vnotice("[M] tastes of [taste]."))
vore_fx(M)
//Stop AI processing in bellies
if(M.ai_holder)
@@ -542,7 +542,7 @@
if(disable_hud)
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)
@@ -624,7 +624,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]
@@ -710,7 +710,7 @@
//Print notifications/sound if necessary
if(!silent && !isobserver(M))
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]
@@ -1142,8 +1142,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
@@ -1181,7 +1181,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()
@@ -1195,7 +1195,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
@@ -1224,11 +1224,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()
@@ -1317,10 +1317,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")
@@ -1357,8 +1357,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]")
for(var/mob/M in hearers(4, owner))
M.show_message(struggle_outer_message, 2) // hearable
@@ -1411,9 +1411,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)
@@ -1444,9 +1444,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)
@@ -1468,7 +1468,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
@@ -1489,8 +1489,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)
@@ -1508,7 +1508,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
@@ -1530,8 +1530,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)
@@ -1557,8 +1557,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)
@@ -1581,8 +1581,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)
@@ -1604,8 +1604,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)
@@ -1613,7 +1613,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)
@@ -1641,8 +1641,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]")
for(var/mob/M in hearers(4, owner))
M.show_message(struggle_outer_message, 2) // hearable
@@ -1683,8 +1683,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)
@@ -1712,9 +1712,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)
@@ -1741,8 +1741,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)
+6 -6
View File
@@ -125,7 +125,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]
@@ -141,7 +141,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()
@@ -284,8 +284,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++
@@ -317,8 +317,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)
+3 -3
View File
@@ -67,13 +67,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
..()
+1 -1
View File
@@ -116,7 +116,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
+153 -153
View File
@@ -59,7 +59,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]
@@ -124,7 +124,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
@@ -143,11 +143,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))
@@ -178,8 +178,8 @@
var/obj/belly/B = tgui_input_list(usr, "Which belly?", "Select A Belly", vore_organs)
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)
@@ -228,7 +228,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
@@ -282,7 +282,7 @@
//
/mob/proc/copy_from_prefs_vr(var/bellies = TRUE)
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
@@ -360,7 +360,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
@@ -469,7 +469,7 @@
setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
visible_message("<span class='vwarning'>[src] licks [tasted]!</span>","<span class='vnotice'>You lick [tasted]. They taste rather like [tasted.get_taste_message()].</span>","<b>Slurp!</b>")
visible_message(span_vwarning("[src] licks [tasted]!"),span_vnotice("You lick [tasted]. They taste rather like [tasted.get_taste_message()]."),"<b>Slurp!</b>")
/mob/living/proc/get_taste_message(allow_generic = 1)
@@ -508,7 +508,7 @@
return
setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
visible_message("<span class='vwarning'>[src] smells [smelled]!</span>","<span class='vnotice'>You smell [smelled]. They smell like [smelled.get_smell_message()].</span>","<b>Sniff!</b>")
visible_message(span_vwarning("[src] smells [smelled]!"),span_vnotice("You smell [smelled]. They smell like [smelled.get_smell_message()]."),"<b>Sniff!</b>")
/mob/living/proc/get_smell_message(allow_generic = 1)
if(!vore_smell && !allow_generic)
@@ -617,7 +617,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
@@ -665,11 +665,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
@@ -687,17 +687,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!
@@ -830,7 +830,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)"
@@ -858,38 +858,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)
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))
@@ -903,15 +903,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()
@@ -919,12 +919,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)
@@ -933,43 +933,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) || istype(I,/obj/item/roulette_ball))
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
@@ -977,23 +977,23 @@
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
to_chat(C.bound_mob, "<span class= 'notice'>Outside of your crystal, you can see; <B>[B.desc]</B></span>")
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."))
else
to_chat(src, "<span class='notice'>You can taste the flavor of garbage. Delicious.</span>")
visible_message("<span class='warning'>[src] demonstrates their voracious capabilities by swallowing [I] whole!</span>")
to_chat(src, span_notice("You can taste the flavor of garbage. Delicious."))
visible_message(span_warning("[src] demonstrates their voracious capabilities by swallowing [I] whole!"))
return
to_chat(src, "<span class='notice'>This item is not appropriate for ethical consumption.</span>")
to_chat(src, span_notice("This item is not appropriate for ethical consumption."))
return
/mob/living/proc/toggle_trash_catching() //Ported from chompstation
@@ -1001,7 +1001,7 @@
set category = "Abilities"
set desc = "Toggle Trash Eater throw vore abilities."
trash_catching = !trash_catching
to_chat(src, "<span class='warning'>Trash catching [trash_catching ? "enabled" : "disabled"].</span>")
to_chat(src, span_warning("Trash catching [trash_catching ? "enabled" : "disabled"]."))
/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"
@@ -1017,16 +1017,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
@@ -1101,18 +1101,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)
@@ -1127,10 +1127,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"
@@ -1138,7 +1138,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"
@@ -1241,7 +1241,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
@@ -1249,7 +1249,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)
@@ -1257,126 +1257,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
+4 -4
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)
+6 -6
View File
@@ -18,7 +18,7 @@
// Mice can't eat logged out players!
return
if(client && IsAdvancedToolUser())
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)
update_icon()
@@ -37,10 +37,10 @@
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
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)
var/confirm = tgui_alert(user, "Enabling digestion on [name] will cause it to digest all stomach contents. Using this to break OOC prefs is against the rules. Digestion will reset after 20 minutes.", "Enabling [name]'s Digestion", list("Enable", "Cancel"))
@@ -62,7 +62,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
@@ -83,7 +83,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.
@@ -91,7 +91,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
..()
+5 -5
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)
+2 -2
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."))
+9 -9
View File
@@ -4,11 +4,11 @@
set category = "Abilities"
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)
+39 -39
View File
@@ -411,7 +411,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)
@@ -436,7 +436,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(!host.save_vore_prefs())
tgui_alert_async(usr, "ERROR: Virgo-specific preferences failed to save!","Error")
else
to_chat(usr, "<span class='notice'>Virgo-specific preferences saved!</span>")
to_chat(usr, span_notice("Virgo-specific preferences saved!"))
unsaved_changes = FALSE
return TRUE
if("reloadprefs")
@@ -446,7 +446,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(!host.apply_vore_prefs())
tgui_alert_async(usr, "ERROR: Virgo-specific preferences failed to apply!","Error")
else
to_chat(usr,"<span class='notice'>Virgo-specific preferences applied from active slot!</span>")
to_chat(usr,span_notice("Virgo-specific preferences applied from active slot!"))
unsaved_changes = FALSE
return TRUE
if("loadprefsfromslot")
@@ -456,13 +456,13 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
if(!host.load_vore_prefs_from_slot())
tgui_alert_async(usr, "ERROR: Virgo-specific preferences failed to apply!","Error")
else
to_chat(usr,"<span class='notice'>Virgo-specific preferences applied from active slot!</span>")
to_chat(usr,span_notice("Virgo-specific preferences applied from active slot!"))
unsaved_changes = TRUE
return TRUE
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
@@ -470,7 +470,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)
@@ -701,7 +701,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)
@@ -714,43 +714,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)
@@ -768,7 +768,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()
@@ -776,7 +776,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)
@@ -784,7 +784,7 @@ 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)]!"))
host.vore_selected.transfer_contents(target, choice, 1)
return TRUE
return
@@ -814,7 +814,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)
@@ -822,18 +822,18 @@ 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(usr, "Move [target] where?","Select Belly", host.vore_organs)
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)]!"))
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
@@ -844,7 +844,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)
@@ -856,24 +856,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
@@ -1526,10 +1526,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
@@ -1542,7 +1542,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
@@ -1615,10 +1615,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(usr,"<span class='warning'>Prey now have special interactions with your [lowertext(host.vore_selected.name)] depending on your settings.</span>")
to_chat(usr,span_warning("Prey now have special interactions with your [lowertext(host.vore_selected.name)] depending on your settings."))
else if(host.vore_selected.escapable == 1) //Never escapable.
host.vore_selected.escapable = 0
to_chat(usr,"<span class='warning'>Prey will not be able to have special interactions with your [lowertext(host.vore_selected.name)].</span>")
to_chat(usr,span_warning("Prey will not be able to have special interactions with your [lowertext(host.vore_selected.name)]."))
else
tgui_alert_async(usr, "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
host.vore_selected.escapable = 0