mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 16:08:32 +01:00
@@ -139,7 +139,10 @@ Slimecrossing Armor
|
||||
/obj/item/clothing/suit/armor/heavy/adamantine/equipped(mob/living/carbon/human/user, slot) //Gives you a trait to prevent increasing speed.
|
||||
. = ..()
|
||||
if(slot == SLOT_WEAR_SUIT)
|
||||
ADD_TRAIT(user, TRAIT_IMMUTABLE_SLOW, "immutableslow_[REF(src)]")
|
||||
ADD_TRAIT(user, TRAIT_IMMUTABLE_SLOW, "immutableslow_[REF(src)]") //Adds trait to prevent increases in movespeed
|
||||
user.unignore_slowdown("slimestatus") //Deletes the stable red trait on equip to prevent bypassing it
|
||||
if(!(slot == SLOT_WEAR_SUIT))
|
||||
REMOVE_TRAIT(user, TRAIT_IMMUTABLE_SLOW, "immutableslow_[REF(src)]")
|
||||
|
||||
/obj/structure/light_prism/spectral
|
||||
name = "spectral light prism"
|
||||
@@ -155,4 +158,4 @@ Slimecrossing Armor
|
||||
. = ..()
|
||||
color = newcolor
|
||||
light_color = newcolor
|
||||
set_light(5)
|
||||
set_light(5)
|
||||
|
||||
@@ -772,7 +772,8 @@ datum/status_effect/stabilized/blue/on_remove()
|
||||
if(HAS_TRAIT(owner, TRAIT_IMMUTABLE_SLOW))
|
||||
return ..()
|
||||
else
|
||||
owner.ignore_slowdown("slimestatus")
|
||||
owner.ignore_slowdown("slimestatus")
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/stabilized/red/on_remove()
|
||||
owner.unignore_slowdown("slimestatus")
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 137 KiB |
Reference in New Issue
Block a user