mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-12 01:43:40 +00:00
* Dynamic map loading prototype * Get the title screen working * Fixes the random pod bugs * map configs * Add back the asteroid * Ignore the rotate file * Fix some shit * More shit fixes * Babby's first json * Cyberboss confirmed shitcoder * Makes map rotation great again * Moves the map defines * Delete tgstation2.dm * Convert runtimestation * Convert PubbyStation * Convert OmegaStation * Convert Metastation * Convert Delta Station * Lol file extensions * Reee line endings * Take out the trash * Fix loadallmaps.dm * Deltaassssssstation? * Fix travis * Did I ASK you to change the line endings? * Remove votable maps * Cleanup * Previous config. Load configs in New. Fix splash * Fix this * More generic minetype * STOP TOUCHING THE LINE ENDINGS!!! * Add some flexibility to /obj/screen/splash * Fix the shit * Update gitignore * Smooth transition from last map * Better check * Missed this map rotate check * Remove these checks too * Prep for a future request by @kevinz000 * Fix z2 line endings * Solution for custom .dms * Rename some things, trim some fat * Fixes default map_config * Remove stale comment * Delete the previous config after loading * Don't try to open a non-existent file * Delete the old rotator script * And references to it * Line endings * More line endings * Del checks from when m-config may have not existed * LINE ENDINGS * Update the default map config * Map load error checking for what it's worth * Small cleanup * For case sensitive * File systems * Strip maprotate stuff from build script * Spruce up the _maps tree. Compile some empty space * Make travis simpler * LINEARU ENDARU!!! * tgstation TWO!!! * Lowercase mine type * Dummy dm's for testmerging * Fixes job ordering * If ghosts wanna watch the map load so be it * Let them know what's going on * Fixes z-transitions * Optimize z expansion further * Remove this old var * Fix wiznerd teleportation * Rmove butt * Does the thing * Moved temp configs to the data dir * Un-touch gitignore * Forgot templates.dm * Forgot to include the includer * Fair enough * SILENCE IMBECILE! * @Cyberboss still a fuckboi * Speed things up a bit * Fix a potential bug with the error message * Whatever
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
/*
|
|
The /tg/ codebase currently requires you to have 11 z-levels of the same size dimensions.
|
|
z-level order is important, the order you put them in inside the map config.dm will determine what z level number they are assigned ingame.
|
|
Names of z-level do not matter, but order does greatly, for instances such as checking alive status of revheads on z1
|
|
|
|
current as of 2016/6/2
|
|
z1 = station
|
|
z2 = centcomm
|
|
z5 = mining
|
|
Everything else = randomized space
|
|
Last space-z level = empty
|
|
*/
|
|
|
|
#define CROSSLINKED 2
|
|
#define SELFLOOPING 1
|
|
#define UNAFFECTED 0
|
|
|
|
#define MAIN_STATION "Main Station"
|
|
#define CENTCOMM "CentComm"
|
|
#define EMPTY_AREA_1 "Empty Area 1"
|
|
#define EMPTY_AREA_2 "Empty Area 2"
|
|
#define MINING "Mining Asteroid"
|
|
#define EMPTY_AREA_3 "Empty Area 3"
|
|
#define EMPTY_AREA_4 "Empty Area 4"
|
|
#define EMPTY_AREA_5 "Empty Area 5"
|
|
#define EMPTY_AREA_6 "Empty Area 6"
|
|
#define EMPTY_AREA_7 "Empty Area 7"
|
|
#define EMPTY_AREA_8 "Empty Area 8"
|
|
#define AWAY_MISSION "Away Mission"
|
|
|
|
//for modifying jobs
|
|
#define MAP_JOB_CHECK if(SSmapping.config.map_name != JOB_MODIFICATION_MAP_NAME) { return; }
|
|
#define MAP_JOB_CHECK_BASE if(SSmapping.config.map_name != JOB_MODIFICATION_MAP_NAME) { return ..(); }
|
|
#define MAP_REMOVE_JOB(jobpath) /datum/job/##jobpath/map_check() { return (SSmapping.config.map_name != JOB_MODIFICATION_MAP_NAME) && ..() }
|
|
|
|
//zlevel defines, can be overridden for different maps in the appropriate _maps file.
|
|
#define ZLEVEL_STATION 1
|
|
#define ZLEVEL_CENTCOM 2
|
|
#define ZLEVEL_MINING 5
|
|
#define ZLEVEL_LAVALAND 5
|
|
#define ZLEVEL_EMPTY_SPACE 11
|
|
|
|
#define ZLEVEL_SPACEMIN 3
|
|
#define ZLEVEL_SPACEMAX 11 |