New space tiles + fixes the ship getting eaten by cthulhu in transit

This commit is contained in:
Matt Atlas
2022-01-30 19:01:36 +01:00
parent c20c322fdd
commit f6d9a2142c
6 changed files with 3 additions and 7 deletions
+3 -7
View File
@@ -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)