mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 03:26:37 +01:00
allow vorebelly display names (#18314)
* allow vorebelly display names * move lowertext * . * . * . * , * . * example implementation * . * . * absorbed * . * . * . * . * also fix that * useRef * key it * . * fix those too
This commit is contained in:
@@ -115,9 +115,9 @@
|
||||
var/obj/belly/B = loc
|
||||
if(B.absorbedrename_enabled)
|
||||
var/formatted_name = B.absorbedrename_name
|
||||
formatted_name = replacetext(formatted_name,"%pred",B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly",B.name)
|
||||
formatted_name = replacetext(formatted_name,"%prey",name)
|
||||
formatted_name = replacetext(formatted_name,"%pred", B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly", B.get_belly_name())
|
||||
formatted_name = replacetext(formatted_name,"%prey", name)
|
||||
return formatted_name
|
||||
return real_name
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
for(var/mob/living/M in target_list)
|
||||
if(M.devourable && M.can_be_drop_prey)
|
||||
M.forceMove(vore_selected)
|
||||
to_chat(M,span_vwarning("In a bright flash of white light, you suddenly find yourself trapped in \the [src]'s [vore_selected.name]!"))
|
||||
to_chat(M,span_vwarning("In a bright flash of white light, you suddenly find yourself trapped in \the [src]'s [vore_selected.get_belly_name()]!"))
|
||||
species.update_lleill_hud(src)
|
||||
|
||||
/datum/power/lleill/contact
|
||||
|
||||
@@ -387,7 +387,7 @@
|
||||
if(target.buckled)
|
||||
target.buckled.unbuckle_mob(target, force = TRUE)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,span_warning("\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!"))
|
||||
to_chat(target,span_warning("\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.get_belly_name()]!"))
|
||||
update_canmove()
|
||||
|
||||
/mob/living/simple_mob/protean_blob/update_canmove()
|
||||
|
||||
@@ -734,8 +734,8 @@
|
||||
if(target.buckled) //how are you buckled in the water?!
|
||||
target.buckled.unbuckle_mob()
|
||||
target.visible_message(span_vwarning("\The [target] suddenly disappears, being dragged into the water!"),\
|
||||
span_vdanger("You are dragged below the water and feel yourself slipping directly into \the [src]'s [vore_selected]!"))
|
||||
to_chat(src, span_vnotice("You successfully drag \the [target] into the water, slipping them into your [vore_selected]."))
|
||||
span_vdanger("You are dragged below the water and feel yourself slipping directly into \the [src]'s [vore_selected.get_belly_name()]!"))
|
||||
to_chat(src, span_vnotice("You successfully drag \the [target] into the water, slipping them into your [vore_selected.get_belly_name()]."))
|
||||
target.forceMove(src.vore_selected)
|
||||
|
||||
/mob/living/carbon/human/proc/toggle_pain_module()
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,span_vwarning("\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!"))
|
||||
to_chat(target,span_vwarning("\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.get_belly_name()]!"))
|
||||
|
||||
// Do this after the potential vore, so we get the belly
|
||||
update_icon()
|
||||
@@ -205,7 +205,7 @@
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,span_vwarning("\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!"))
|
||||
to_chat(target,span_vwarning("\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.get_belly_name()]!"))
|
||||
|
||||
// Do this after the potential vore, so we get the belly
|
||||
update_icon()
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
if(target.buckled)
|
||||
target.buckled.unbuckle_mob(target, force = TRUE)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,span_vwarning("\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!"))
|
||||
to_chat(target,span_vwarning("\The [src] quickly engulfs you, [vore_selected.vore_verb]ing you into their [vore_selected.get_belly_name()]!"))
|
||||
else
|
||||
..()
|
||||
|
||||
|
||||
@@ -80,9 +80,9 @@
|
||||
var/obj/belly/B = src.loc
|
||||
if(B.absorbedrename_enabled)
|
||||
var/formatted_name = B.absorbedrename_name
|
||||
formatted_name = replacetext(formatted_name,"%pred",B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly",B.name)
|
||||
formatted_name = replacetext(formatted_name,"%prey",name)
|
||||
formatted_name = replacetext(formatted_name,"%pred", B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly", B.get_belly_name())
|
||||
formatted_name = replacetext(formatted_name,"%prey", name)
|
||||
message = span_emote_subtle(span_bold("[formatted_name]") + " " + span_italics("[input]"))
|
||||
if(!(subtle_mode == "Adjacent Turfs (Default)"))
|
||||
message = span_bold("(T) ") + message
|
||||
@@ -298,9 +298,9 @@
|
||||
var/obj/belly/B = M.loc
|
||||
if(B.absorbedrename_enabled)
|
||||
formatted_name = B.absorbedrename_name
|
||||
formatted_name = replacetext(formatted_name,"%pred",B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly",B.name)
|
||||
formatted_name = replacetext(formatted_name,"%prey","\The [M]")
|
||||
formatted_name = replacetext(formatted_name,"%pred", B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly", B.get_belly_name())
|
||||
formatted_name = replacetext(formatted_name,"%prey", "\The [M]")
|
||||
to_chat(pb, span_psay("[formatted_name] thinks, \"[message]\""))
|
||||
else
|
||||
to_chat(pb, span_psay("\The [M] thinks, \"[message]\"")) //To our pred if absorbed
|
||||
@@ -404,9 +404,9 @@
|
||||
var/obj/belly/B = M.loc
|
||||
if(B.absorbedrename_enabled)
|
||||
formatted_name = B.absorbedrename_name
|
||||
formatted_name = replacetext(formatted_name,"%pred",B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly",B.name)
|
||||
formatted_name = replacetext(formatted_name,"%prey","\The [M]")
|
||||
formatted_name = replacetext(formatted_name,"%pred", B.owner)
|
||||
formatted_name = replacetext(formatted_name,"%belly", B.get_belly_name())
|
||||
formatted_name = replacetext(formatted_name,"%prey", "\The [M]")
|
||||
to_chat(pb, span_pemote("[formatted_name] [message]"))
|
||||
else
|
||||
to_chat(pb, span_pemote("\The [M] [message]")) //To our pred if absorbed
|
||||
|
||||
Reference in New Issue
Block a user