From 610a2a7ec512c688fb028b603a8fb08eacfabbf7 Mon Sep 17 00:00:00 2001 From: "C.L" Date: Wed, 31 Aug 2022 21:58:33 -0400 Subject: [PATCH] Buffs artifact spawns in the map. Lowers rogueminer. Artifacts used to be confined to about one Z level: The mining asteroid. Now with there being a LOT more Z levels, this number really hasn't changed and it means that artifacts are harder to find, being spread across many more Z levels. This could mean that if you had bad RNG, you would have 6 artifacts spread across every Z level, meaning xenoarch would very quickly exhaust the possible artifacts they had nearby and after exploring every Z level that spawns artifacts, they'd only have 6 artifacts. This doubles that number so now there is 12 artifacts that spawn by default, up to 24. Meanwhile, roguemining would spawn 6 to 12 artifacts per mining area visited. This meant each rogue mining area had as many artifacts as the entire universe had. This was obviously unintended, so this fixed that by lowering it to 0 or 1 artifact per roguemining Z level. --- code/controllers/subsystems/xenoarch.dm | 4 ++-- code/modules/rogueminer_vr/zonemaster.dm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/controllers/subsystems/xenoarch.dm b/code/controllers/subsystems/xenoarch.dm index a175625b1f4..111653fc681 100644 --- a/code/controllers/subsystems/xenoarch.dm +++ b/code/controllers/subsystems/xenoarch.dm @@ -1,8 +1,8 @@ #define XENOARCH_SPAWN_CHANCE 0.5 #define DIGSITESIZE_LOWER 4 #define DIGSITESIZE_UPPER 12 -#define ARTIFACTSPAWNNUM_LOWER 6 -#define ARTIFACTSPAWNNUM_UPPER 12 +#define ARTIFACTSPAWNNUM_LOWER 12 +#define ARTIFACTSPAWNNUM_UPPER 24 // // Xenoarch subsystem handles initialization of Xenoarcheaology artifacts and digsites. diff --git a/code/modules/rogueminer_vr/zonemaster.dm b/code/modules/rogueminer_vr/zonemaster.dm index 15d18878033..4826661d2d4 100644 --- a/code/modules/rogueminer_vr/zonemaster.dm +++ b/code/modules/rogueminer_vr/zonemaster.dm @@ -171,8 +171,8 @@ #define XENOARCH_SPAWN_CHANCE 0.3 #define DIGSITESIZE_LOWER 4 #define DIGSITESIZE_UPPER 12 - #define ARTIFACTSPAWNNUM_LOWER 6 - #define ARTIFACTSPAWNNUM_UPPER 12 //Replace with difficulty-based ones. + #define ARTIFACTSPAWNNUM_LOWER 1 + #define ARTIFACTSPAWNNUM_UPPER 1 //Replace with difficulty-based ones. if(!M.mineral && prob(rm_controller.diffstep_chances[rm_controller.diffstep])) //Difficulty translates directly into ore chance rm_controller.dbg("ZM(par): Adding mineral to [M.x],[M.y].")