@@ -28,7 +28,7 @@ public class ControllerOptions : INotifyPropertyChanged
2828
2929 private GameMode _gameMode ;
3030 private GameMode [ ] _gameModes ;
31- private bool _addReturnPaths , _fixOGBugs , _disableDemos , _autoLaunchGame ;
31+ private bool _addReturnPaths , _fixOGBugs , _disableDemos , _autoLaunchGame , _removeCrystals ;
3232
3333 private BoolItemControlClass _randomizeLevelSequencing ;
3434 private BoolItemControlClass _isHardSecrets , _allowGlitched , _guaranteeSecrets , _useRandomSecretModels , _enableUWCornerSecrets ;
@@ -1548,6 +1548,16 @@ public bool FixOGBugs
15481548 }
15491549 }
15501550
1551+ public bool RemoveCrystals
1552+ {
1553+ get => _removeCrystals ;
1554+ set
1555+ {
1556+ _removeCrystals = value ;
1557+ FirePropertyChanged ( ) ;
1558+ }
1559+ }
1560+
15511561 public bool DisableDemos
15521562 {
15531563 get => _disableDemos ;
@@ -3056,6 +3066,7 @@ public void Load(TRRandomizerController controller)
30563066 AutoLaunchGame = _controller . AutoLaunchGame ;
30573067 AddReturnPaths = _controller . AddReturnPaths ;
30583068 FixOGBugs = _controller . FixOGBugs ;
3069+ RemoveCrystals = _controller . RemoveCrystals ;
30593070
30603071 SpriteRandoModes = Enum . GetValues < SpriteRandoMode > ( ) ;
30613072 SpriteRandoMode = _controller . SpriteRandoMode ;
@@ -3289,6 +3300,7 @@ public void Save()
32893300 _controller . AutoLaunchGame = AutoLaunchGame ;
32903301 _controller . AddReturnPaths = AddReturnPaths ;
32913302 _controller . FixOGBugs = FixOGBugs ;
3303+ _controller . RemoveCrystals = RemoveCrystals ;
32923304
32933305 _controller . SpriteRandoMode = SpriteRandoMode ;
32943306 _controller . RandomizeItemSprites = RandomizeItemSprites ;
@@ -3373,6 +3385,7 @@ public void Unload()
33733385 public bool IsItemSpriteTypeSupported => IsRandomizationSupported ( TRRandomizerType . ItemSprite ) ;
33743386 public bool IsReturnPathsTypeSupported => IsRandomizationSupported ( TRRandomizerType . ReturnPaths ) ;
33753387 public bool IsGeneralBugFixesTypeSupported => IsRandomizationSupported ( TRRandomizerType . GeneralBugFixes ) ;
3388+ public bool IsRemoveCrystalsTypeSupported => IsRandomizationSupported ( TRRandomizerType . RemoveCrystals ) ;
33763389
33773390 private bool IsRandomizationSupported ( TRRandomizerType randomizerType )
33783391 {
0 commit comments