mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 12:36:22 +01:00
132 lines
5.2 KiB
Plaintext
132 lines
5.2 KiB
Plaintext
//Atmosphere properties
|
|
#define VIRGO3B_ONE_ATMOSPHERE 82.4 //kPa
|
|
#define VIRGO3B_AVG_TEMP 234 //kelvin
|
|
|
|
#define VIRGO3B_PER_N2 0.16 //percent
|
|
#define VIRGO3B_PER_O2 0.00
|
|
#define VIRGO3B_PER_N2O 0.00 //Currently no capacity to 'start' a turf with this. See turf.dm
|
|
#define VIRGO3B_PER_CO2 0.12
|
|
#define VIRGO3B_PER_PHORON 0.72
|
|
|
|
//Math only beyond this point
|
|
#define VIRGO3B_MOL_PER_TURF (VIRGO3B_ONE_ATMOSPHERE*CELL_VOLUME/(VIRGO3B_AVG_TEMP*R_IDEAL_GAS_EQUATION))
|
|
#define VIRGO3B_MOL_N2 (VIRGO3B_MOL_PER_TURF * VIRGO3B_PER_N2)
|
|
#define VIRGO3B_MOL_O2 (VIRGO3B_MOL_PER_TURF * VIRGO3B_PER_O2)
|
|
#define VIRGO3B_MOL_N2O (VIRGO3B_MOL_PER_TURF * VIRGO3B_PER_N2O)
|
|
#define VIRGO3B_MOL_CO2 (VIRGO3B_MOL_PER_TURF * VIRGO3B_PER_CO2)
|
|
#define VIRGO3B_MOL_PHORON (VIRGO3B_MOL_PER_TURF * VIRGO3B_PER_PHORON)
|
|
|
|
//Turfmakers
|
|
#define VIRGO3B_SET_ATMOS nitrogen=VIRGO3B_MOL_N2;oxygen=VIRGO3B_MOL_O2;carbon_dioxide=VIRGO3B_MOL_CO2;phoron=VIRGO3B_MOL_PHORON;temperature=VIRGO3B_AVG_TEMP
|
|
#define VIRGO3B_TURF_CREATE(x) x/virgo3b/nitrogen=VIRGO3B_MOL_N2;x/virgo3b/oxygen=VIRGO3B_MOL_O2;x/virgo3b/carbon_dioxide=VIRGO3B_MOL_CO2;x/virgo3b/phoron=VIRGO3B_MOL_PHORON;x/virgo3b/temperature=VIRGO3B_AVG_TEMP;x/virgo3b/update_graphic(list/graphic_add = null, list/graphic_remove = null) return 0
|
|
#define VIRGO3B_TURF_CREATE_UN(x) x/virgo3b/nitrogen=VIRGO3B_MOL_N2;x/virgo3b/oxygen=VIRGO3B_MOL_O2;x/virgo3b/carbon_dioxide=VIRGO3B_MOL_CO2;x/virgo3b/phoron=VIRGO3B_MOL_PHORON;x/virgo3b/temperature=VIRGO3B_AVG_TEMP
|
|
|
|
//Normal map defs
|
|
#define Z_LEVEL_SURFACE_LOW 1
|
|
#define Z_LEVEL_SURFACE_MID 2
|
|
#define Z_LEVEL_SURFACE_HIGH 3
|
|
#define Z_LEVEL_TRANSIT 4
|
|
#define Z_LEVEL_SPACE_LOW 5
|
|
#define Z_LEVEL_SPACE_MID 6
|
|
#define Z_LEVEL_SPACE_HIGH 7
|
|
#define Z_LEVEL_SURFACE_MINE 8
|
|
#define Z_LEVEL_CENTCOM 9
|
|
#define Z_LEVEL_MISC 10
|
|
#define Z_LEVEL_SHIPS 11
|
|
#define Z_LEVEL_SOLARS 12
|
|
|
|
/datum/map/tether
|
|
name = "Virgo"
|
|
full_name = "NSB Adephagia"
|
|
path = "tether"
|
|
|
|
lobby_icon = 'icons/misc/title_vr.dmi'
|
|
lobby_screens = list("tether")
|
|
|
|
station_levels = list(
|
|
Z_LEVEL_SURFACE_LOW,
|
|
Z_LEVEL_SURFACE_MID,
|
|
Z_LEVEL_SURFACE_HIGH,
|
|
Z_LEVEL_SPACE_LOW,
|
|
Z_LEVEL_SPACE_MID,
|
|
Z_LEVEL_SPACE_HIGH
|
|
)
|
|
|
|
admin_levels = list(Z_LEVEL_CENTCOM)
|
|
contact_levels = list(
|
|
Z_LEVEL_SURFACE_LOW,
|
|
Z_LEVEL_SURFACE_MID,
|
|
Z_LEVEL_SURFACE_HIGH,
|
|
Z_LEVEL_SPACE_LOW,
|
|
Z_LEVEL_SPACE_MID,
|
|
Z_LEVEL_SPACE_HIGH
|
|
)
|
|
|
|
player_levels = list(
|
|
Z_LEVEL_SURFACE_LOW,
|
|
Z_LEVEL_SURFACE_MID,
|
|
Z_LEVEL_SURFACE_HIGH,
|
|
Z_LEVEL_SPACE_LOW,
|
|
Z_LEVEL_SPACE_MID,
|
|
Z_LEVEL_SPACE_HIGH
|
|
)
|
|
|
|
sealed_levels = list(Z_LEVEL_TRANSIT)
|
|
empty_levels = list()
|
|
accessible_z_levels = list() // The defines can't be used here sadly.
|
|
base_turf_by_z = list(
|
|
"1" = /turf/simulated/floor/outdoors/rocks/virgo3b,
|
|
"2" = /turf/simulated/open,
|
|
"3" = /turf/simulated/open
|
|
)
|
|
|
|
station_name = "NSS Adephagia"
|
|
station_short = "Virgo"
|
|
dock_name = "Virgo-Erigone Central Command"
|
|
boss_name = "Central Command"
|
|
boss_short = "CentCom"
|
|
company_name = "NanoTrasen"
|
|
company_short = "NT"
|
|
starsys_name = "Virgo-Erigone"
|
|
|
|
shuttle_docked_message = "The scheduled shuttle to the %dock_name% has docked with the station at docks one and two. It will depart in approximately %ETD%."
|
|
shuttle_leaving_dock = "The Crew Transfer Shuttle has left the station. Estimate %ETA% until the shuttle docks at %dock_name%."
|
|
shuttle_called_message = "A crew transfer to %Dock_name% has been scheduled. The shuttle has been called. Those leaving should procede to docks one and two in approximately %ETA%"
|
|
shuttle_recall_message = "The scheduled crew transfer has been cancelled."
|
|
emergency_shuttle_docked_message = "The Emergency Shuttle has docked with the station at docks one and two. You have approximately %ETD% to board the Emergency Shuttle."
|
|
emergency_shuttle_leaving_dock = "The Emergency Shuttle has left the station. Estimate %ETA% until the shuttle docks at %dock_name%."
|
|
emergency_shuttle_called_message = "An emergency evacuation shuttle has been called. It will arrive at docks one and two in approximately %ETA%"
|
|
emergency_shuttle_recall_message = "The emergency shuttle has been recalled."
|
|
|
|
station_networks = list(
|
|
NETWORK_CARGO,
|
|
NETWORK_CIVILIAN,
|
|
NETWORK_COMMAND,
|
|
NETWORK_ENGINE,
|
|
NETWORK_ENGINEERING,
|
|
NETWORK_ENGINEERING_OUTPOST,
|
|
NETWORK_DEFAULT,
|
|
NETWORK_MEDICAL,
|
|
NETWORK_MINE,
|
|
NETWORK_NORTHERN_STAR,
|
|
NETWORK_RESEARCH,
|
|
NETWORK_RESEARCH_OUTPOST,
|
|
NETWORK_ROBOTS,
|
|
NETWORK_PRISON,
|
|
NETWORK_SECURITY,
|
|
NETWORK_INTERROGATION
|
|
)
|
|
|
|
allowed_spawns = list("Arrivals Shuttle","Gateway","Cryogenic Storage","Cyborg Storage","Elevator")
|
|
|
|
|
|
/datum/map/tether/perform_map_generation()
|
|
|
|
new /datum/random_map/automata/cave_system(null, 1, 1, Z_LEVEL_SURFACE_MINE, world.maxx, world.maxy) // Create the mining Z-level.
|
|
new /datum/random_map/noise/ore(null, 1, 1, Z_LEVEL_SURFACE_MINE, 64, 64) // Create the mining ore distribution map.
|
|
|
|
new /datum/random_map/automata/cave_system(null, 1, 1, Z_LEVEL_SOLARS, world.maxx, world.maxy) // Create the mining Z-level.
|
|
new /datum/random_map/noise/ore(null, 1, 1, Z_LEVEL_SOLARS, 64, 64) // Create the mining ore distribution map.
|
|
|
|
return 1
|