From 783e9f8299b84a07d7f37610d1f3e5a147587c9c Mon Sep 17 00:00:00 2001 From: Matt Atlas Date: Wed, 15 Jan 2020 14:15:55 +0100 Subject: [PATCH] Tweaks mech examine to be a lot more readable. (#7995) * Tweaks mech examine to be a lot more readable. * fuck it --- code/modules/heavy_vehicle/mecha.dm | 22 ++++++------- html/changelogs/mattatlas-mechxamine.yml | 41 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 11 deletions(-) create mode 100644 html/changelogs/mattatlas-mechxamine.yml diff --git a/code/modules/heavy_vehicle/mecha.dm b/code/modules/heavy_vehicle/mecha.dm index eabca77fd74..bc916812b6a 100644 --- a/code/modules/heavy_vehicle/mecha.dm +++ b/code/modules/heavy_vehicle/mecha.dm @@ -106,25 +106,25 @@ /mob/living/heavy_vehicle/examine(var/mob/user) if(!user || !user.client) return - to_chat(user, "That's \a [src].") + to_chat(user, "That's \a [src].") to_chat(user, desc) if(LAZYLEN(pilots) && (!hatch_closed || body.pilot_coverage < 100 || body.transparent_cabin)) if(length(pilots) == 0) - to_chat(user, "It has no pilot.") + to_chat(user, "It has no pilot.") else for(var/pilot in pilots) if(istype(pilot, /mob)) var/mob/M = pilot - to_chat(user, "It is being piloted by [M.name].") + to_chat(user, "It is being piloted by [M.name].") else - to_chat(user, "It is being piloted by [pilot].") + to_chat(user, "It is being piloted by [pilot].") if(hardpoints.len) - to_chat(user, "It has the following hardpoints:") + to_chat(user, "It has the following hardpoints:") for(var/hardpoint in hardpoints) var/obj/item/I = hardpoints[hardpoint] - to_chat(user, "- [hardpoint]: [istype(I) ? "[I]" : "nothing"].") + to_chat(user, "- [hardpoint]: [istype(I) ? "[I]" : "nothing"].") else - to_chat(user, "It has no visible hardpoints.") + to_chat(user, "It has no visible hardpoints.") for(var/obj/item/mech_component/thing in list(arms, legs, head, body)) if(!thing) @@ -134,12 +134,12 @@ if(1) damage_string = "undamaged" if(2) - damage_string = "damaged" + damage_string = "damaged" if(3) - damage_string = "badly damaged" + damage_string = "badly damaged" if(4) - damage_string = "almost destroyed" - to_chat(user, "Its [thing.name] [thing.gender == PLURAL ? "are" : "is"] [damage_string].") + damage_string = "almost destroyed" + to_chat(user, "Its [thing.name] [thing.gender == PLURAL ? "are" : "is"] [damage_string].") /mob/living/heavy_vehicle/Topic(href,href_list[]) if (href_list["examine"]) diff --git a/html/changelogs/mattatlas-mechxamine.yml b/html/changelogs/mattatlas-mechxamine.yml new file mode 100644 index 00000000000..22f373c5f27 --- /dev/null +++ b/html/changelogs/mattatlas-mechxamine.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: MattAtlas + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - tweak: "Mech examine now actually has colour and bolding."