mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 12:29:23 +01:00
The Great Station Site Refactor (#21172)
**Requesting Test Merge** Refactors multiple stationary away sites (like sensor array) to ship/stationary to allow for their systems to properly function Current maps refactored - Sensor Array - Hedgemony Waypoint - People's Station - IHSS Reclamation --------- Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
|
||||
/obj/effect/overmap/proc/get_scan_data(mob/user)
|
||||
if(static_vessel == TRUE)
|
||||
if(instant_contact)
|
||||
. += "<br>It is broadcasting a distress signal."
|
||||
. += "<hr>"
|
||||
. += "<br><center><large><b>Scan Details</b></large>"
|
||||
. += "<br><large><b>[name]</b></large></center>"
|
||||
@@ -56,7 +58,8 @@
|
||||
. += "<hr>"
|
||||
. += "<br><center><b>Native Database Notes</b></center>"
|
||||
. += "<br><small>[desc]</small>"
|
||||
if(landing_site == TRUE)
|
||||
return
|
||||
else if(landing_site == TRUE)
|
||||
. += "<hr>"
|
||||
. += "<br><center><large><b>Designated Landing Zone Details</b></large>"
|
||||
. += "<br><large><b>[name]</b></large></center>"
|
||||
|
||||
@@ -74,6 +74,16 @@
|
||||
if(LAZYLEN(colors))
|
||||
color = pick(colors)
|
||||
|
||||
/// Parent object for stationary objects that still need to access ship systems (such as the Sensor Relays)
|
||||
/obj/effect/overmap/visitable/ship/stationary
|
||||
name = "generic station"
|
||||
desc = "A generic space station, see if you can find the other twelve."
|
||||
obfuscated_name = "unidentified stationary object"
|
||||
unknown_id = "Unknown artificial structure"
|
||||
static_vessel = TRUE
|
||||
propulsion = "None equipped, flight incapable"
|
||||
halted = TRUE // Cannot fly under any circumstances
|
||||
|
||||
/obj/effect/overmap/visitable/ship/find_z_levels(var/fore_direction)
|
||||
. = ..(fore_dir)
|
||||
|
||||
@@ -98,6 +108,8 @@
|
||||
|
||||
/obj/effect/overmap/visitable/ship/get_scan_data(mob/user)
|
||||
. = ..()
|
||||
if (static_vessel) // full data already acquired from parent proc
|
||||
return
|
||||
if(!is_still())
|
||||
. += "<br>Heading: [dir2angle(get_heading())], speed [get_speed() * 1000]"
|
||||
if(instant_contact)
|
||||
|
||||
Reference in New Issue
Block a user