mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
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:
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user