mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
[MIRROR] Reagent Refinery (#11282)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
co-authored by
Will
C.L.
parent
44f8a5dcd2
commit
747ed116c6
@@ -60,7 +60,6 @@
|
||||
if(!current_cell)
|
||||
return 0
|
||||
var/turf/simulated/mineral/T = locate((origin_x-1)+x,(origin_y-1)+y,origin_z)
|
||||
//VOREStation Edit Start
|
||||
if(istype(T) && !T.ignore_mapgen)
|
||||
if(!T.ignore_cavegen)
|
||||
if(map[current_cell] == FLOOR_CHAR)
|
||||
@@ -77,7 +76,6 @@
|
||||
else if(map[current_cell] == EMPTY_CHAR)
|
||||
T.turf_resource_types |= TURF_HAS_RARE_ORE
|
||||
get_additional_spawns(map[current_cell],T,get_spawn_dir(x, y))
|
||||
//VOREStation Edit End
|
||||
return T
|
||||
|
||||
/datum/random_map/automata/cave_system/apply_to_map()
|
||||
|
||||
@@ -64,13 +64,13 @@
|
||||
T.resources[ORE_MHYDROGEN] = 0
|
||||
T.resources[ORE_VERDANTIUM] = 0
|
||||
T.resources[ORE_LEAD] = 0
|
||||
//T.resources[ORE_COPPER] = rand(RESOURCE_MID_MIN, RESOURCE_HIGH_MAX)
|
||||
//T.resources[ORE_TIN] = rand(RESOURCE_LOW_MIN, RESOURCE_MID_MAX)
|
||||
//T.resources[ORE_BAUXITE] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_RUTILE] = 0
|
||||
//T.resources[ORE_VOPAL] = 0
|
||||
//T.resources[ORE_QUARTZ] = 0
|
||||
//T.resources[ORE_PAINITE] = 0
|
||||
T.resources[ORE_COPPER] = rand(RESOURCE_MID_MIN, RESOURCE_HIGH_MAX)
|
||||
T.resources[ORE_TIN] = rand(RESOURCE_LOW_MIN, RESOURCE_MID_MAX)
|
||||
T.resources[ORE_BAUXITE] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_RUTILE] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_VOPAL] = 0
|
||||
T.resources[ORE_QUARTZ] = rand(RESOURCE_LOW_MIN, RESOURCE_MID_MAX)
|
||||
T.resources[ORE_PAINITE] = 0
|
||||
else if(current_cell < deep_val) // Rare metals.
|
||||
T.resources[ORE_GOLD] = rand(RESOURCE_MID_MIN, RESOURCE_MID_MAX)
|
||||
T.resources[ORE_SILVER] = rand(RESOURCE_MID_MIN, RESOURCE_MID_MAX)
|
||||
@@ -83,13 +83,13 @@
|
||||
T.resources[ORE_DIAMOND] = 0
|
||||
T.resources[ORE_HEMATITE] = 0
|
||||
T.resources[ORE_MARBLE] = 0
|
||||
//T.resources[ORE_COPPER] = 0
|
||||
//T.resources[ORE_TIN] = rand(RESOURCE_MID_MIN, RESOURCE_MID_MAX)
|
||||
//T.resources[ORE_BAUXITE] = 0
|
||||
T.resources[ORE_RUTILE] = 0
|
||||
//T.resources[ORE_VOPAL] = 0
|
||||
//T.resources[ORE_QUARTZ] = 0
|
||||
//T.resources[ORE_PAINITE] = 0
|
||||
T.resources[ORE_COPPER] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_TIN] = rand(RESOURCE_MID_MIN, RESOURCE_MID_MAX)
|
||||
T.resources[ORE_BAUXITE] = 0
|
||||
T.resources[ORE_RUTILE] = rand(RESOURCE_LOW_MIN, RESOURCE_MID_MAX)
|
||||
T.resources[ORE_VOPAL] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_QUARTZ] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_PAINITE] = 0
|
||||
else // Deep metals.
|
||||
T.resources[ORE_URANIUM] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_DIAMOND] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
@@ -102,13 +102,13 @@
|
||||
T.resources[ORE_HEMATITE] = 0
|
||||
T.resources[ORE_GOLD] = 0
|
||||
T.resources[ORE_SILVER] = 0
|
||||
//T.resources[ORE_COPPER] = 0
|
||||
//T.resources[ORE_TIN] = 0
|
||||
//T.resources[ORE_BAUXITE] = 0
|
||||
T.resources[ORE_COPPER] = 0
|
||||
T.resources[ORE_TIN] = 0
|
||||
T.resources[ORE_BAUXITE] = 0
|
||||
T.resources[ORE_RUTILE] = 0
|
||||
//T.resources[ORE_VOPAL] = 0
|
||||
//T.resources[ORE_QUARTZ] = 0
|
||||
//T.resources[ORE_PAINITE] = 0
|
||||
T.resources[ORE_VOPAL] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
T.resources[ORE_QUARTZ] = 0
|
||||
T.resources[ORE_PAINITE] = rand(RESOURCE_LOW_MIN, RESOURCE_LOW_MAX)
|
||||
return
|
||||
|
||||
/datum/random_map/noise/ore/get_map_char(var/value)
|
||||
|
||||
Reference in New Issue
Block a user