mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] allow vorebelly display names (#11541)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
afdd68dfb6
commit
8724a009b4
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user