implement stats tilt

encompasses releases 1.1.2 and 1.1.3
This commit is contained in:
msk
2022-02-13 03:17:47 -08:00
parent 640245cdd5
commit 6249f07788
10 changed files with 51 additions and 18 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
PackageName: TNH_Quality_of_Life_Improvements
Author: muskit
Version: 1.1.1
Version: 1.1.3
Icon: {fileID: 2800000, guid: 785b7946398f5314b95bf593d2d77d67, type: 3}
ReadMe: {fileID: 102900000, guid: ab1d6dea017447a48ac348db588a6f35, type: 3}
WebsiteURL: https://github.com/muskit/TNH-Quality-of-Life-Improvements
+7 -2
View File
@@ -48,6 +48,7 @@ public class MeatKitPlugin : BaseUnityPlugin
public static ConfigEntry<float> cfgHPBackgroundOpacity;
//--- Take and Hold Info ---//
public static ConfigEntry<bool> cfgShowLPC;
public static ConfigEntry<bool> cfgInfoFollowCamera;
public static ConfigEntry<bool> cfgShowTokens;
public static ConfigEntry<bool> cfgShowHolds;
public static ConfigEntry<bool> cfgShowNumbersAtShop;
@@ -135,7 +136,7 @@ public class MeatKitPlugin : BaseUnityPlugin
bundle = AssetBundle.LoadFromFile(Path.Combine(BasePath, "tnh_qol_improvements"));
SceneManager.activeSceneChanged += SceneChanged;
fontBombardier = MeatKitPlugin.bundle.LoadAsset<Font>("Bombardier");
fontBombardier = bundle.LoadAsset<Font>("Bombardier");
// setup configuration
//--- Health Counter ---//
@@ -153,9 +154,13 @@ public class MeatKitPlugin : BaseUnityPlugin
"Set opacity of HP text to full and give it a shadow.");
//--- Take and Hold Info ---//
cfgShowLPC = Config.Bind("Take and Hold Info",
"Show player count in online leaderboards",
"Show Player Count in Online Leaderboards",
true,
"Shows the number of players in the currently selected TNH leaderboard.");
cfgInfoFollowCamera = Config.Bind("Take and Hold Info",
"Tilt Wrist Stats Towards Camera",
true,
"Tilt the extra wrist statistics from this mod towards the player's camera, allowing for easier readability.");
cfgShowTokens = Config.Bind("Take and Hold Info",
"Show Tokens",
true,