[MIRROR] Ports tgstation/tgstation/pull/15673 (#9270)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-10-20 14:08:28 -07:00
committed by GitHub
parent a2efb04e10
commit 45025bd128
80 changed files with 585 additions and 406 deletions

View File

@@ -12,7 +12,7 @@
throwforce = 10.0
throw_speed = 1
throw_range = 4
action_button_name = "Toggle Heatsink"
actions_types = list(/datum/action/item_action/toggle_heatsink)
matter = list(MAT_STEEL = 15000, MAT_GLASS = 3500)
origin_tech = list(TECH_MAGNET = 2, TECH_MATERIAL = 2)
@@ -28,8 +28,8 @@
//TODO: make it heat up the surroundings when not in space
/obj/item/suit_cooling_unit/ui_action_click()
toggle(usr)
/obj/item/suit_cooling_unit/ui_action_click(mob/user, actiontype)
toggle(user)
/obj/item/suit_cooling_unit/Initialize()
. = ..()