Update Components
							parent
							
								
									6e6b8e7979
								
							
						
					
					
						commit
						ee9b789996
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -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. | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue