mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
So this is a test-bench in hopes to fix our OOM issues. I reduced all map sizes from 255x255 to 185x185 Some things to note in this changes... -Station is still the same, just has a lot less space around it -All shuttles now dock closer on the station -Transition map. Shuttles have very small transition areas, one can see other shuttles or see world borders in some shuttles (Will fix later) -Plains, Wilderness and Caves are smaller so have smaller amount POI generation, I still made it more generous so finding POI's will be easier but still less numerous than the 255x255 map. I been testing this for hours, all transitions between vertical z-levels on SouthernCross function, transition between caves, wilderness and plains function, transition between shuttles work... About everything is exactly the same just smaller. Please do note that this is a test, do report any bugs or inconsistent behaviors of any map.
23 lines
693 B
Plaintext
23 lines
693 B
Plaintext
/*
|
|
This module is used to generate the debris fields/distribution maps/procedural stations.
|
|
-This controls the amount of sand turf it will create in the caves, I assume it controls the amount of minerals and undeground minerals aswell
|
|
*/
|
|
|
|
#define MIN_SURFACE_COUNT 75
|
|
#define MIN_RARE_COUNT 200
|
|
#define MIN_DEEP_COUNT 100
|
|
#define RESOURCE_HIGH_MAX 4
|
|
#define RESOURCE_HIGH_MIN 2
|
|
#define RESOURCE_MID_MAX 3
|
|
#define RESOURCE_MID_MIN 1
|
|
#define RESOURCE_LOW_MAX 1
|
|
#define RESOURCE_LOW_MIN 0
|
|
|
|
#define FLOOR_CHAR 0
|
|
#define WALL_CHAR 1
|
|
#define DOOR_CHAR 2
|
|
#define EMPTY_CHAR 3
|
|
#define ROOM_TEMP_CHAR 4
|
|
#define MONSTER_CHAR 5
|
|
#define ARTIFACT_TURF_CHAR 6
|
|
#define ARTIFACT_CHAR 7 |