mirror of
https://gitgud.io/dastardlii/rjw-rbse.git
synced 2024-08-14 23:57:40 +00:00
DLL No longer needed with updates to RJW
This commit is contained in:
parent
1156b6e846
commit
0375b00f5c
7 changed files with 0 additions and 241 deletions
Binary file not shown.
|
@ -1,36 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
|
||||||
// set of attributes. Change these attribute values to modify the information
|
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("RJW_RBSE")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("RJW_RBSE")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
||||||
[assembly: Guid("e2f0b911-7ec5-41df-898f-7962e8b4cdf4")]
|
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
|
@ -1,85 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProjectGuid>{E2F0B911-7EC5-41DF-898F-7962E8B4CDF4}</ProjectGuid>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>dastardlii.RJW_RBSE</RootNamespace>
|
|
||||||
<AssemblyName>RJW_RBSE</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<Deterministic>true</Deterministic>
|
|
||||||
<TargetFrameworkProfile />
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<DebugSymbols>false</DebugSymbols>
|
|
||||||
<DebugType>none</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>Assemblies\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>none</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>Assemblies\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="0Harmony, Version=2.0.2.0, Culture=neutral, processorArchitecture=MSIL">
|
|
||||||
<HintPath>packages\Lib.Harmony.2.0.2\lib\net45\0Harmony.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Assembly-CSharp">
|
|
||||||
<HintPath>C:\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="HugsLib">
|
|
||||||
<HintPath>C:\Steam\steamapps\workshop\content\294100\818773962\Assemblies\HugsLib.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
<Reference Include="UnityEngine">
|
|
||||||
<HintPath>C:\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
|
|
||||||
<Private>False</Private>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<Compile Include="Source\Main.cs" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="About\About.xml" />
|
|
||||||
<Content Include="About\Preview.png" />
|
|
||||||
<Content Include="Changelog.txt" />
|
|
||||||
<Content Include="Defs\HediffDefs\Hediffs_AdvBionic.xml" />
|
|
||||||
<Content Include="Defs\HediffDefs\Hediffs_Synthetic.xml" />
|
|
||||||
<Content Include="Defs\RecipeDefs\Recipe_AdvMedTable.xml" />
|
|
||||||
<Content Include="Defs\RecipeDefs\Surgery_AdvBionic.xml" />
|
|
||||||
<Content Include="Defs\RecipeDefs\Surgery_Synthetic.xml" />
|
|
||||||
<Content Include="Defs\ThingDefs_Items\Items_AdvBionic.xml" />
|
|
||||||
<Content Include="Defs\ThingDefs_Items\Items_Synthetic.xml" />
|
|
||||||
<Content Include="Patches\Bodypart_Stats_Advanced.xml" />
|
|
||||||
<Content Include="Patches\Bodypart_Stats_Bionic.xml" />
|
|
||||||
<Content Include="Patches\Bodypart_Textures.xml" />
|
|
||||||
<Content Include="Patches\Hediff_Colors.xml" />
|
|
||||||
<Content Include="Patches\Operation_Research.xml" />
|
|
||||||
<Content Include="Textures\Things\Item\BodyPart\slimepart.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<ProjectView>ProjectFiles</ProjectView>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
25
RJW_RBSE.sln
25
RJW_RBSE.sln
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 15
|
|
||||||
VisualStudioVersion = 15.0.28307.902
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_RBSE", "RJW_RBSE.csproj", "{E2F0B911-7EC5-41DF-898F-7962E8B4CDF4}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{E2F0B911-7EC5-41DF-898F-7962E8B4CDF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{E2F0B911-7EC5-41DF-898F-7962E8B4CDF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{E2F0B911-7EC5-41DF-898F-7962E8B4CDF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{E2F0B911-7EC5-41DF-898F-7962E8B4CDF4}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
||||||
SolutionGuid = {9F904BC6-74A9-40DB-96DC-94F10C8B9E7B}
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
|
@ -1,85 +0,0 @@
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Linq;
|
|
||||||
using HarmonyLib;
|
|
||||||
using RimWorld;
|
|
||||||
using Verse;
|
|
||||||
|
|
||||||
namespace RJW_RBSE
|
|
||||||
{
|
|
||||||
[StaticConstructorOnStartup]
|
|
||||||
internal static class Startup
|
|
||||||
{
|
|
||||||
//Quick check to see if an another mod is loaded.
|
|
||||||
private static bool IsLoaded(string mod)
|
|
||||||
{
|
|
||||||
return LoadedModManager.RunningModsListForReading.Any(x => x.Name == mod);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void Fix_rjw_rbse_recipes()
|
|
||||||
{
|
|
||||||
//Log.Message("[RJW-RBSE] Startup::fix_recipes");
|
|
||||||
|
|
||||||
if (!IsLoaded("RimJobWorld"))
|
|
||||||
{
|
|
||||||
Log.Warning("[RJW-RBSE] RJW is not loaded!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!IsLoaded("Rah's Bionics and Surgery Expansion"))
|
|
||||||
{
|
|
||||||
Log.Warning("[RJW-RBSE] RBSE is not loaded!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//try
|
|
||||||
//{
|
|
||||||
// //Vanilla bench
|
|
||||||
// var fab_ben = DefDatabase<ThingDef>.GetNamed("FabricationBench");
|
|
||||||
|
|
||||||
// //EPOE bench
|
|
||||||
// var bio_ben = DefDatabase<ThingDef>.GetNamed("TableBionics", false);
|
|
||||||
|
|
||||||
// //RBSE benches
|
|
||||||
// var rbse_bio = DefDatabase<ThingDef>.GetNamed("BionicWorkbench", false);
|
|
||||||
// var rbse_adv = DefDatabase<ThingDef>.GetNamed("AdvancedMedicalStation", false);
|
|
||||||
|
|
||||||
// // Remove existing Bionic recipes
|
|
||||||
// (bio_ben ?? fab_ben).AllRecipes.Remove(DefDatabase<RecipeDef>.GetNamed("MakeBionicAnus"));
|
|
||||||
// (bio_ben ?? fab_ben).AllRecipes.Remove(DefDatabase<RecipeDef>.GetNamed("MakeBionicBreasts"));
|
|
||||||
// (bio_ben ?? fab_ben).AllRecipes.Remove(DefDatabase<RecipeDef>.GetNamed("MakeBionicPenis"));
|
|
||||||
// (bio_ben ?? fab_ben).AllRecipes.Remove(DefDatabase<RecipeDef>.GetNamed("MakeBionicVagina"));
|
|
||||||
|
|
||||||
// // Add recipes to RBSE bionics bench
|
|
||||||
// rbse_bio.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeBionicAnus"));
|
|
||||||
// rbse_bio.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeBionicBreasts"));
|
|
||||||
// rbse_bio.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeBionicPenis"));
|
|
||||||
// rbse_bio.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeBionicVagina"));
|
|
||||||
|
|
||||||
// // Add recipes to RBSE Advanced Medical bench
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeAdvancedBionicJaw"));
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeSyntheticUterus"));
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeSyntheticTesticles"));
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeAdvancedBionicPenis"));
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeAdvancedBionicVagina"));
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeAdvancedBionicBreasts"));
|
|
||||||
// // rbse_adv.AllRecipes.Add(DefDatabase<RecipeDef>.GetNamed("MakeAdvancedBionicAnus"));
|
|
||||||
//}
|
|
||||||
//catch
|
|
||||||
//{
|
|
||||||
// Log.Warning("[RJW-RBSE] Unable to fix RJW/RBSE recipes.");
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
static Startup()
|
|
||||||
{
|
|
||||||
//Log.Message("[RJW-RBSE] Startup::Startup() called");
|
|
||||||
|
|
||||||
Fix_rjw_rbse_recipes();
|
|
||||||
var har = new Harmony("rjw-rbse");
|
|
||||||
har.PatchAll(Assembly.GetExecutingAssembly());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="Lib.Harmony" version="2.0.2" targetFramework="net461" />
|
|
||||||
</packages>
|
|
Loading…
Reference in a new issue