mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
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 🆑 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. /🆑
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -24,7 +24,7 @@ export const CargoExpress = (props, context) => {
|
||||
return (
|
||||
<Window width={600} height={700}>
|
||||
<Window.Content scrollable>
|
||||
<InterfaceLockNoticeBox accessText="a QM-level ID card" />
|
||||
<InterfaceLockNoticeBox accessText="a Cargo Technician-level ID card" />
|
||||
{!locked && <CargoExpressContent />}
|
||||
</Window.Content>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user