NAV_HORIZON_DOCK_ALL

This commit is contained in:
DreamySkrell
2023-10-28 21:09:48 +02:00
parent 4564bfd29f
commit aa01eec1fc
3 changed files with 26 additions and 38 deletions
+13 -3
View File
@@ -14,9 +14,16 @@ var/global/area/overmap/map_overmap // Global object used to locate the overmap
var/obfuscated_desc = "This object is not displaying its IFF signature."
var/obfuscated = FALSE //Whether we hide our name and class or not.
var/list/initial_generic_waypoints //store landmark_tag of landmarks that should be added to the actual lists below on init.
var/list/initial_restricted_waypoints //For use with non-automatic landmarks (automatic ones add themselves).
var/list/tracked_dock_tags //landmark_tag of landmarks of docks that will be tracked in the docks computer program
/// Landmark tags of landmarks that should be added to the actual lists below on init.
/// Generic, meaning usable by any shuttle.
/// Can contain nested lists, as it is flattened on init.
var/list/initial_generic_waypoints
/// Restricted, meaning that only specific shuttles can use them.
/// Should be an assoc list like `list("Shuttle" = list("nav_landmark_tag"), ...)`
var/list/initial_restricted_waypoints
/// Landmark tags of landmarks of docks that will be tracked in the docks computer program.
/// Can contain nested lists, as it is flattened on init.
var/list/tracked_dock_tags
var/list/generic_waypoints = list() //waypoints that any shuttle can use
var/list/restricted_waypoints = list() //waypoints for specific shuttles
@@ -66,6 +73,9 @@ var/global/area/overmap/map_overmap // Global object used to locate the overmap
if(!current_map.overmap_z)
build_overmap()
initial_generic_waypoints = flatten_list(initial_generic_waypoints)
tracked_dock_tags = flatten_list(tracked_dock_tags)
var/map_low = OVERMAP_EDGE
var/map_high = current_map.overmap_size - OVERMAP_EDGE
var/turf/home
+4 -30
View File
@@ -28,29 +28,8 @@
initial_generic_waypoints = list(
"nav_horizon_hangar_1",
"nav_horizon_hangar_2",
"nav_horizon_dock_deck_3_starboard_1",
"nav_horizon_dock_deck_3_starboard_2",
"nav_horizon_dock_deck_3_starboard_3",
"nav_horizon_dock_deck_3_port_2",
"nav_horizon_dock_deck_3_port_4",
"nav_horizon_dock_deck_3_port_5",
"nav_horizon_exterior_deck_1_fore",
"nav_horizon_exterior_deck_1_starboard",
"nav_horizon_exterior_deck_1_port",
"nav_horizon_exterior_deck_1_aft",
"nav_horizon_exterior_deck_1_starboard_propulsion",
"nav_horizon_exterior_deck_1_port_propulsion",
"nav_horizon_exterior_deck_2_fore",
"nav_horizon_exterior_deck_2_starboard_fore",
"nav_horizon_exterior_deck_2_port_fore",
"nav_horizon_exterior_deck_2_aft",
"nav_horizon_exterior_deck_2_port_aft",
"nav_horizon_exterior_deck_2_starboard_aft",
"nav_horizon_exterior_deck_3_fore",
"nav_horizon_exterior_deck_3_starboard_fore",
"nav_horizon_exterior_deck_3_port_fore",
"nav_horizon_exterior_deck_3_aft",
"nav_horizon_exterior_deck_3_port_aft"
NAV_HORIZON_DOCK_ALL,
NAV_HORIZON_EXTERIOR_ALL_DECKS,
)
tracked_dock_tags = list(
@@ -64,13 +43,8 @@
"nav_distress_blue",
"nav_merchant_dock",
"nav_ccia_dock",
"nav_horizon_dock_deck_3_starboard_1",
"nav_horizon_dock_deck_3_starboard_2",
"nav_horizon_dock_deck_3_starboard_3",
"nav_horizon_dock_deck_3_port_2",
"nav_horizon_dock_deck_3_port_4",
"nav_horizon_dock_deck_3_port_5",
"nav_ert_dock"
"nav_ert_dock",
NAV_HORIZON_DOCK_ALL,
)
/obj/effect/overmap/visitable/ship/sccv_horizon/get_skybox_representation()
@@ -1,9 +1,4 @@
//
// This file is intended for "generic" shuttle landmarks.
// Generic, meaning visible to and selectable by any shuttle.
//
// ================================ hangars
/obj/effect/shuttle_landmark/horizon/hangar1
@@ -20,6 +15,15 @@
// ================================ exterior docks
#define NAV_HORIZON_DOCK_ALL list(\
"nav_horizon_dock_deck_3_starboard_1",\
"nav_horizon_dock_deck_3_starboard_2",\
"nav_horizon_dock_deck_3_starboard_3",\
"nav_horizon_dock_deck_3_port_2",\
"nav_horizon_dock_deck_3_port_4",\
"nav_horizon_dock_deck_3_port_5",\
)
/obj/effect/shuttle_landmark/horizon/dock/deck_3/starboard_1
name = "Third Deck Starboard Dock 1"
landmark_tag = "nav_horizon_dock_deck_3_starboard_1"