-
Notifications
You must be signed in to change notification settings - Fork 1
/
ConfigMain.cs
57 lines (48 loc) · 2.78 KB
/
ConfigMain.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
using BepInEx;
using Nautilus.Commands;
using Nautilus.Handlers;
using Nautilus.Json;
using Nautilus.Options;
using Nautilus.Options.Attributes;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using static ErrorMessage;
namespace Tweaks_Fixes
{
public class ConfigMain : JsonFile
{ // dint save enums, nautilus throws exc with certain mods
public ConfigMain()
{
this.Load();
}
public override string JsonFilePath => Paths.ConfigPath + Path.DirectorySeparatorChar + Main.MODNAME + Path.DirectorySeparatorChar + "config.json";
public Screen_Resolution_Fix.ScreenRes screenRes;
public bool cyclopsFloodLights = false;
public bool cyclopsLighting = false;
public bool exosuitLights = false;
public bool seaglideLights = false;
public bool seaglideMap = false;
public int subThrottleIndex = -1;
public int activeSlot = -1;
public HashSet<string> escapePodSmokeOut = new HashSet<string>();
public Dictionary<string, HashSet<Vector3Int>> openedWreckDoors = new Dictionary<string, HashSet<Vector3Int>>();
public Dictionary<string, Dictionary<string, HashSet<string>>> cyclopsDoors = new Dictionary<string, Dictionary<string, HashSet<string>>>();
public Dictionary<string, Dictionary<string, Storage_Patch.SavedLabel>> lockerNames = new Dictionary<string, Dictionary<string, Storage_Patch.SavedLabel>>();
public float medKitHPtoHeal = 0f;
//public Dictionary<string, HashSet<string>> objectsSurvivedDespawn = new Dictionary<string, HashSet<string>> { };
//public HashSet<string> objectsDespawned = new HashSet<string> { };
//public List<string> removeLight = new List<string> { };
//public List<string> biomesRemoveLight = new List<string> { };
public Dictionary<string, float> lightIntensity = new Dictionary<string, float>();
public HashSet<string> pickedUpFireExt = new HashSet<string>();
public Dictionary<string, Dictionary<string, bool>> baseLights = new Dictionary<string, Dictionary<string, bool>>();
//public Dictionary<string, Dictionary<TechType, int>> deadCreatureLoot = new Dictionary<string, Dictionary<TechType, int>> { { "Stalker", new Dictionary<TechType, int> { { TechType.StalkerTooth, 2 } } }, { "Gasopod", new Dictionary<TechType, int> { { TechType.GasPod, 5 } } } };
//public bool LEDLightWorksInHand = true;
//public int growingPlantUpdateInterval = 0;
//public bool pdaTabSwitchHotkey = true;
//public enum DropItemsOnDeath { Vanilla, Drop_everything, Do_not_drop_anything }
//public enum EmptyVehiclesCanBeAttacked { Vanilla, Yes, No, Only_if_lights_on }
//public enum EatingRawFish { Vanilla, Harmless, Risky, Harmful }
}
}