Conflicts sure are !!FUN!!
Also adds dolphin gloves to the glove crate, and fixes fortitude
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
bloodsucker_can_buy = TRUE
|
bloodsucker_can_buy = TRUE
|
||||||
amToggle = TRUE
|
amToggle = TRUE
|
||||||
warn_constant_cost = TRUE
|
warn_constant_cost = TRUE
|
||||||
|
var/was_running
|
||||||
|
|
||||||
var/fortitude_resist // So we can raise and lower your brute resist based on what your level_current WAS.
|
var/fortitude_resist // So we can raise and lower your brute resist based on what your level_current WAS.
|
||||||
|
|
||||||
@@ -27,10 +28,11 @@
|
|||||||
fortitude_resist = max(0.3, 0.7 - level_current * 0.1)
|
fortitude_resist = max(0.3, 0.7 - level_current * 0.1)
|
||||||
H.physiology.brute_mod *= fortitude_resist
|
H.physiology.brute_mod *= fortitude_resist
|
||||||
H.physiology.burn_mod *= fortitude_resist
|
H.physiology.burn_mod *= fortitude_resist
|
||||||
var/was_running = (user.m_intent == MOVE_INTENT_RUN)
|
was_running = (user.m_intent == MOVE_INTENT_RUN)
|
||||||
if(was_running)
|
if(was_running)
|
||||||
user.toggle_move_intent()
|
user.toggle_move_intent()
|
||||||
while(bloodsuckerdatum && ContinueActive(user) || user.m_intent == MOVE_INTENT_RUN)
|
was_running = TRUE
|
||||||
|
while(B && ContinueActive(user) || user.m_intent == MOVE_INTENT_RUN)
|
||||||
if(istype(user.buckled, /obj/vehicle)) //We dont want people using fortitude being able to use vehicles
|
if(istype(user.buckled, /obj/vehicle)) //We dont want people using fortitude being able to use vehicles
|
||||||
var/obj/vehicle/V = user.buckled
|
var/obj/vehicle/V = user.buckled
|
||||||
var/datum/component/riding/VRD = V.GetComponent(/datum/component/riding)
|
var/datum/component/riding/VRD = V.GetComponent(/datum/component/riding)
|
||||||
@@ -57,3 +59,6 @@
|
|||||||
var/mob/living/carbon/human/H = owner
|
var/mob/living/carbon/human/H = owner
|
||||||
H.physiology.brute_mod /= fortitude_resist
|
H.physiology.brute_mod /= fortitude_resist
|
||||||
H.physiology.burn_mod /= fortitude_resist
|
H.physiology.burn_mod /= fortitude_resist
|
||||||
|
if(was_running && user.m_intent == MOVE_INTENT_WALK)
|
||||||
|
user.toggle_move_intent()
|
||||||
|
|
||||||
|
|||||||
@@ -309,7 +309,7 @@
|
|||||||
/datum/export/gear/combatgloves
|
/datum/export/gear/combatgloves
|
||||||
cost = 80
|
cost = 80
|
||||||
unit_name = "combat gloves"
|
unit_name = "combat gloves"
|
||||||
export_types = list(/obj/item/clothing/gloves/combat, /obj/item/clothing/gloves/fingerless/pugilist/rapid, /obj/item/clothing/gloves/krav_maga)
|
export_types = list(/obj/item/clothing/gloves/tackler/combat, /obj/item/clothing/gloves/tackler/dolphin, /obj/item/clothing/gloves/fingerless/pugilist/rapid, /obj/item/clothing/gloves/krav_maga)
|
||||||
include_subtypes = TRUE
|
include_subtypes = TRUE
|
||||||
|
|
||||||
/datum/export/gear/bonegloves
|
/datum/export/gear/bonegloves
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user