This commit is contained in:
timothyteakettle
2020-07-24 02:00:22 +01:00
parent 332dae9ee1
commit adc4c76be7
@@ -82,8 +82,6 @@
emote = attack_two
if("ARREST")
emote = arrest_emote
if("THREAT_LEVEL")
emote = threat
//now replace pieces of the text with the information we have
if(emote_type != "TAUNT" && emote_type != "ARREST")
@@ -92,7 +90,7 @@
emote = replacetext(emote, "BOT", "<b>[name]</b>") //needs to be bold if its a taunt or an arrest text
if(criminal)
emote = replacetext(emote, "CRIMINAL", criminal.name)
if(threat)
if(num2text(threat)) //because a threat of 0 will be false
emote = replacetext(emote, "THREAT_LEVEL", threat)
if(arrest > -1)
emote = replacetext(emote, "ARREST_TYPE", arrest_texts[arrest + 1])