From e5e9f107b0466abe34cfde417bb0ae891247affa Mon Sep 17 00:00:00 2001 From: dearmochi Date: Thu, 28 Jan 2021 21:44:46 +0100 Subject: [PATCH] Uses crisp font in antagonist HUD maptext (#15375) * Uses crispy font in blob HUD maptext * Other antags --- code/game/gamemodes/blob/overmind.dm | 4 ++-- code/game/gamemodes/miniantags/guardian/guardian.dm | 2 +- code/game/gamemodes/vampire/vampire.dm | 2 +- code/modules/mob/living/carbon/alien/alien.dm | 3 ++- code/modules/mob/living/carbon/human/life.dm | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/code/game/gamemodes/blob/overmind.dm b/code/game/gamemodes/blob/overmind.dm index 316a136afc6..7e60aeee6bf 100644 --- a/code/game/gamemodes/blob/overmind.dm +++ b/code/game/gamemodes/blob/overmind.dm @@ -53,13 +53,13 @@ /mob/camera/blob/update_health_hud() if(blob_core && hud_used) - hud_used.blobhealthdisplay.maptext = "
[round(blob_core.obj_integrity)]
" + hud_used.blobhealthdisplay.maptext = "
[round(blob_core.obj_integrity)]
" /mob/camera/blob/proc/add_points(var/points) if(points != 0) blob_points = clamp(blob_points + points, 0, max_blob_points) if(hud_used) - hud_used.blobpwrdisplay.maptext = "
[round(src.blob_points)]
" + hud_used.blobpwrdisplay.maptext = "
[round(src.blob_points)]
" /mob/camera/blob/say(var/message) if(!message) diff --git a/code/game/gamemodes/miniantags/guardian/guardian.dm b/code/game/gamemodes/miniantags/guardian/guardian.dm index 0fe09ad8e83..7ae70286755 100644 --- a/code/game/gamemodes/miniantags/guardian/guardian.dm +++ b/code/game/gamemodes/miniantags/guardian/guardian.dm @@ -128,7 +128,7 @@ else resulthealth = round((summoner.health / summoner.maxHealth) * 100) if(hud_used) - hud_used.guardianhealthdisplay.maptext = "
[resulthealth]%
" + hud_used.guardianhealthdisplay.maptext = "
[resulthealth]%
" /mob/living/simple_animal/hostile/guardian/adjustHealth(amount, updating_health = TRUE) //The spirit is invincible, but passes on damage to the summoner var/damage = amount * damage_transfer diff --git a/code/game/gamemodes/vampire/vampire.dm b/code/game/gamemodes/vampire/vampire.dm index a7bd5852f77..141ce7a1ef9 100644 --- a/code/game/gamemodes/vampire/vampire.dm +++ b/code/game/gamemodes/vampire/vampire.dm @@ -433,7 +433,7 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha hud.vampire_blood_display.screen_loc = "WEST:6,CENTER-1:15" hud.static_inventory += hud.vampire_blood_display hud.show_hud(hud.hud_version) - hud.vampire_blood_display.maptext = "
[bloodusable]
" + hud.vampire_blood_display.maptext = "
[bloodusable]
" handle_vampire_cloak() if(istype(owner.loc, /turf/space)) check_sun() diff --git a/code/modules/mob/living/carbon/alien/alien.dm b/code/modules/mob/living/carbon/alien/alien.dm index f6354b61940..02f639f018a 100644 --- a/code/modules/mob/living/carbon/alien/alien.dm +++ b/code/modules/mob/living/carbon/alien/alien.dm @@ -217,7 +217,8 @@ Des: Removes all infected images from the alien. /mob/living/carbon/alien/proc/updatePlasmaDisplay() if(hud_used) //clientless aliens - hud_used.alien_plasma_display.maptext = "
[getPlasma()]
" + hud_used.alien_plasma_display.maptext = "
[getPlasma()]
" + hud_used.alien_plasma_display.maptext_x = -3 /mob/living/carbon/alien/larva/updatePlasmaDisplay() return diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 94459fb2624..1e1363bdec2 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -863,7 +863,7 @@ mind.changeling.regenerate(src) if(hud_used) hud_used.lingchemdisplay.invisibility = 0 - hud_used.lingchemdisplay.maptext = "
[round(mind.changeling.chem_charges)]
" + hud_used.lingchemdisplay.maptext = "
[round(mind.changeling.chem_charges)]
" else if(hud_used) hud_used.lingchemdisplay.invisibility = 101