[MIRROR] Changes shuttle port direction var from an angle to a dir (#2613)
* Changes shuttle port direction var from an angle to a dir * actually ports the directions * Update shuttle.dm * how
This commit is contained in:
committed by
Poojawa
parent
f891eae65e
commit
82d0aae420
@@ -384,7 +384,7 @@ SUBSYSTEM_DEF(shuttle)
|
||||
var/travel_dir = M.preferred_direction
|
||||
// Remember, the direction is the direction we appear to be
|
||||
// coming from
|
||||
var/dock_angle = dir2angle(M.preferred_direction) + M.port_angle + 180
|
||||
var/dock_angle = dir2angle(M.preferred_direction) + dir2angle(M.port_direction) + 180
|
||||
var/dock_dir = angle2dir(dock_angle)
|
||||
|
||||
var/transit_width = SHUTTLE_TRANSIT_BORDER * 2
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
width = 7
|
||||
height = 15
|
||||
dir = WEST
|
||||
port_angle = 180
|
||||
port_direction = SOUTH
|
||||
|
||||
callTime = INFINITY
|
||||
ignitionTime = 50
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
width = 22
|
||||
height = 11
|
||||
dir = EAST
|
||||
port_angle = -90
|
||||
port_direction = WEST
|
||||
roundstart_move = "emergency_away"
|
||||
var/sound_played = 0 //If the launch sound has been sent to all players on the shuttle itself
|
||||
|
||||
|
||||
@@ -260,7 +260,7 @@
|
||||
// The direction the shuttle prefers to travel in
|
||||
var/preferred_direction = NORTH
|
||||
// And the angle from the front of the shuttle to the port
|
||||
var/port_angle = 0 // used to be travelDir
|
||||
var/port_direction = NORTH
|
||||
|
||||
var/obj/docking_port/stationary/destination
|
||||
var/obj/docking_port/stationary/previous
|
||||
|
||||
@@ -30,7 +30,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
|
||||
callTime = 600
|
||||
|
||||
dir = WEST
|
||||
port_angle = 90
|
||||
port_direction = EAST
|
||||
width = 12
|
||||
dwidth = 5
|
||||
height = 7
|
||||
|
||||
Reference in New Issue
Block a user