Loudsay and font formatting. [SEMI-MODULAR] (#1033)

* aaaa

* Update readme.md

* undo tickets

* Update adminpm.dm

* Update admin_verbs.dm

* sss
This commit is contained in:
Gandalf
2020-10-01 03:00:00 +02:00
committed by GitHub
parent 7ff2637cd4
commit 8f9d2a6b10
7 changed files with 72 additions and 3 deletions
+4 -1
View File
@@ -141,7 +141,10 @@
var/tgt_color = extra_classes.Find("italics") ? target.chat_color_darkened : target.chat_color
// Approximate text height
var/complete_text = "<span class='center maptext [extra_classes.Join(" ")]' style='color: [tgt_color]'>[text]</span>"
//SKYRAT EDIT CHANGE - ADMIN
//var/complete_text = "<span class='center maptext [extra_classes.Join(" ")]' style='color: [tgt_color]'>[text]</span>" - ORIGINAL
var/complete_text = "<span class='center maptext [extra_classes.Join(" ")]' style='color: [tgt_color]'>[owner.say_emphasis(text)]</span>"
//SKYRAT EDIT END
var/mheight = WXH_TO_HEIGHT(owned_by.MeasureText(complete_text, null, CHAT_MESSAGE_WIDTH))
approx_lines = max(1, mheight / CHAT_MESSAGE_APPROX_LHEIGHT)