-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to disable gas path calculations
- Loading branch information
Showing
12 changed files
with
150 additions
and
45 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+27.5 KB
(110%)
1.3/Source/VanillaPowerExpanded/.vs/VanillaPowerExpanded/v16/.suo
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
...Source/VanillaPowerExpanded/VanillaPowerExpanded/Options/VanillaPowerExpanded_Settings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using RimWorld; | ||
using UnityEngine; | ||
using Verse; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System; | ||
|
||
|
||
namespace VanillaPowerExpanded | ||
{ | ||
|
||
|
||
public class VanillaPowerExpanded_Settings : ModSettings | ||
|
||
{ | ||
|
||
|
||
public bool disableGasPathCalculations = false; | ||
|
||
|
||
|
||
|
||
public override void ExposeData() | ||
{ | ||
base.ExposeData(); | ||
|
||
Scribe_Values.Look(ref disableGasPathCalculations, "disableGasPathCalculations", false, true); | ||
|
||
|
||
} | ||
|
||
public void DoWindowContents(Rect inRect) | ||
{ | ||
Listing_Standard ls = new Listing_Standard(); | ||
|
||
|
||
ls.Begin(inRect); | ||
ls.Gap(10f); | ||
|
||
|
||
ls.CheckboxLabeled("VPE_DisableGasPathCalculations".Translate(), ref disableGasPathCalculations, null); | ||
|
||
|
||
|
||
ls.End(); | ||
} | ||
|
||
|
||
|
||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
} |
29 changes: 29 additions & 0 deletions
29
...illaPowerExpanded/VanillaPowerExpanded/Options/VanillaPowerExpanded_SettingsController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using RimWorld; | ||
using UnityEngine; | ||
using Verse; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
namespace VanillaPowerExpanded | ||
{ | ||
|
||
|
||
|
||
public class VanillaPowerExpanded_Mod : Mod | ||
{ | ||
public static VanillaPowerExpanded_Settings settings; | ||
|
||
public VanillaPowerExpanded_Mod(ModContentPack content) : base(content) | ||
{ | ||
settings = GetSettings<VanillaPowerExpanded_Settings>(); | ||
} | ||
public override string SettingsCategory() => "Vanilla Furniture Expanded - Power"; | ||
|
||
public override void DoSettingsWindowContents(Rect inRect) | ||
{ | ||
settings.DoWindowContents(inRect); | ||
} | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+21 Bytes
(100%)
...rExpanded/VanillaPowerExpanded/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
...nded/VanillaPowerExpanded/obj/Release/VanillaPowerExpanded.csproj.CoreCompileInputs.cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2a5c4ad19f68fd7598a6ff5444d201a9d2957603 | ||
5c8f6730d80a1ff3ea5a2b715c461efadc47cf4b |
Binary file modified
BIN
-227 KB
(12%)
...anded/VanillaPowerExpanded/obj/Release/VanillaPowerExpanded.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified
BIN
+512 Bytes
(100%)
1.3/Source/VanillaPowerExpanded/VanillaPowerExpanded/obj/Release/VanillaPowerExpanded.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters