Ported Basic Overmap Functionality

- Ports the overmap, ships, sectors, and "landable" ships from baystation.
- Ports necessary computers to control ships and overmap shuttles.
- Shims missing machine and computer functionality pending future enhancements.
- Includes required new sprites and sounds.
This commit is contained in:
Leshana
2020-03-10 22:20:17 -04:00
parent 86c435f4b7
commit 9cbdf184ff
39 changed files with 2064 additions and 555 deletions

View File

@@ -50,9 +50,11 @@
//This is called later in the init order by SSshuttles to populate sector objects. Importantly for subtypes, shuttles will be created by then.
/obj/effect/overmap/visitable/proc/populate_sector_objects()
// TODO - Leshana - Implement
///obj/effect/overmap/visitable/proc/get_areas()
// return get_filtered_areas(list(/proc/area_belongs_to_zlevels = map_z))
/obj/effect/overmap/visitable/proc/get_areas()
. = list()
for(var/area/A)
if (A.z in map_z)
. += A
/obj/effect/overmap/visitable/proc/find_z_levels()
map_z = GetConnectedZlevels(z)
@@ -117,7 +119,7 @@
return 1
testing("Building overmap...")
world.maxz++
world.increment_max_z()
global.using_map.overmap_z = world.maxz
testing("Putting overmap on [global.using_map.overmap_z]")