mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Slipping Refactor and Floors
This commit is contained in:
@@ -925,6 +925,50 @@ mob/living/carbon/slime/var/temperature_resistance = T0C+75
|
||||
if(!uses)
|
||||
qdel(src)
|
||||
|
||||
/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"
|
||||
icon_state = "tile-bluespace"
|
||||
w_class = 3
|
||||
force = 6
|
||||
materials = list(MAT_METAL=500)
|
||||
throwforce = 10
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
flags = CONDUCT
|
||||
max_amount = 60
|
||||
turf_type = /turf/simulated/floor/bluespace
|
||||
|
||||
|
||||
/turf/simulated/floor/bluespace
|
||||
slowdown = -1
|
||||
icon_state = "bluespace"
|
||||
desc = "Through a series of micro-teleports these tiles let people move at incredible speeds"
|
||||
floor_tile = /obj/item/stack/tile/bluespace
|
||||
|
||||
|
||||
/obj/item/stack/tile/sepia
|
||||
name = "sepia floor tile"
|
||||
singular_name = "floor tile"
|
||||
desc = "Time seems to flow very slowly around these tiles"
|
||||
icon_state = "tile-sepia"
|
||||
w_class = 3
|
||||
force = 6
|
||||
materials = list(MAT_METAL=500)
|
||||
throwforce = 10
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
flags = CONDUCT
|
||||
max_amount = 60
|
||||
turf_type = /turf/simulated/floor/sepia
|
||||
|
||||
|
||||
/turf/simulated/floor/sepia
|
||||
slowdown = 2
|
||||
icon_state = "sepia"
|
||||
desc = "Time seems to flow very slowly around these tiles"
|
||||
floor_tile = /obj/item/stack/tile/sepia
|
||||
|
||||
/obj/effect/goleRUNe
|
||||
anchored = 1
|
||||
|
||||
@@ -236,7 +236,9 @@
|
||||
src << "\blue You're pinned to a wall by [mob.pinned[1]]!"
|
||||
return 0
|
||||
|
||||
var/turf/T = mob.loc
|
||||
move_delay = world.time//set move delay
|
||||
move_delay += T.slowdown
|
||||
mob.last_movement = world.time
|
||||
mob.last_move_intent = world.time + 10
|
||||
switch(mob.m_intent)
|
||||
@@ -265,7 +267,6 @@
|
||||
var/mob/M = L[1]
|
||||
if(M)
|
||||
if ((get_dist(mob, M) <= 1 || M.loc == mob.loc))
|
||||
var/turf/T = mob.loc
|
||||
. = ..()
|
||||
if (isturf(M.loc))
|
||||
var/diag = get_dir(mob, M)
|
||||
|
||||
Reference in New Issue
Block a user