Skip to content

Commit

Permalink
feat(maptext): adds special font for Changelings
Browse files Browse the repository at this point in the history
  • Loading branch information
kreeperHLC committed Dec 26, 2023
1 parent f9bda05 commit 605d7fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/_onclick/hud/maptext.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
if(mob.hud_used.maptext.last_word == obj_name)
return
obj_name = uppertext(obj_name)
if(mob.mind.assigned_role == "Clown")
if(mob.mind.special_role == "Changeling")
mob.hud_used.maptext.maptext = "<font size=4 style=\"font: 'Comic Sans MS'; text-align: center; text-shadow: 1px 1px 2px black;\">[obj_name]</font>"
else if(mob.mind.assigned_role == "Clown")
mob.hud_used.maptext.maptext = "<font size=4 style=\"font: 'Exocet'; text-align: center; text-shadow: 1px 1px 2px black;\">[obj_name]</font>"
else
mob.hud_used.maptext.maptext = "<font size=4 style=\"font: 'Small Fonts'; text-align: center; text-shadow: 1px 1px 2px black;\">[obj_name]</font>"
mob.hud_used.maptext.last_word = obj_name
Expand Down

0 comments on commit 605d7fd

Please sign in to comment.