Config refactor to split dungeon generation and the mod's universal features.
This commit is contained in:
parent
d690b69a26
commit
83d0d8a737
44 changed files with 2001 additions and 1664 deletions
|
|
@ -40,14 +40,14 @@ namespace ScarletMansion.GamePatch {
|
|||
|
||||
public static float ModifyScrapCount(float count){
|
||||
if (DunGenPatch.Patch.active == false) return count;
|
||||
Plugin.logger.LogDebug($"Scrap: {count} -> {count * PluginConfig.Instance.lootMultiplierValue}");
|
||||
return count * PluginConfig.Instance.lootMultiplierValue;
|
||||
Plugin.logger.LogDebug($"Scrap: {count} -> {count * Plugin.GetConfigDungeon.GetLootMultiplier}");
|
||||
return count * Plugin.GetConfigDungeon.GetLootMultiplier;
|
||||
}
|
||||
|
||||
public static float ModifyMapCount(float count){
|
||||
if (DunGenPatch.Patch.active == false) return count;
|
||||
Plugin.logger.LogDebug($"Map Hazards: {count} -> {count * PluginConfig.Instance.mapHazardsMultiplierValue}");
|
||||
return count * PluginConfig.Instance.mapHazardsMultiplierValue;
|
||||
Plugin.logger.LogDebug($"Map Hazards: {count} -> {count * Plugin.GetConfigDungeon.GetMapHazardsMultiplier}");
|
||||
return count * Plugin.GetConfigDungeon.GetMapHazardsMultiplier;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue