mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
New space tiles + fixes the ship getting eaten by cthulhu in transit
This commit is contained in:
@@ -59,12 +59,8 @@ proc/toggle_move_stars(zlevel, direction)
|
||||
return
|
||||
|
||||
var/gen_dir = null
|
||||
if(direction & (NORTH|SOUTH))
|
||||
gen_dir += "ns"
|
||||
else if(direction & (EAST|WEST))
|
||||
gen_dir += "ew"
|
||||
if(!direction)
|
||||
gen_dir = null
|
||||
if(direction)
|
||||
gen_dir = dir2text(direction)
|
||||
|
||||
if (moving_levels["[zlevel]"] != gen_dir)
|
||||
moving_levels["[zlevel]"] = gen_dir
|
||||
@@ -74,7 +70,7 @@ proc/toggle_move_stars(zlevel, direction)
|
||||
if(!gen_dir)
|
||||
T.icon_state = "white"
|
||||
else
|
||||
T.icon_state = "speedspace_[gen_dir]_[rand(1,15)]"
|
||||
T.icon_state = "transit_[gen_dir]"
|
||||
for(var/atom/movable/AM in T)
|
||||
if (AM.simulated && !AM.anchored)
|
||||
AM.throw_at(get_step(T,reverse_direction(direction)), 5, 1)
|
||||
|
||||
Reference in New Issue
Block a user