mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 01:18:40 +01:00
Space movement is no longer faster, and now counts lattices / structures. (#9667)
Space movement is no longer always faster than normal movement, and now counts lattices / structures
This commit is contained in:
@@ -4,11 +4,9 @@
|
||||
if(species.slowdown)
|
||||
tally = species.slowdown
|
||||
|
||||
if (istype(loc, /turf/space)) return -1 // It's hard to be slowed down in space by... anything
|
||||
|
||||
if (isopenturf(loc)) //open space checks
|
||||
if (istype(loc, /turf/space) || isopenturf(loc))
|
||||
if(!(locate(/obj/structure/lattice, loc) || locate(/obj/structure/stairs, loc) || locate(/obj/structure/ladder, loc)))
|
||||
return -1
|
||||
return 0
|
||||
|
||||
if(embedded_flag)
|
||||
handle_embedded_objects() //Moving with objects stuck in you can cause bad times.
|
||||
|
||||
Reference in New Issue
Block a user