The API provides several functions, called "Getters" internally, that can be called to reference difficulty data.
Getting a "0" value returned? Sometimes, some values may actually be 0. This may be the case if certain settings are disabled, or it is calculating a zero for that variable. If Brutal throws an error message, this means that the code may have failed to retrieve the data for one reason or another.
When should these be ran? Unlike rerolling events, doing these tests are safe whenever landed or in orbit. Depending on the sitaution, these variables may be useful for one reason or another.
| Method | Source | Returns |
|---|---|---|
GetDifficulty() |
The final calculated number of all difficulties that are active at the time | float |
GetHeatDifficulty() |
Based on how many times players have visited the same moon, using current moon unless the function has an integer passed in, which uses that as the level ID to check against. | float |
GetDaysDifficulty() |
Based on how many days the save file has lasted. | float |
GetScrapDifficulty() |
Based on how much scrap is on the ship. | float |
GetMoonDifficulty() |
Based on the moon's risk level (D, B, S+) | float |
GetWeatherDifficulty() |
Based on the current weather | float |
GetQuotaDifficulty() |
Based on the current quota expectations of the company. | float |