docking_port ![code/modules/shuttle/shuttle.dm 2](git.png)
Vars | |
delete_after | Delete this port after ship fly off. |
---|---|
dheight | position relative to covered area, parallel to dir. You shouldn't modify this for mobile dockingports, set automatically. |
dir | Common standard is for this to point -away- from the dockingport door, ie towards the ship |
dwidth | position relative to covered area, perpendicular to dir. You shouldn't modify this for mobile dockingports, set automatically. |
height | size of covered area, parallel to dir. You shouldn't modify this for mobile dockingports, set automatically. |
hidden | are we invisible to shuttle navigation computers? |
port_destinations | Possible destinations |
registered | are we registered in SSshuttles? |
shuttle_id | The identifier of the port or ship. This will be used in numerous other places like the console, stationary ports and whatnot to tell them your ship's mobile port can be used in these places, or the docking port is compatible, etc. |
width | size of covered area, perpendicular to dir. You shouldn't modify this for mobile dockingports, set automatically. |
Procs | |
register | register to SSshuttles |
return_coords | returns a list(x0,y0, x1,y1) where points 0 and 1 are bounding corners of the projected rectangle |
return_ordered_turfs | returns turfs within our projected rectangle in a specific order.this ensures that turfs are copied over in the same order, regardless of any rotation |
return_turfs | returns turfs within our projected rectangle in no particular order |
unregister | unregister from SSshuttles |
Var Details
delete_after ![code/modules/shuttle/shuttle.dm 32](git.png)
Delete this port after ship fly off.
dheight ![code/modules/shuttle/shuttle.dm 25](git.png)
position relative to covered area, parallel to dir. You shouldn't modify this for mobile dockingports, set automatically.
dir ![code/modules/shuttle/shuttle.dm 10](git.png)
Common standard is for this to point -away- from the dockingport door, ie towards the ship
dwidth ![code/modules/shuttle/shuttle.dm 23](git.png)
position relative to covered area, perpendicular to dir. You shouldn't modify this for mobile dockingports, set automatically.
height ![code/modules/shuttle/shuttle.dm 21](git.png)
size of covered area, parallel to dir. You shouldn't modify this for mobile dockingports, set automatically.
hidden ![code/modules/shuttle/shuttle.dm 29](git.png)
are we invisible to shuttle navigation computers?
port_destinations ![code/modules/shuttle/shuttle.dm 17](git.png)
Possible destinations
registered ![code/modules/shuttle/shuttle.dm 35](git.png)
are we registered in SSshuttles?
shuttle_id ![code/modules/shuttle/shuttle.dm 15](git.png)
The identifier of the port or ship. This will be used in numerous other places like the console, stationary ports and whatnot to tell them your ship's mobile port can be used in these places, or the docking port is compatible, etc.
width ![code/modules/shuttle/shuttle.dm 19](git.png)
size of covered area, perpendicular to dir. You shouldn't modify this for mobile dockingports, set automatically.
Proc Details
register
register to SSshuttles
return_coords
returns a list(x0,y0, x1,y1) where points 0 and 1 are bounding corners of the projected rectangle
return_ordered_turfs
returns turfs within our projected rectangle in a specific order.this ensures that turfs are copied over in the same order, regardless of any rotation
return_turfs
returns turfs within our projected rectangle in no particular order
unregister
unregister from SSshuttles