Skip to content

Commit

Permalink
Rascal's Pass Engine Satellite
Browse files Browse the repository at this point in the history
Holy fuck it's done
  • Loading branch information
Michab02 committed May 19, 2024
1 parent 765975e commit a79bfc5
Show file tree
Hide file tree
Showing 8 changed files with 22,867 additions and 623 deletions.
1 change: 1 addition & 0 deletions maps/groundbase/groundbase.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "rp-z1.dmm"
#include "rp-z2.dmm"
#include "rp-z3.dmm"
#include "rp-z4.dmm"//RP lateloads the 4 wilds Z-levels first no matter what, so the engine satellite needs to load here or things break
#endif

#define USING_MAP_DATUM /datum/map/groundbase
Expand Down
18 changes: 18 additions & 0 deletions maps/groundbase/groundbase_areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,24 @@
sound_env = SOUND_ENVIRONMENT_MOUNTAINS
/area/groundbase/engineering/pumpingstation
name = "Pumping Station"
/area/groundbase/engineering/satellite/lobby
name = "Satellite Lobby"
lightswitch = 1
/area/groundbase/engineering/satellite/engineroom
name = "Satellite Engine Room"
lightswitch = 1
/area/groundbase/engineering/satellite/portstorage
name = "Satellite Port Storage"
/area/groundbase/engineering/satellite/starboardstorage
name = "Satellite Starboard Storage"
/area/groundbase/engineering/satellite/atmospherics
name = "Satellite Atmospherics"
/area/groundbase/engineering/satellite/breakroom
name = "Satellite Break Room"
lightswitch = 1
/area/groundbase/engineering/shuttlepad
name = "Engineering Shuttlepad"
lightswitch = 1

/area/groundbase/cargo
name = "Cargo"
Expand Down
48 changes: 31 additions & 17 deletions maps/groundbase/groundbase_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@
#define Z_LEVEL_GB_BOTTOM 1
#define Z_LEVEL_GB_MIDDLE 2
#define Z_LEVEL_GB_TOP 3
#define Z_LEVEL_GB_WILD_N 4
#define Z_LEVEL_GB_WILD_S 5
#define Z_LEVEL_GB_WILD_E 6
#define Z_LEVEL_GB_WILD_W 7
#define Z_LEVEL_CENTCOM 8
#define Z_LEVEL_MISC 9
#define Z_LEVEL_MINING 10
#define Z_LEVEL_BEACH 11
#define Z_LEVEL_BEACH_CAVE 12
#define Z_LEVEL_AEROSTAT 13
#define Z_LEVEL_AEROSTAT_SURFACE 14
#define Z_LEVEL_DEBRISFIELD 15
#define Z_LEVEL_FUELDEPOT 16
#define Z_LEVEL_OFFMAP1 17
#define Z_LEVEL_GATEWAY 18
#define Z_LEVEL_OM_ADVENTURE 19
#define Z_LEVEL_REDGATE 20
#define Z_LEVEL_GB_ENGINESAT 4
#define Z_LEVEL_GB_WILD_N 5
#define Z_LEVEL_GB_WILD_S 6
#define Z_LEVEL_GB_WILD_E 7
#define Z_LEVEL_GB_WILD_W 8
#define Z_LEVEL_CENTCOM 9
#define Z_LEVEL_MISC 10
#define Z_LEVEL_MINING 11
#define Z_LEVEL_BEACH 12
#define Z_LEVEL_BEACH_CAVE 13
#define Z_LEVEL_AEROSTAT 14
#define Z_LEVEL_AEROSTAT_SURFACE 15
#define Z_LEVEL_DEBRISFIELD 16
#define Z_LEVEL_FUELDEPOT 17
#define Z_LEVEL_OFFMAP1 18
#define Z_LEVEL_GATEWAY 19
#define Z_LEVEL_OM_ADVENTURE 20
#define Z_LEVEL_REDGATE 21

//Camera networks
#define NETWORK_HALLS "Halls"
Expand Down Expand Up @@ -401,6 +402,19 @@

new associated_map_datum(using_map, z)

/datum/map_template/gb_lateload/gb_enginesat
name = "Groundbase - Engine Satellite"
desc = "Small satellite station to power Rascal's Pass."
mappath = 'rp-z4.dmm'

associated_map_datum = /datum/map_z_level/gb_lateload/gb_enginesat

/datum/map_z_level/gb_lateload/gb_enginesat
z = Z_LEVEL_GB_ENGINESAT
name = "Engine Satellite"
flags = MAP_LEVEL_PLAYER|MAP_LEVEL_CONTACT|MAP_LEVEL_CONSOLES
base_turf = /turf/space

/datum/map_template/gb_lateload/gb_centcom
name = "Groundbase - Central Command"
desc = "Central Command lives here!"
Expand Down
23 changes: 23 additions & 0 deletions maps/groundbase/groundbase_shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,29 @@
name = "Exploration Shuttle"
requires_power = 1


//////////////////////////////////////////////

// Engine Satellite Shuttle
/obj/machinery/computer/shuttle_control/enginesat_shuttle
name = "engine satellite shuttle control console"
shuttle_tag = "Engine Satellite Shuttle"

/area/shuttle/groundbase/engineering
icon = 'icons/turf/areas_vr.dmi'
icon_state = "yelwhitri"
name = "Engine Satellite Shuttle"
requires_power = 0

/datum/shuttle/autodock/ferry/engineering
name = "Engine Satellite Shuttle"
shuttle_area = /area/shuttle/groundbase/engineering
warmup_time = 10 //want some warmup time so people can cancel.
landmark_station = "eng_surface_pad"
landmark_offsite = "enginesat_dock"
docking_controller_tag = "engineeringshuttle_docker"


//////////////////////////////////////////////

// Supply shuttle
Expand Down
Loading

0 comments on commit a79bfc5

Please sign in to comment.