mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Gloves of the North Star now allow Martial Arts (#21545)
* gotns * uplink desc changes * gdn review + M to L
This commit is contained in:
@@ -179,7 +179,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
|
||||
/datum/uplink_item/dangerous/rapid
|
||||
name = "Gloves of the North Star"
|
||||
desc = "These gloves let the user punch people very fast. Does not improve weapon attack speed."
|
||||
desc = "These gloves let the user help, shove, grab, and punch people very fast. Does not improve weapon attack speed. Can be combined with martial arts for a deadly weapon."
|
||||
reference = "RPGD"
|
||||
item = /obj/item/clothing/gloves/fingerless/rapid
|
||||
cost = 8
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
name = "CQC Manual"
|
||||
desc = "A manual that teaches a single user tactical Close-Quarters Combat before self-destructing. \
|
||||
Changes your unarmed damage to deal non-lethal stamina damage. \
|
||||
Does not restrict weapon usage, but cannot be used alongside Gloves of the North Star."
|
||||
Does not restrict weapon usage, and can be used alongside Gloves of the North Star."
|
||||
reference = "CQC"
|
||||
item = /obj/item/CQC_manual
|
||||
cost = 10
|
||||
|
||||
@@ -175,21 +175,28 @@
|
||||
/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."
|
||||
var/accepted_intents = list(INTENT_HARM)
|
||||
var/accepted_intents = list(INTENT_HELP, INTENT_DISARM, INTENT_GRAB, INTENT_HARM)
|
||||
var/click_speed_modifier = CLICK_CD_RAPID
|
||||
|
||||
/obj/item/clothing/gloves/fingerless/rapid/Touch(mob/living/target, proximity = TRUE)
|
||||
var/mob/living/M = loc
|
||||
var/mob/living/L = loc
|
||||
if(HAS_TRAIT(L, TRAIT_HULK))
|
||||
return FALSE
|
||||
|
||||
if((M.a_intent in accepted_intents) && !M.mind.martial_art?.can_use(M) && !HAS_TRAIT(M, TRAIT_HULK))
|
||||
M.changeNext_move(click_speed_modifier)
|
||||
// We don't use defines here so admingloves can work
|
||||
if(L.mind.martial_art?.can_use(L))
|
||||
click_speed_modifier = initial(click_speed_modifier) * 2 // 4
|
||||
else
|
||||
click_speed_modifier = initial(click_speed_modifier) // 2
|
||||
|
||||
if((L.a_intent in accepted_intents))
|
||||
L.changeNext_move(click_speed_modifier)
|
||||
|
||||
return FALSE
|
||||
|
||||
/obj/item/clothing/gloves/fingerless/rapid/admin
|
||||
name = "advanced interactive gloves"
|
||||
desc = "The gloves are covered in indecipherable buttons and dials, your mind warps by merely looking at them."
|
||||
accepted_intents = list(INTENT_HELP, INTENT_DISARM, INTENT_GRAB, INTENT_HARM)
|
||||
click_speed_modifier = 0
|
||||
siemens_coefficient = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user