Skip to content

Commit

Permalink
Expose GUID and VERSION constants; Deduplicate version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco committed Aug 29, 2024
1 parent c6e0ff2 commit a635cd5
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 16 deletions.
5 changes: 3 additions & 2 deletions AI_BetterPenetration/AI_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@

namespace AI_BetterPenetration
{
[BepInPlugin("animal42069.aibetterpenetration", "AI Better Penetration", VERSION)]
[BepInPlugin(GUID, "AI Better Penetration", VERSION)]
[BepInDependency("com.deathweasel.bepinex.uncensorselector", "3.10")]
[BepInDependency("com.rclcircuit.bepinex.modboneimplantor", "1.1.1")]
[BepInProcess("AI-Syoujyo")]
public class AI_BetterPenetration : BaseUnityPlugin
{
internal const string VERSION = "5.0.1.1";
public const string GUID = "animal42069.aibetterpenetration";
public const string VERSION = Constants.PluginVersion;
internal const int MaleLimit = 1;
internal const int FemaleLimit = 2;

Expand Down
4 changes: 2 additions & 2 deletions AI_Studio_BetterPenetration/AI_Studio_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ namespace AI_Studio_BetterPenetration
[BepInProcess("StudioNEOV2")]
public class AI_Studio_BetterPenetration : BaseUnityPlugin
{
internal const string GUID = "com.animal42069.studiobetterpenetration";
public const string GUID = "com.animal42069.studiobetterpenetration";
internal const string PluginName = "AI Studio Better Penetration";
internal const string VERSION = "5.0.1.1";
public const string VERSION = Constants.PluginVersion;
internal const string BEHAVIOR = "BetterPenetrationController";
internal const string StudioCategoryName = "Better Penetration";
internal static Harmony harmony;
Expand Down
11 changes: 11 additions & 0 deletions Core_BetterPenetration/Constants.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace Core_BetterPenetration
{
internal class Constants
{
#if KK || KKS || EC
public const string PluginVersion = "4.5.5.1";
#else
public const string PluginVersion = "5.0.1.1";
#endif
}
}
1 change: 1 addition & 0 deletions Core_BetterPenetration/Core_BetterPenetration.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<Compile Include="$(MSBuildThisFileDirectory)CollisionOptions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)CollisionPoint.cs" />
<Compile Include="$(MSBuildThisFileDirectory)CollisionPoints.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Constants.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ControllerOptions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)CoreGame.cs" />
<Compile Include="$(MSBuildThisFileDirectory)DanAgent.cs" />
Expand Down
5 changes: 3 additions & 2 deletions HS2_BetterPenetration/HS2_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@

namespace HS2_BetterPenetration
{
[BepInPlugin("animal42069.HS2betterpenetration", "HS2 Better Penetration", VERSION)]
[BepInPlugin(GUID, "HS2 Better Penetration", VERSION)]
[BepInDependency("com.deathweasel.bepinex.uncensorselector", "3.10")]
[BepInDependency("com.rclcircuit.bepinex.modboneimplantor", "1.1.1")]
[BepInProcess("HoneySelect2")]
[BepInProcess("HoneySelect2VR")]
public class HS2_BetterPenetration : BaseUnityPlugin
{
internal const string VERSION = "5.0.1.1";
public const string GUID = "animal42069.HS2betterpenetration";
public const string VERSION = Constants.PluginVersion;
internal const int MaleLimit = 2;
internal const int FemaleLimit = 2;

Expand Down
4 changes: 2 additions & 2 deletions HS2_Studio_BetterPenetration/HS2_Studio_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ namespace HS2_Studio_BetterPenetration
[BepInProcess("StudioNEOV2")]
public class HS2_Studio_BetterPenetration : BaseUnityPlugin
{
internal const string GUID = "com.animal42069.studiobetterpenetration";
public const string GUID = "com.animal42069.studiobetterpenetration";
internal const string PluginName = "HS2 Studio Better Penetration";
internal const string VERSION = "5.0.1.1";
public const string VERSION = Constants.PluginVersion;
internal const string BEHAVIOR = "BetterPenetrationController";
internal const string StudioCategoryName = "Better Penetration";
internal static Harmony harmony;
Expand Down
5 changes: 3 additions & 2 deletions KKS_BetterPenetration/KKS_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace KKS_BetterPenetration
{
[BepInPlugin("animal42069.KKSbetterpenetration", "KKS Better Penetration", VERSION)]
[BepInPlugin(GUID, "KKS Better Penetration", VERSION)]
[BepInDependency("com.deathweasel.bepinex.uncensorselector", "3.11.1")]
[BepInDependency("com.rclcircuit.bepinex.modboneimplantor", "1.1.1")]
[BepInProcess("KoikatsuSunshine")]
Expand All @@ -20,7 +20,8 @@ public class KKS_BetterPenetration : BaseUnityPlugin
{
public static KKS_BetterPenetration instance;

internal const string VERSION = "4.5.5.1";
public const string GUID = "animal42069.KKSbetterpenetration";
public const string VERSION = Constants.PluginVersion;
internal const int MaleLimit = 2;
internal const int FemaleLimit = 2;

Expand Down
4 changes: 2 additions & 2 deletions KKS_Studio_BetterPenetration/KKS_Studio_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace KKS_Studio_BetterPenetration
[BepInProcess("CharaStudio")]
public class KKS_Studio_BetterPenetration : BaseUnityPlugin
{
internal const string GUID = "com.animal42069.kksstudiobetterpenetration";
public const string GUID = "com.animal42069.kksstudiobetterpenetration";
internal const string PluginName = "KKS Studio Better Penetration";
internal const string VERSION = "4.5.5.1";
public const string VERSION = Constants.PluginVersion;
internal const string BEHAVIOR = "BetterPenetrationController";
internal const string StudioCategoryName = "Better Penetration";
internal static Harmony harmony;
Expand Down
5 changes: 3 additions & 2 deletions KK_BetterPenetration/KK_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace KK_BetterPenetration
{
[BepInPlugin("animal42069.KKbetterpenetration", "KK Better Penetration", VERSION)]
[BepInPlugin(GUID, "KK Better Penetration", VERSION)]
[BepInDependency("com.deathweasel.bepinex.uncensorselector", "3.11.1")]
[BepInDependency("com.rclcircuit.bepinex.modboneimplantor", "1.1.1")]
[BepInProcess("Koikatu")]
Expand All @@ -22,7 +22,8 @@ public class KK_BetterPenetration : BaseUnityPlugin
{
public static KK_BetterPenetration instance;

internal const string VERSION = "4.5.5.1";
public const string GUID = "animal42069.KKbetterpenetration";
public const string VERSION = Constants.PluginVersion;
internal const int MaleLimit = 2;
internal const int FemaleLimit = 2;

Expand Down
4 changes: 2 additions & 2 deletions KK_Studio_BetterPenetration/KK_Studio_BetterPenetration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ namespace KK_Studio_BetterPenetration
[BepInProcess("CharaStudio")]
public class KK_Studio_BetterPenetration : BaseUnityPlugin
{
internal const string GUID = "com.animal42069.kkstudiobetterpenetration";
public const string GUID = "com.animal42069.kkstudiobetterpenetration";
internal const string PluginName = "KK Studio Better Penetration";
internal const string VERSION = "4.5.5.1";
public const string VERSION = Constants.PluginVersion;
internal const string BEHAVIOR = "BetterPenetrationController";
internal const string StudioCategoryName = "Better Penetration";
internal static Harmony harmony;
Expand Down

0 comments on commit a635cd5

Please sign in to comment.