|
|
@@ -47,7 +47,7 @@ namespace GamecraftModdingAPI.Tests |
|
|
|
/// Ideally, GamecraftModdingAPI should be loaded by another mod; not itself |
|
|
|
/// </summary> |
|
|
|
public class GamecraftModdingAPIPluginTest : IllusionPlugin.IEnhancedPlugin |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
private static Harmony harmony { get; set; } |
|
|
|
|
|
|
@@ -73,7 +73,7 @@ namespace GamecraftModdingAPI.Tests |
|
|
|
//SteamInitPatch.ForcePassSteamCheck = true; |
|
|
|
// in case running in a VM |
|
|
|
//MinimumSpecsCheckPatch.ForcePassMinimumSpecCheck = true; |
|
|
|
// disable some Gamecraft analytics |
|
|
|
// disable some Techblox analytics |
|
|
|
//AnalyticsDisablerPatch.DisableAnalytics = true; |
|
|
|
// disable background music |
|
|
|
Logging.MetaDebugLog("Audio Mixers: " + string.Join(",", AudioTools.GetMixers())); |
|
|
@@ -144,7 +144,7 @@ namespace GamecraftModdingAPI.Tests |
|
|
|
{ |
|
|
|
CommandBuilder.Builder() |
|
|
|
.Name("Exit") |
|
|
|
.Description("Close Gamecraft immediately, without any prompts") |
|
|
|
.Description("Close Techblox immediately, without any prompts") |
|
|
|
.Action(() => { UnityEngine.Application.Quit(); }) |
|
|
|
.Build(); |
|
|
|
|
|
|
|