making it better? (#27828)

This commit is contained in:
kyunkyunkyun
2025-01-26 00:37:21 +05:00
committed by GitHub
parent 754a868650
commit 4e06e69faa
4 changed files with 35 additions and 15 deletions

View File

@@ -115,19 +115,22 @@
toolspeed = 2
defib_cooldown = 2.5 SECONDS
///Crew Monitor - Deploys or retracts a built-in handheld crew monitor
/obj/item/mod/module/monitor
name = "MOD crew monitor module"
desc = "A module installed into the wrist of the suit, this presents a display of crew sensor data."
icon_state = "scanner"
module_type = MODULE_ACTIVE
module_type = MODULE_USABLE
complexity = 1
active_power_cost = DEFAULT_CHARGE_DRAIN * 0.3
device = /obj/item/sensor_device/mod
use_power_cost = DEFAULT_CHARGE_DRAIN * 0.3
incompatible_modules = list(/obj/item/mod/module/monitor)
cooldown_time = 0.5 SECONDS
allow_flags = MODULE_ALLOW_INACTIVE
var/datum/ui_module/crew_monitor/mod/crew_monitor
/obj/item/sensor_device/mod
name = "MOD crew monitor"
desc = "A miniature machine built into a modsuit that tracks suit sensors across the station."
flags = NODROP
/obj/item/mod/module/monitor/Initialize(mapload)
. = ..()
crew_monitor = new(src)
/obj/item/mod/module/monitor/on_use()
crew_monitor.ui_interact(mod.wearer)

View File

@@ -7,12 +7,20 @@
down to the exact coordinates. This information is fed to a central database viewable from the device itself, \
though using it to help people is up to you."
icon_state = "gps"
module_type = MODULE_ACTIVE
module_type = MODULE_USABLE
complexity = 1
use_power_cost = DEFAULT_CHARGE_DRAIN * 0.2
incompatible_modules = list(/obj/item/mod/module/gps)
cooldown_time = 0.5 SECONDS
device = /obj/item/gps/mod
allow_flags = MODULE_ALLOW_INACTIVE
var/obj/item/gps/mod/gps
/obj/item/mod/module/gps/Initialize(mapload)
. = ..()
gps = new(src)
/obj/item/mod/module/gps/on_use()
gps.attack_self__legacy__attackchain(mod.wearer)
///Hydraulic Clamp - Lets you pick up and drop crates.
/obj/item/mod/module/clamp