mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Merge pull request #5807 from Markolie/sansfix
Fix Comic Sans HTML parsing
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
message = uppertext(message)
|
||||
verb = "yells loudly"
|
||||
|
||||
if(locate(/obj/item/organ/internal/cyberimp/brain/clown_voice) in internal_organs)
|
||||
if((COMIC in mutations) || (locate(/obj/item/organ/internal/cyberimp/brain/clown_voice) in internal_organs))
|
||||
message = "<span class='sans'>[message]</span>"
|
||||
|
||||
returns[1] = message
|
||||
|
||||
@@ -80,9 +80,6 @@ proc/get_radio_key_from_channel(var/channel)
|
||||
verb = "stammers"
|
||||
speech_problem_flag = 1
|
||||
|
||||
if(COMIC in mutations)
|
||||
message = "<span class='sans'>[message]</span>"
|
||||
|
||||
if(!IsVocal())
|
||||
message = ""
|
||||
speech_problem_flag = 1
|
||||
|
||||
@@ -78,24 +78,12 @@ Used In File(s): \code\modules\reagents\Chemistry-Machinery.dm
|
||||
</div>
|
||||
<div style="height:2px"></div> <!-- This is necessary to prevent the link margins from hitting each other and causing weird things to happen. It's essentialy a smaller <br> tag. -->
|
||||
{{empty}}
|
||||
<span class="bad">
|
||||
{{if data.glass}}
|
||||
Glass
|
||||
{{else}}
|
||||
Beaker
|
||||
{{/if}}
|
||||
is empty
|
||||
<span class="bad">{{if data.glass}}Glass{{else}}Beaker{{/if}} is empty
|
||||
</span>
|
||||
{{/for}}
|
||||
{{else}}
|
||||
<span class="average"><i>
|
||||
No
|
||||
{{if data.glass}}
|
||||
Glass
|
||||
{{else}}
|
||||
Beaker
|
||||
{{/if}}
|
||||
loaded
|
||||
No {{if data.glass}}Glass{{else}}Beaker{{/if}} loaded
|
||||
</i></span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user