mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Automatic conversion via Regex
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
landing_zone.dheight = dheight
|
||||
landing_zone.width = width
|
||||
landing_zone.height = height
|
||||
landing_zone.dir = lz_dir
|
||||
landing_zone.setDir(lz_dir)
|
||||
|
||||
for(var/obj/machinery/computer/shuttle/S in machines)
|
||||
if(S.shuttleId == shuttle_id)
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
dwidth = 9
|
||||
width = 22
|
||||
height = 11
|
||||
dir = 4
|
||||
setDir(4)
|
||||
travelDir = -90
|
||||
roundstart_move = "emergency_away"
|
||||
var/sound_played = 0 //If the launch sound has been sent to all players on the shuttle itself
|
||||
@@ -446,7 +446,7 @@
|
||||
dwidth = 2
|
||||
width = 8
|
||||
height = 8
|
||||
dir = 4
|
||||
setDir(4)
|
||||
|
||||
roundstart_move = "backup_away"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
anchored = 1
|
||||
|
||||
var/id
|
||||
dir = NORTH //this should point -away- from the dockingport door, ie towards the ship
|
||||
setDir(NORTH )//this should point -away- from the dockingport door, ie towards the ship
|
||||
var/width = 0 //size of covered area, perpendicular to dir
|
||||
var/height = 0 //size of covered area, paralell to dir
|
||||
var/dwidth = 0 //position relative to covered area, perpendicular to dir
|
||||
@@ -317,7 +317,7 @@
|
||||
//default shuttleRotate
|
||||
/atom/proc/shuttleRotate(rotation)
|
||||
//rotate our direction
|
||||
dir = angle2dir(rotation+dir2angle(dir))
|
||||
setDir(angle2dir(rotation)+dir2angle(dir))
|
||||
|
||||
//resmooth if need be.
|
||||
if(smooth)
|
||||
@@ -388,7 +388,7 @@
|
||||
|
||||
// //rotate transit docking ports, so we don't need zillions of variants
|
||||
// if(istype(S1, /obj/docking_port/stationary/transit))
|
||||
// S1.dir = turn(NORTH, -travelDir)
|
||||
// S1.setDir(turn(NORTH, -travelDir))
|
||||
|
||||
var/obj/docking_port/stationary/S0 = get_docked()
|
||||
var/turf_type = /turf/open/space
|
||||
@@ -455,7 +455,7 @@
|
||||
SSair.add_to_active(T0,1)
|
||||
|
||||
loc = S1.loc
|
||||
dir = S1.dir
|
||||
setDir(S1.dir)
|
||||
|
||||
/atom/movable/proc/onShuttleMove(turf/T1, rotation)
|
||||
if(rotation)
|
||||
@@ -681,5 +681,5 @@
|
||||
if(T.color != color)
|
||||
T.color = color
|
||||
if(T.dir != dir)
|
||||
T.dir = dir
|
||||
T.setDir(dir)
|
||||
return T
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
id = "supply"
|
||||
callTime = 600
|
||||
|
||||
dir = 8
|
||||
setDir(8)
|
||||
travelDir = 90
|
||||
width = 12
|
||||
dwidth = 5
|
||||
|
||||
Reference in New Issue
Block a user