Update Components

Raphtalia 2024-12-23 14:18:04 +00:00
parent 6e6b8e7979
commit ee9b789996

@ -18,7 +18,9 @@ When a main path begins generation, for either the default main path or alternat
# Nice To Have Components # Nice To Have Components
## Random Guaranteed Scrap Spawn ## 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. > **NOTE:** These scrap does not count towards the moon's scrap count.