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:
Kashargul
2025-08-30 14:14:31 +02:00
committed by GitHub
parent fbb107fad2
commit aba797cc03
35 changed files with 225 additions and 112 deletions
+3 -3
View File
@@ -69,9 +69,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(span_bold("[formatted_name]") + " [input]")
else
message = span_npc_emote(span_bold("[src]") + " [input]")