From 45858df458369fabf8c9b9588faadce057791342 Mon Sep 17 00:00:00 2001 From: Fox McCloud Date: Thu, 17 May 2018 17:20:28 -0400 Subject: [PATCH] Ports Gloves of the North Star --- code/datums/uplink_item.dm | 7 +++++++ code/modules/clothing/gloves/miscellaneous.dm | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index 9a5bf86665c..438102acb64 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -1336,6 +1336,13 @@ var/list/uplink_items = list() item = /obj/item/storage/fancy/cigarettes/cigpack_syndicate cost = 2 +/datum/uplink_item/badass/rapid + name = "Gloves of the North Star" + desc = "These gloves let the user punch people very fast. Does not improve weapon attack speed or the meaty fists of a hulk." + reference = "RPGD" + item = /obj/item/clothing/gloves/fingerless/rapid + cost = 8 + /datum/uplink_item/badass/bundle name = "Syndicate Bundle" desc = "Syndicate Bundles are specialised groups of items that arrive in a plain box. These items are collectively worth more than 20 telecrystals, but you do not know which specialisation you will receive." diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm index 32f86cc6e57..dc1504b80b6 100644 --- a/code/modules/clothing/gloves/miscellaneous.dm +++ b/code/modules/clothing/gloves/miscellaneous.dm @@ -132,3 +132,14 @@ cell.forceMove(get_turf(loc)) cell = null update_icon() + +/obj/item/clothing/gloves/fingerless/rapid + name = "Gloves of the north star" + desc = "Just looking at these fills you with an urge to beat the shit out of people." + +/obj/item/clothing/gloves/fingerless/rapid/Touch(mob/living/target, proximity = TRUE) + var/mob/living/M = loc + + if(M.a_intent == INTENT_HARM) + M.changeNext_move(CLICK_CD_RAPID) + .= FALSE \ No newline at end of file