From ee9b789996a97a74c8ac8dc534d842144c22c9d2 Mon Sep 17 00:00:00 2001 From: Raphtalia Date: Mon, 23 Dec 2024 14:18:04 +0000 Subject: [PATCH] Update Components --- Components.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Components.md b/Components.md index d2cb9a7..2da08ec 100644 --- a/Components.md +++ b/Components.md @@ -18,7 +18,9 @@ When a main path begins generation, for either the default main path or alternat # Nice To Have Components ## Random Guaranteed Scrap Spawn -Forces a random piece of scrap to spawn on the `Transform's` position. `spawnChance` specifics the chance that the scrap will spawn or not. `minimumScrapValue` specifies that the random piece of scrap to be spawned **MUST** have a `minValue` value greater or equal to `minimumScrapValue`. +Forces a random piece of scrap to spawn on the `Transform's` position. `spawnChance` specifics the chance that the scrap will spawn or not. `minimumScrapValue` and `maximumScrapValue` specifies that the random piece of scrap to be spawned **MUST** meet the following expression: `minimumScrapValue` <= `minValue` <= `maximumScrapValue`. + +You can also specify a scrap item by it's scrap's display name or scriptable object file's name. That scrap must be able to spawn naturally on that moon. This will skip the scrap's minValue check. > **NOTE:** These scrap does not count towards the moon's scrap count.