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
|
|
@ -73,7 +73,7 @@ namespace ScarletMansion.GamePatch.Managers {
|
|||
}
|
||||
|
||||
public void OnDungeonComplete(Dungeon dungeon) {
|
||||
Anger(PluginConfig.Instance.minIndoorEnemySpawnCountValue);
|
||||
Anger(Plugin.GetConfigDungeon.GetMinIndoorEnemySpawnCount);
|
||||
}
|
||||
|
||||
public void TriggerAngerLightBrief(float duration){
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ using ScarletMansion.GamePatch;
|
|||
using ScarletMansion.GamePatch.Components;
|
||||
using static LethalLevelLoader.ExtendedEvent;
|
||||
using ScarletMansion.GamePatch.Managers;
|
||||
using ScarletMansion.Configs;
|
||||
|
||||
namespace ScarletMansion {
|
||||
|
||||
|
|
@ -266,7 +267,7 @@ namespace ScarletMansion {
|
|||
|
||||
|
||||
public void RequestEvilSkinApply(NetworkObjectReference reference, string enemyName) {
|
||||
if (PluginConfig.Instance.paintingEnemyEvilSkinValue && ScarletBedroom.ENEMY_EVIL_LIST.Contains(enemyName)) {
|
||||
if (ConfigMain.Instance.paintingEnemyEvilSkinValue && ScarletBedroom.ENEMY_EVIL_LIST.Contains(enemyName)) {
|
||||
RequestEvilSkinApplyClientRpc(reference);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue