mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Removes Bluespace Tile Speed, Replaces It With Anti-Slowdown (#22271)
* the start * gear slowdown time * nicer check * trait time! * dimach + henri review * contra review * sean review
This commit is contained in:
@@ -290,20 +290,22 @@
|
||||
|
||||
ADD_SLOWDOWN(speed_mod)
|
||||
|
||||
if(H.wear_suit)
|
||||
ADD_SLOWDOWN(H.wear_suit.slowdown)
|
||||
if(H.head)
|
||||
ADD_SLOWDOWN(H.head.slowdown)
|
||||
if(H.gloves)
|
||||
ADD_SLOWDOWN(H.gloves.slowdown)
|
||||
if(!H.buckled && H.shoes)
|
||||
ADD_SLOWDOWN(H.shoes.slowdown)
|
||||
if(H.back)
|
||||
ADD_SLOWDOWN(H.back.slowdown)
|
||||
if(H.l_hand && (H.l_hand.flags & HANDSLOW))
|
||||
ADD_SLOWDOWN(H.l_hand.slowdown)
|
||||
if(H.r_hand && (H.r_hand.flags & HANDSLOW))
|
||||
ADD_SLOWDOWN(H.r_hand.slowdown)
|
||||
var/turf/simulated/floor/T = get_turf(H)
|
||||
if(istype(T) && !HAS_TRAIT(T, TRAIT_BLUESPACE_SPEED))
|
||||
if(H.wear_suit)
|
||||
ADD_SLOWDOWN(H.wear_suit.slowdown)
|
||||
if(H.head)
|
||||
ADD_SLOWDOWN(H.head.slowdown)
|
||||
if(H.gloves)
|
||||
ADD_SLOWDOWN(H.gloves.slowdown)
|
||||
if(!H.buckled && H.shoes)
|
||||
ADD_SLOWDOWN(H.shoes.slowdown)
|
||||
if(H.back)
|
||||
ADD_SLOWDOWN(H.back.slowdown)
|
||||
if(H.l_hand && (H.l_hand.flags & HANDSLOW))
|
||||
ADD_SLOWDOWN(H.l_hand.slowdown)
|
||||
if(H.r_hand && (H.r_hand.flags & HANDSLOW))
|
||||
ADD_SLOWDOWN(H.r_hand.slowdown)
|
||||
|
||||
if(ignoreslow)
|
||||
return . // Only malusses after here
|
||||
|
||||
@@ -574,7 +574,7 @@
|
||||
/obj/item/stack/tile/bluespace
|
||||
name = "bluespace floor tile"
|
||||
singular_name = "floor tile"
|
||||
desc = "Through a series of micro-teleports, these tiles let people move at incredible speeds."
|
||||
desc = "Through a series of micro-teleports, these tiles allow you to move things that would otherwise slow you down."
|
||||
icon_state = "tile-bluespace"
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
force = 6
|
||||
@@ -588,11 +588,14 @@
|
||||
|
||||
|
||||
/turf/simulated/floor/bluespace
|
||||
slowdown = -1
|
||||
icon_state = "bluespace"
|
||||
desc = "Through a series of micro-teleports, these tiles let people move at incredible speeds."
|
||||
desc = "Through a series of micro-teleports, these tiles allow you to move things that would otherwise slow you down."
|
||||
floor_tile = /obj/item/stack/tile/bluespace
|
||||
|
||||
/turf/simulated/floor/bluespace/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_BLUESPACE_SPEED, FLOOR_EFFECT_TRAIT)
|
||||
|
||||
|
||||
/obj/item/stack/tile/sepia
|
||||
name = "sepia floor tile"
|
||||
|
||||
Reference in New Issue
Block a user