From d84b33335ad77a1f98bef6d5f8a8c58cd802a1d1 Mon Sep 17 00:00:00 2001 From: Teagarden <124026007+Vincent983@users.noreply.github.com> Date: Fri, 15 Sep 2023 10:59:20 -0700 Subject: [PATCH] Express supply console grammar and QOL (#78283) ## About The Pull Request Fixes a mistake and adds some QOL to it. ## Why It's Good For The Game It's nice for things to be convienent ## Changelog :cl: qol: The supply beacon will no longer delete itself due to explosions, and you can now anchor it with a wrench. spellcheck: Express console now correctly states that it needs cargo access instead of QM access. /:cl: --- code/modules/cargo/supplypod_beacon.dm | 12 ++++++++++++ tgui/packages/tgui/interfaces/CargoExpress.tsx | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/code/modules/cargo/supplypod_beacon.dm b/code/modules/cargo/supplypod_beacon.dm index 436a0ca6b93..89c474635fa 100644 --- a/code/modules/cargo/supplypod_beacon.dm +++ b/code/modules/cargo/supplypod_beacon.dm @@ -7,11 +7,17 @@ lefthand_file = 'icons/mob/inhands/items/devices_lefthand.dmi' righthand_file = 'icons/mob/inhands/items/devices_righthand.dmi' w_class = WEIGHT_CLASS_SMALL + armor_type = /datum/armor/supplypod_beacon + resistance_flags = FIRE_PROOF var/obj/machinery/computer/cargo/express/express_console var/linked = FALSE var/ready = FALSE var/launched = FALSE +/datum/armor/supplypod_beacon + bomb = 100 + fire = 100 + /obj/item/supplypod_beacon/proc/update_status(consoleStatus) switch(consoleStatus) if (SP_LINKED) @@ -49,6 +55,7 @@ /obj/item/supplypod_beacon/examine(user) . = ..() + . += span_notice("It looks like it has a few anchoring bolts.") if(!express_console) . += span_notice("[src] is not currently linked to an Express Supply console.") else @@ -59,6 +66,11 @@ express_console.beacon = null return ..() +/obj/item/supplypod_beacon/wrench_act(mob/living/user, obj/item/tool) + . = ..() + default_unfasten_wrench(user, tool) + return TOOL_ACT_TOOLTYPE_SUCCESS + /obj/item/supplypod_beacon/proc/unlink_console() if(express_console) express_console.beacon = null diff --git a/tgui/packages/tgui/interfaces/CargoExpress.tsx b/tgui/packages/tgui/interfaces/CargoExpress.tsx index 904cf38e6f1..a4fb35edebc 100644 --- a/tgui/packages/tgui/interfaces/CargoExpress.tsx +++ b/tgui/packages/tgui/interfaces/CargoExpress.tsx @@ -24,7 +24,7 @@ export const CargoExpress = (props, context) => { return ( - + {!locked && }