diff --git a/DLL_Project/Buildings/Building_AutomatedFactory.cs b/DLL_Project/Buildings/Building_AutomatedFactory.cs index 668b286..8097929 100644 --- a/DLL_Project/Buildings/Building_AutomatedFactory.cs +++ b/DLL_Project/Buildings/Building_AutomatedFactory.cs @@ -1,4 +1,9 @@ -using System; +// Enable this define to do a whole bunch of debug logging +#if DEVELOPER +//#define _I_AM_A_POTATO_ +#endif + +using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; @@ -559,7 +564,7 @@ private void RescanTick() public void ResetAndReprogramHoppers() { -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0}\n{1}", this.ThingID, Environment.StackTrace ), "Building_AutomatedFactory.ResetAndReprogramHoppers()" @@ -1238,7 +1243,7 @@ public bool ConsiderFor( ThingDef product, Pawn pawn ) { if( consideration.ConsideredBy != pawn ) { -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} could not consider {1} for {2} because it is already reserved by {3} for {4}\n{5}", @@ -1256,7 +1261,7 @@ public bool ConsiderFor( ThingDef product, Pawn pawn ) } } consideration = new Consideration( pawn, product ); -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} is now considering {1} for {2}\n{3}", pawn.LabelShort, this.ThingID, product.defName, Environment.StackTrace ), "Building_AutomatedFactory.ConsiderFor" @@ -1335,7 +1340,7 @@ public bool ReserveForUseBy( Pawn pawn, ThingDef product { if( consideration.ConsideredBy != pawn ) { -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} could not reserve {1} for {2} because it is already reserved by {3} for {4}\n{5}", @@ -1353,7 +1358,7 @@ public bool ReserveForUseBy( Pawn pawn, ThingDef product } } consideration = new Consideration( pawn, product, true ); -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} has now reserved {1} for {2}\n{3}", pawn.LabelShort, this.ThingID, product.defName, Environment.StackTrace ), "Building_AutomatedFactory.ReserveForUseBy" @@ -1367,7 +1372,7 @@ public bool ReserveForUseBy( Pawn pawn, ThingDef product private void ReleaseFromUseByInt( Pawn pawn, bool releaseFromManager = false ) { -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} is no longer reserving {1} for {2}\n{3}", @@ -1393,7 +1398,7 @@ public void ReleaseFromUseBy( Pawn pawn, bool releaseFro { if( !IsReservedBy( pawn ) ) { -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} could not release {1} because it is reserved by {2}\n{3}", @@ -1415,7 +1420,7 @@ public Thing TryProduceAndReleaseFor( Pawn pawn, bool rel //Log.Message( string.Format( "{0}.TryProduceAndReleaseBy( {1} )", this.ThingID, pawn == null ? "null" : pawn.NameStringShort ) ); if( !IsReservedBy( pawn ) ) { -#if DEVELOPER +#if _I_AM_A_POTATO_ CCL_Log.Message( string.Format( "{0} could not take from and release {1} because it is reserved by {2}\n{3}", diff --git a/DLL_Project/Classes/Static/CCL_Log.cs b/DLL_Project/Classes/Static/CCL_Log.cs index 4b3d004..99e7e34 100644 --- a/DLL_Project/Classes/Static/CCL_Log.cs +++ b/DLL_Project/Classes/Static/CCL_Log.cs @@ -1,5 +1,6 @@ using System; using System.IO; +using System.Collections.Generic; using System.Text; using Verse; @@ -19,6 +20,13 @@ public class LogStream public int indent; } + private enum MessageClass + { + Message, + Warning, + Error + } + public const string cclLogFileName = "ccl_log.txt"; private static LogStream cclStream; @@ -105,9 +113,9 @@ public static void Write( string s, LogStream stream = null ) } #endif - public static bool AppendSection( ref StringBuilder s, string str, bool addSectionDivider = true ) + public static bool AppendSection( ref StringBuilder s, string str, bool prependSectionDivider = true ) { - if( addSectionDivider ) + if( prependSectionDivider ) { s.Append( " :: " ); } @@ -115,9 +123,9 @@ public static bool AppendSection( ref StringBuilder s, string s return true; } - public static bool AppendSectionNewLine( ref StringBuilder s, string str, bool addSectionDivider = true ) + public static bool AppendSectionNewLine( ref StringBuilder s, string str, bool prependSectionDivider = true ) { - if( addSectionDivider ) + if( prependSectionDivider ) { s.Append( " :: " ); } @@ -165,16 +173,33 @@ private static void AppendTrace( ref StringBuilder s, ModContent } */ - public static StringBuilder BaseMessage( string content = null, string category = null ) + private static StringBuilder BaseMessage( string content = null, string category = null, MessageClass messageClass = MessageClass.Message ) { var s = new StringBuilder(); s.Append( Controller.Data.UnityObjectName ); + if( + ( Current.Game != null )&& + ( Find.TickManager != null ) + ) + { + AppendSection( ref s, string.Format( "TicksGame = {0}", Find.TickManager.TicksGame ) ); + } + if( category != null ) { AppendSection( ref s, category ); } + if( messageClass == MessageClass.Error ) + { + AppendSection( ref s, "(Error)" ); + } + if( messageClass == MessageClass.Warning ) + { + AppendSection( ref s, "(Warning)" ); + } + if( content != null ) { AppendSection( ref s, content ); @@ -183,33 +208,38 @@ public static StringBuilder BaseMessage( string content = null, string c return s; } + private static List captureStack = new List(); private static StringBuilder captureTarget = null; private static Verbosity captureVerbosity = Verbosity.Default; public static bool CaptureBegin( StringBuilder target ) { - if( captureTarget == null ) + if( target == null ) { - captureTarget = target; - captureVerbosity = Verbosity.Default; - return true; + CCL_Log.Error( "Cannot set CaptureBegin( target ) to null", "Log Capture" ); + return false; } - if( captureTarget == target ) + if( captureStack.Contains( target ) ) { - CCL_Log.Error( "Already capturing log", "Log Capture" ); + captureTarget = target; return true; } - return false; + captureStack.Insert( 0, target ); + captureTarget = captureStack[ 0 ]; + return true; } public static bool CaptureEnd( StringBuilder target, string status = "" ) { - if( captureTarget == null ) + if( captureStack.NullOrEmpty() ) { CCL_Log.Error( "Log isn't being captured, no need to end capture", "Log Capture" ); - return true; + return false; } - if( captureTarget != target ) + if( + ( captureStack[ 0 ] != target )&& + ( captureTarget != target ) + ) { CCL_Log.Error( "Cannot end a capture on a different object", "Log Capture" ); return false; @@ -217,7 +247,14 @@ public static bool CaptureEnd( StringBuilder target, string sta var captureStatus = status + "\n"; captureTarget.Insert( 0, captureStatus ); captureVerbosity = Verbosity.Default; - captureTarget = null; + if( captureStack[ 0 ] == target ) + { + captureStack.RemoveAt( 0 ); + } + if( captureTarget == target ) + { + captureTarget = captureStack.Count > 0 ? captureStack[ 0 ] : null; + } return true; } @@ -241,7 +278,7 @@ public static void Message( string content, string category = n bool prefixNext = false; if( category != null ) { - prefixNext = AppendSection( ref s, category, false ); + prefixNext = AppendSection( ref s, category, prefixNext ); } AppendSectionNewLine( ref s, content, prefixNext ); } @@ -255,7 +292,7 @@ public static void Error( string content, string category = nul var s = captureTarget; if( s == null ) { - s = BaseMessage( content, category ); + s = BaseMessage( content, category, MessageClass.Error ); Verse.Log.Error( s.ToString() ); #if DEBUG Write( s.ToString() ); @@ -264,10 +301,36 @@ public static void Error( string content, string category = nul else { s.Append( "\t" ); - bool prefixNext = false; + bool prefixNext = AppendSection( ref s, "(Error)", false ); + if( category != null ) + { + prefixNext = AppendSection( ref s, category, prefixNext ); + } + AppendSectionNewLine( ref s, content, prefixNext ); + } + } + + /// + /// Write a warning => Community Core Library :: category(nullable) :: content + /// + public static void Warning( string content, string category = null ) + { + var s = captureTarget; + if( s == null ) + { + s = BaseMessage( content, category, MessageClass.Warning ); + Verse.Log.Warning( s.ToString() ); +#if DEBUG + Write( s.ToString() ); + #endif + } + else + { + s.Append( "\t" ); + bool prefixNext = AppendSection( ref s, "(Warning)", false ); if( category != null ) { - prefixNext = AppendSection( ref s, category, false ); + prefixNext = AppendSection( ref s, category, prefixNext ); } AppendSectionNewLine( ref s, content, prefixNext ); } diff --git a/DLL_Project/Classes/Static/HelpBuilder.cs b/DLL_Project/Classes/Static/HelpBuilder.cs index 7dc08ba..9aaa8ed 100644 --- a/DLL_Project/Classes/Static/HelpBuilder.cs +++ b/DLL_Project/Classes/Static/HelpBuilder.cs @@ -446,7 +446,7 @@ static void ResolveAdvancedResearch() // Get advanced research database var advancedResearchDefs = Controller.Data.AdvancedResearchDefs.Where( a => ( - ( a.ResearchConsolidator == a )&& + ( a.HelpConsolidator == a )&& ( a.HasHelp ) ) ).ToList(); diff --git a/DLL_Project/CommunityCoreLibrary.csproj b/DLL_Project/CommunityCoreLibrary.csproj index 774feff..3400dfc 100644 --- a/DLL_Project/CommunityCoreLibrary.csproj +++ b/DLL_Project/CommunityCoreLibrary.csproj @@ -262,7 +262,7 @@ - + @@ -337,6 +337,10 @@ + + + + - - HideCryptoSleep - -1 - - -
  • Cryptosleep
  • -
  • AncientTechnology
  • -
    - - true - - true - - Completion of this project allows you to build the ancient crytosleep casket which will replace the regular one. - - -
  • CryptosleepCasket
  • -
    - - - - - - - BuildAncientCryptoSleep - 0 - - -
  • Cryptosleep
  • -
  • AncientTechnology
  • -
    - - -
  • AncientCryptosleepCasket
  • -
    - -
    - - \ No newline at end of file diff --git a/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/About/About.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/About/About.xml new file mode 100644 index 0000000..2a26d40 --- /dev/null +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/About/About.xml @@ -0,0 +1,26 @@ + + + Example 13 - Food & Drug Synthesizer + RimWorld CCL Team + n/a + 0.15.1284 + +This is an example of a food and drug synthesizer. + +Demonstrates: + Requiring linked facilities for recipes (AdvancedRecipeDef) + Unlocking recipes on buildings requiring multiple research projects (AdvancedResearchDef) + Creating a machine which can dispense food & drugs to pawns: + Building_AutomatedFactory + CompAutomatedFactory + CompHopperUser + CompProperties_AffectedByFacilities + CompProperties_AutomatedFactory + IHopperUser (Building_AutomatedFactory) + ITab_AutomatedFactory + PlaceWorker_HopperMagnifier + Injecting a link to a facility into an building (ModHelperDef; SequencedInjectionSet_Facility) + Changing the designation category of a ThingDef (ModHelperDef; SequencedInjectionSet_ThingDefAvailability) + + + \ No newline at end of file diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/ARD_Synthesizer_Drugs.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/Example_13_ARD_Synthesizer_Drugs.xml similarity index 58% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/ARD_Synthesizer_Drugs.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/Example_13_ARD_Synthesizer_Drugs.xml index 8057016..f084dee 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/ARD_Synthesizer_Drugs.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/Example_13_ARD_Synthesizer_Drugs.xml @@ -3,120 +3,120 @@ - AdvancedDrugSynthesis + Example_13_AdvancedDrugSynthesis 0 -
  • DrugSynthesis
  • +
  • Example_13_DrugSynthesis
  • -
  • SynthesizeSmokeleafJoint
  • +
  • Example_13_SynthesizeSmokeleafJoint
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • - AdvancedDrugSynthesisBeer + Example_13_AdvancedDrugSynthesisBeer 0 -
  • DrugSynthesis
  • +
  • Example_13_DrugSynthesis
  • Brewing
  • -
  • SynthesizeBeer
  • +
  • Example_13_SynthesizeBeer
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • - AdvancedDrugSynthesisMalariBlock + Example_13_AdvancedDrugSynthesisMalariBlock 0 -
  • DrugSynthesis
  • +
  • Example_13_DrugSynthesis
  • MalariBlockProduction
  • -
  • SynthesizeMalariBlock
  • +
  • Example_13_SynthesizeMalariBlock
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • - AdvancedDrugSynthesisPsychite + Example_13_AdvancedDrugSynthesisPsychite 0 -
  • DrugSynthesis
  • +
  • Example_13_DrugSynthesis
  • PsychiteRefining
  • -
  • SynthesizeFlake
  • -
  • SynthesizeYayo
  • +
  • Example_13_SynthesizeFlake
  • +
  • Example_13_SynthesizeYayo
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • - AdvancedDrugSynthesisGoJuice + Example_13_AdvancedDrugSynthesisGoJuice 0 -
  • DrugSynthesis
  • +
  • Example_13_DrugSynthesis
  • GoJuiceProduction
  • -
  • SynthesizeGoJuice
  • +
  • Example_13_SynthesizeGoJuice
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • - AdvancedDrugSynthesisWakeUp + Example_13_AdvancedDrugSynthesisWakeUp 0 -
  • DrugSynthesis
  • +
  • Example_13_DrugSynthesis
  • WakeUpProduction
  • -
  • SynthesizeWakeUp
  • +
  • Example_13_SynthesizeWakeUp
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/ARD_Synthesizer_Meals.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/Example_13_ARD_Synthesizer_Meals.xml similarity index 57% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/ARD_Synthesizer_Meals.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/Example_13_ARD_Synthesizer_Meals.xml index e2c4ca8..3f65d94 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/ARD_Synthesizer_Meals.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/AdvancedResearchDefs/Example_13_ARD_Synthesizer_Meals.xml @@ -3,38 +3,38 @@ - AdvancedFineMealSynthesis + Example_13_AdvancedFineMealSynthesis 0 -
  • FineMealSynthesis
  • +
  • Example_13_FineMealSynthesis
  • -
  • SynthesizeMealFine
  • +
  • Example_13_SynthesizeMealFine
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • - AdvancedLavishMealSynthesis + Example_13_AdvancedLavishMealSynthesis 0 -
  • LavishMealSynthesis
  • +
  • Example_13_LavishMealSynthesis
  • -
  • SynthesizeMealLavish
  • +
  • Example_13_SynthesizeMealLavish
  • -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ModHelperDefs/MHD_Synthesizer.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ModHelperDefs/Example_13_MHD_Synthesizer.xml similarity index 84% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ModHelperDefs/MHD_Synthesizer.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ModHelperDefs/Example_13_MHD_Synthesizer.xml index 6dcb23b..f8967a1 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ModHelperDefs/MHD_Synthesizer.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ModHelperDefs/Example_13_MHD_Synthesizer.xml @@ -2,9 +2,9 @@ - MHDSynthesizer + Example_13_MHD_Synthesizer - Building Automated Factory - Example 1 - Food & Drug Synthesizer + Example 13 - Food & Drug Synthesizer 0.15.0 @@ -24,7 +24,7 @@
  • MultiAnalyzer -
  • Synthesizer
  • +
  • Example_13_Synthesizer
  • diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/RecipeDefs/RD_Synthesizer_Drugs.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/RecipeDefs/Example_13_RD_Synthesizer_Drugs.xml similarity index 85% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/RecipeDefs/RD_Synthesizer_Drugs.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/RecipeDefs/Example_13_RD_Synthesizer_Drugs.xml index 2f034f7..2d15648 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/RecipeDefs/RD_Synthesizer_Drugs.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/RecipeDefs/Example_13_RD_Synthesizer_Drugs.xml @@ -1,18 +1,18 @@  - + false
  • MultiAnalyzer
  • - - SynthesizeBeer + + Example_13_SynthesizeBeer - synthesizes beer from hops. - Synthesizing beer. + synthesizes a beer from hops. + Synthesizing a beer. 100
  • @@ -34,8 +34,8 @@ - - SynthesizeFlake + + Example_13_SynthesizeFlake synthesizes flake from psychoid leaves. Synthesizing flake. @@ -60,8 +60,8 @@ - - SynthesizeYayo + + Example_13_SynthesizeYayo synthesizes yayo from psychoid leaves. Synthesizing yayo. @@ -86,8 +86,8 @@ - - SynthesizeGoJuice + + Example_13_SynthesizeGoJuice synthesizes go-juice from neutroamine and psychoid leaves. Synthesizing go-juice. @@ -121,8 +121,8 @@ - - SynthesizeMalariBlock + + Example_13_SynthesizeMalariBlock synthesizes malari-block from neutroamine. Synthesizing malari-block. @@ -147,11 +147,11 @@ - - SynthesizeSmokeleafJoint + + Example_13_SynthesizeSmokeleafJoint - synthesizes smokeleaf joint from smokeleaf leaves. - Synthesizing smokeleaf joint. + synthesizes a smokeleaf joint from smokeleaf leaves. + Synthesizing a smokeleaf joint. 100
  • @@ -173,8 +173,8 @@ - - SynthesizeWakeUp + + Example_13_SynthesizeWakeUp synthesizes wake-up from neutroamine. Synthesizing wake-up. diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/RecipeDefs/RD_Synthesizer_Food.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/RecipeDefs/Example_13_RD_Synthesizer_Food.xml similarity index 88% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/RecipeDefs/RD_Synthesizer_Food.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/RecipeDefs/Example_13_RD_Synthesizer_Food.xml index c8341a3..5a41d17 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/RecipeDefs/RD_Synthesizer_Food.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/RecipeDefs/Example_13_RD_Synthesizer_Food.xml @@ -1,7 +1,7 @@  - + true IngredientValueGetter_Nutrition @@ -22,12 +22,13 @@
  • Human_Meat
  • Hay
  • +
  • InsectMeat
  • - - SynthesizeMealSimple + + Example_13_SynthesizeMealSimple Synthesizes a straightforward meal from one ingredient. Synthesizing simple meal. @@ -47,8 +48,8 @@ 200 - - SynthesizeMealFine + + Example_13_SynthesizeMealFine Synthesizes a somewhat complex meal from a combination of raw meat and raw plant ingredients. Synthesizing fine meal. @@ -77,8 +78,8 @@ 275 - - SynthesizeMealLavish + + Example_13_SynthesizeMealLavish Synthesizes a very complex meal from a combination of raw meat and raw plant ingredients. Unlike a cooked meal, none of the ingredients are wasted but it still requires more ingredients than a fine meal. Synthesizing lavish meal. diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ResearchProjectDefs/RD_Synthesizer.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ResearchProjectDefs/Example_13_RPD_Synthesizer.xml similarity index 65% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ResearchProjectDefs/RD_Synthesizer.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ResearchProjectDefs/Example_13_RPD_Synthesizer.xml index ac1be21..66b7d63 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ResearchProjectDefs/RD_Synthesizer.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ResearchProjectDefs/Example_13_RPD_Synthesizer.xml @@ -3,13 +3,13 @@ - + Spacer HiTechResearchBench - - MealSynthesis + + Example_13_MealSynthesis Synthesizers can be built which can create actual meals instead of just disgusting paste. 1000 @@ -20,42 +20,42 @@ - - FineMealSynthesis + + Example_13_FineMealSynthesis Fine meals can be synthesized at synthesizers. 2000 -
  • MealSynthesis
  • +
  • Example_13_MealSynthesis
  • MultiAnalyzer
  • - +
  • MultiAnalyzer
  • - - LavishMealSynthesis + + Example_13_LavishMealSynthesis Lavish meals can be synthesized at synthesizers. 3000 -
  • FineMealSynthesis
  • +
  • Example_13_FineMealSynthesis
  • - - DrugSynthesis + + Example_13_DrugSynthesis Synthesizers will be able to also synthesize drugs from the simple to the complex. 2500 -
  • MealSynthesis
  • +
  • Example_13_MealSynthesis
  • DrugProduction
  • MultiAnalyzer
  • diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ThingDefs/TD_Synthesizer.xml b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ThingDefs/Example_13_TD_Synthesizer.xml similarity index 87% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ThingDefs/TD_Synthesizer.xml rename to _Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ThingDefs/Example_13_TD_Synthesizer.xml index 8fc9015..2e8dcf1 100644 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/Defs/ThingDefs/TD_Synthesizer.xml +++ b/_Mod/Modders Resource/Examples/Example 13 - Food & Drug Synthesizer/Defs/ThingDefs/Example_13_TD_Synthesizer.xml @@ -1,7 +1,7 @@  - + Building BulletImpactMetal true @@ -12,8 +12,8 @@ BuildingRubble - - Synthesizer + + Example_13_Synthesizer CommunityCoreLibrary.Building_AutomatedFactory @@ -48,6 +48,11 @@
  • +
  • + +
  • MultiAnalyzer
  • + +
  • CommunityCoreLibrary.CompHopperUser
  • @@ -56,14 +61,6 @@ DirectToPawn PawnInteractionOnly -
  • - - true - -
  • MultiAnalyzer
  • -
  • VitalsMonitor
  • - - (3,4) @@ -79,10 +76,10 @@
  • CommunityCoreLibrary.PlaceWorker_HopperMagnifier
  • -
  • SynthesizeMealSimple
  • +
  • Example_13_SynthesizeMealSimple
  • -
  • MealSynthesis
  • +
  • Example_13_MealSynthesis
  • CommunityCoreLibrary.ITab_AutomatedFactory
  • diff --git a/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/About/About.xml b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/About/About.xml new file mode 100644 index 0000000..4a86320 --- /dev/null +++ b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/About/About.xml @@ -0,0 +1,15 @@ + + + Example 5 - Ancient Cryptosleep + RimWorld CCL Team + n/a + 0.15.1284 + +This is an example of how to lock and unlock buildings as research is completed. + +Demonstrates: + Locking and unlocking buildings in the architect menu requiring multiple research projects (AdvancedResearchDef) + Creating automatic help menu entries for groups of research (AdvancedResearchDef) + Changing the designation category of a ThingDef (ModHelperDef; SequencedInjectionSet_ThingDefAvailability) + + \ No newline at end of file diff --git a/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/AdvancedResearchDefs/Example_13_ARD_Crypto.xml b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/AdvancedResearchDefs/Example_13_ARD_Crypto.xml new file mode 100644 index 0000000..65d23d9 --- /dev/null +++ b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/AdvancedResearchDefs/Example_13_ARD_Crypto.xml @@ -0,0 +1,81 @@ + + + + + + + Example_5_HideCryptosleep + + + -1 + + + +
  • Cryptosleep
  • +
  • Example_5_AncientTechnology
  • +
    + + + true + + + true + + Completion of this project allows you to build the ancient crytosleep casket which will replace the regular one. + + + +
  • CryptosleepCasket
  • +
    + +
    + + + + + Example_5_BuildAncientCryptoSleep + + + 0 + + + +
  • Example_5_AncientTechnology
  • +
  • Cryptosleep
  • +
    + + + +
  • AncientCryptosleepCasket
  • +
    + +
    + +
    \ No newline at end of file diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Advanced Research - Example 1 - Locking and Unlocking Buildings/Defs/ModHelperDefs/Building_Example.xml b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/ModHelperDefs/Example_5_MHD_Crypto.xml similarity index 82% rename from _Mod/Modders Resource/Examples/Advanced Research/Advanced Research - Example 1 - Locking and Unlocking Buildings/Defs/ModHelperDefs/Building_Example.xml rename to _Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/ModHelperDefs/Example_5_MHD_Crypto.xml index 01f9693..ba6946a 100644 --- a/_Mod/Modders Resource/Examples/Advanced Research/Advanced Research - Example 1 - Locking and Unlocking Buildings/Defs/ModHelperDefs/Building_Example.xml +++ b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/ModHelperDefs/Example_5_MHD_Crypto.xml @@ -2,9 +2,9 @@ - AdvancedResearchBuildingExample + Example_5_MHD_AncientCryptosleep - Advanced Research Building Example + Example 5 - Ancient Cryptosleep 0.15.0 diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Advanced Research - Example 1 - Locking and Unlocking Buildings/Defs/ResearchProjectDefs/Building_Example.xml b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/ResearchProjectDefs/Example_5_RPD_Crypto.xml similarity index 85% rename from _Mod/Modders Resource/Examples/Advanced Research/Advanced Research - Example 1 - Locking and Unlocking Buildings/Defs/ResearchProjectDefs/Building_Example.xml rename to _Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/ResearchProjectDefs/Example_5_RPD_Crypto.xml index 87c6b73..1dfb64c 100644 --- a/_Mod/Modders Resource/Examples/Advanced Research/Advanced Research - Example 1 - Locking and Unlocking Buildings/Defs/ResearchProjectDefs/Building_Example.xml +++ b/_Mod/Modders Resource/Examples/Example 5 - Ancient Crytosleep/Defs/ResearchProjectDefs/Example_5_RPD_Crypto.xml @@ -2,11 +2,11 @@ - AncientTechnology + Example_5_AncientTechnology This will unlock the secrets of ancient technologies which have been lost though time. "What has been will be again, what has been done will be done again; there is nothing new under the sun." Ecclesiastes 1:9 - 1 + 1500 Industrial diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Recipe Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Recipe Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/AdvancedResearchDefs/Recipe_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/AdvancedResearchDefs/Recipe_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/AdvancedResearchDefs/Recipe_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/AdvancedResearchDefs/Recipe_Example.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/ModHelperDefs/Recipe_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/ModHelperDefs/Recipe_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/ModHelperDefs/Recipe_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/ModHelperDefs/Recipe_Example.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/RecipeDefs/Recipe_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/RecipeDefs/Recipe_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/RecipeDefs/Recipe_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/RecipeDefs/Recipe_Example.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/ResearchProjectDefs/Recipe_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/ResearchProjectDefs/Recipe_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/ResearchProjectDefs/Recipe_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/ResearchProjectDefs/Recipe_Example.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/ThingDefs/Recipe_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/ThingDefs/Recipe_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Recipe Example/Defs/ThingDefs/Recipe_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Recipe Example/Defs/ThingDefs/Recipe_Example.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Research Project Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Research Project Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Exclusive.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Exclusive.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Exclusive.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Exclusive.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Inclusive.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Inclusive.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Inclusive.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/AdvancedResearchDefs/AdvancedResearch_Inclusive.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/ModHelperDefs/Research_Project_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/ModHelperDefs/Research_Project_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/ModHelperDefs/Research_Project_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/ModHelperDefs/Research_Project_Example.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Exclusive.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Exclusive.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Exclusive.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Exclusive.xml diff --git a/_Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Inclusive.xml b/_Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Inclusive.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Inclusive.xml rename to _Mod/Modders Resource/Examples/Old Examples/Advanced Research/Research Project Example/Defs/ResearchProjectDefs/ResearchProjects_Inclusive.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/BackstoryDef Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/BackstoryDef Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/BackstoryDef Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/BackstoryDef Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/BackstoryDef Example/Defs/BackstoryDefs/BackstoryDef.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/BackstoryDef Example/Defs/BackstoryDefs/BackstoryDef.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/BackstoryDef Example/Defs/BackstoryDefs/BackstoryDef.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/BackstoryDef Example/Defs/BackstoryDefs/BackstoryDef.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/NameDef Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/NameDef Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/NameDef Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/NameDef Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/NameDef Example/Defs/NameDefs/NameDefTemplate.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/NameDef Example/Defs/NameDefs/NameDefTemplate.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/NameDef Example/Defs/NameDefs/NameDefTemplate.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/NameDef Example/Defs/NameDefs/NameDefTemplate.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/PawnBio Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/PawnBio Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/PawnBio Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/PawnBio Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/PawnBio Example/Defs/BackstoryDefs/BackstoryDef.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/PawnBio Example/Defs/BackstoryDefs/BackstoryDef.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/PawnBio Example/Defs/BackstoryDefs/BackstoryDef.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/PawnBio Example/Defs/BackstoryDefs/BackstoryDef.xml diff --git a/_Mod/Modders Resource/Examples/Backstories/PawnBio Example/Defs/PawnBioDefs/PawnBioDef.xml b/_Mod/Modders Resource/Examples/Old Examples/Backstories/PawnBio Example/Defs/PawnBioDefs/PawnBioDef.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Backstories/PawnBio Example/Defs/PawnBioDefs/PawnBioDef.xml rename to _Mod/Modders Resource/Examples/Old Examples/Backstories/PawnBio Example/Defs/PawnBioDefs/PawnBioDef.xml diff --git a/_Mod/Modders Resource/Examples/ModHelpers/Facility Injector/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ModHelpers/Facility Injector/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ModHelpers/Facility Injector/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ModHelpers/Facility Injector/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ModHelpers/Facility Injector/Defs/ModHelperDefs/Facility_Injector.xml b/_Mod/Modders Resource/Examples/Old Examples/ModHelpers/Facility Injector/Defs/ModHelperDefs/Facility_Injector.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ModHelpers/Facility Injector/Defs/ModHelperDefs/Facility_Injector.xml rename to _Mod/Modders Resource/Examples/Old Examples/ModHelpers/Facility Injector/Defs/ModHelperDefs/Facility_Injector.xml diff --git a/_Mod/Modders Resource/Examples/ModHelpers/ThingComp Injection/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ModHelpers/ThingComp Injection/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ModHelpers/ThingComp Injection/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ModHelpers/ThingComp Injection/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ModHelpers/ThingComp Injection/Defs/ModHelperDefs/ModHelper.xml b/_Mod/Modders Resource/Examples/Old Examples/ModHelpers/ThingComp Injection/Defs/ModHelperDefs/ModHelper.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ModHelpers/ThingComp Injection/Defs/ModHelperDefs/ModHelper.xml rename to _Mod/Modders Resource/Examples/Old Examples/ModHelpers/ThingComp Injection/Defs/ModHelperDefs/ModHelper.xml diff --git a/_Mod/Modders Resource/Examples/ModHelpers/Trader Injector/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ModHelpers/Trader Injector/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ModHelpers/Trader Injector/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ModHelpers/Trader Injector/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ModHelpers/Trader Injector/Defs/ModHelperDefs/Trader_Injector.xml b/_Mod/Modders Resource/Examples/Old Examples/ModHelpers/Trader Injector/Defs/ModHelperDefs/Trader_Injector.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ModHelpers/Trader Injector/Defs/ModHelperDefs/Trader_Injector.xml rename to _Mod/Modders Resource/Examples/Old Examples/ModHelpers/Trader Injector/Defs/ModHelperDefs/Trader_Injector.xml diff --git a/_Mod/Modders Resource/Examples/Outfits/OutfitDef Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Outfits/OutfitDef Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Outfits/OutfitDef Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Outfits/OutfitDef Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Outfits/OutfitDef Example/Defs/OutfitDefs/OutfitDef.xml b/_Mod/Modders Resource/Examples/Old Examples/Outfits/OutfitDef Example/Defs/OutfitDefs/OutfitDef.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Outfits/OutfitDef Example/Defs/OutfitDefs/OutfitDef.xml rename to _Mod/Modders Resource/Examples/Old Examples/Outfits/OutfitDef Example/Defs/OutfitDefs/OutfitDef.xml diff --git a/_Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/About/About.xml diff --git a/_Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ModHelperDefs/PlaceWorker_Restrictions_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ModHelperDefs/PlaceWorker_Restrictions_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ModHelperDefs/PlaceWorker_Restrictions_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ModHelperDefs/PlaceWorker_Restrictions_Example.xml diff --git a/_Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/TerrainDefs/PlaceWorker_Restrictions_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/TerrainDefs/PlaceWorker_Restrictions_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/TerrainDefs/PlaceWorker_Restrictions_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/TerrainDefs/PlaceWorker_Restrictions_Example.xml diff --git a/_Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ThingDefs/PlaceWorker_Restrictions_Example.xml b/_Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ThingDefs/PlaceWorker_Restrictions_Example.xml similarity index 100% rename from _Mod/Modders Resource/Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ThingDefs/PlaceWorker_Restrictions_Example.xml rename to _Mod/Modders Resource/Examples/Old Examples/PlaceWorkers/PlaceWorker_Restrictions/Defs/ThingDefs/PlaceWorker_Restrictions_Example.xml diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/AdvancedResearchDefs/ARD_Automated_Stonecutter.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/AdvancedResearchDefs/ARD_Automated_Stonecutter.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/AdvancedResearchDefs/ARD_Automated_Stonecutter.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/AdvancedResearchDefs/ARD_Automated_Stonecutter.xml diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ModHelperDefs/MHD_Automated_Stonecutter.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ModHelperDefs/MHD_Automated_Stonecutter.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ModHelperDefs/MHD_Automated_Stonecutter.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ModHelperDefs/MHD_Automated_Stonecutter.xml diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/RecipeDefs/RD_Automated_Stonecutter.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/RecipeDefs/RD_Automated_Stonecutter.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/RecipeDefs/RD_Automated_Stonecutter.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/RecipeDefs/RD_Automated_Stonecutter.xml diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ThingDefs/TD_Automated_Stonecutter.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ThingDefs/TD_Automated_Stonecutter.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ThingDefs/TD_Automated_Stonecutter.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingClasses/Building_AutomatedFactory/Automated Stonecutter/Defs/ThingDefs/TD_Automated_Stonecutter.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Hidden Equipment Rack/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Hidden Equipment Rack/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Hidden Equipment Rack/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Hidden Equipment Rack/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Hidden Equipment Rack/Defs/ModHelperDefs/Hidden_Equipment_Rack.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Hidden Equipment Rack/Defs/ModHelperDefs/Hidden_Equipment_Rack.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Hidden Equipment Rack/Defs/ModHelperDefs/Hidden_Equipment_Rack.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Hidden Equipment Rack/Defs/ModHelperDefs/Hidden_Equipment_Rack.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Hidden Equipment Rack/Defs/ThingDefs/Hidden_Equipment_Rack.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Hidden Equipment Rack/Defs/ThingDefs/Hidden_Equipment_Rack.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Hidden Equipment Rack/Defs/ThingDefs/Hidden_Equipment_Rack.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Hidden Equipment Rack/Defs/ThingDefs/Hidden_Equipment_Rack.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/Defs/ModHelperDefs/Milkable_Boomalope.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/Defs/ModHelperDefs/Milkable_Boomalope.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/Defs/ModHelperDefs/Milkable_Boomalope.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/Defs/ModHelperDefs/Milkable_Boomalope.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/Defs/ThingDefs/BoomalopeGas.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/Defs/ThingDefs/BoomalopeGas.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/Defs/ThingDefs/BoomalopeGas.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/Defs/ThingDefs/BoomalopeGas.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/Textures/Things/Item/Special/BoomalopeGas.png b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/Textures/Things/Item/Special/BoomalopeGas.png similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Milkable Boomalope/Textures/Things/Item/Special/BoomalopeGas.png rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Milkable Boomalope/Textures/Things/Item/Special/BoomalopeGas.png diff --git a/_Mod/Modders Resource/Examples/ThingComps/Refrigerated Meal Shelf/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Refrigerated Meal Shelf/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Refrigerated Meal Shelf/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Refrigerated Meal Shelf/About/About.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Refrigerated Meal Shelf/Defs/ModHelperDefs/Refrigerated_Meal_Shelf.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Refrigerated Meal Shelf/Defs/ModHelperDefs/Refrigerated_Meal_Shelf.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Refrigerated Meal Shelf/Defs/ModHelperDefs/Refrigerated_Meal_Shelf.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Refrigerated Meal Shelf/Defs/ModHelperDefs/Refrigerated_Meal_Shelf.xml diff --git a/_Mod/Modders Resource/Examples/ThingComps/Refrigerated Meal Shelf/Defs/ThingDefs/Refrigerated_Meal_Shelf.xml b/_Mod/Modders Resource/Examples/Old Examples/ThingComps/Refrigerated Meal Shelf/Defs/ThingDefs/Refrigerated_Meal_Shelf.xml similarity index 100% rename from _Mod/Modders Resource/Examples/ThingComps/Refrigerated Meal Shelf/Defs/ThingDefs/Refrigerated_Meal_Shelf.xml rename to _Mod/Modders Resource/Examples/Old Examples/ThingComps/Refrigerated Meal Shelf/Defs/ThingDefs/Refrigerated_Meal_Shelf.xml diff --git a/_Mod/Modders Resource/Examples/Verbs/Shotgun Example/About/About.xml b/_Mod/Modders Resource/Examples/Old Examples/Verbs/Shotgun Example/About/About.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Verbs/Shotgun Example/About/About.xml rename to _Mod/Modders Resource/Examples/Old Examples/Verbs/Shotgun Example/About/About.xml diff --git a/_Mod/Modders Resource/Examples/Verbs/Shotgun Example/Defs/ThingDefs/Shotgun.xml b/_Mod/Modders Resource/Examples/Old Examples/Verbs/Shotgun Example/Defs/ThingDefs/Shotgun.xml similarity index 100% rename from _Mod/Modders Resource/Examples/Verbs/Shotgun Example/Defs/ThingDefs/Shotgun.xml rename to _Mod/Modders Resource/Examples/Old Examples/Verbs/Shotgun Example/Defs/ThingDefs/Shotgun.xml diff --git a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/About/About.xml b/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/About/About.xml deleted file mode 100644 index aa5878f..0000000 --- a/_Mod/Modders Resource/Examples/ThingClasses/Building_AutomatedFactory/Building Automated Factory - Example 2 - Food & Drug Synthesizer/About/About.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - Building Automated Factory - Example 1 - Food & Drug Synthesizer - RimWorld CCL Team - n/a - 0.15.1284 - -This is an example of a food and drug synthesizer. - -Demonstrates: - AdvancedRecipeDef - AdvancedResearchDef - Building_AutomatedFactory - CompAutomatedFactory - CompHopperUser - CompProperties_AffectedByFacilities - CompProperties_AutomatedFactory - IHopperUser (Building_AutomatedFactory) - ITab_AutomatedFactory - ModHelperDef - PlaceWorker_HopperMagnifier - SequencedInjectionSet_ThingDefAvailability - SequencedInjectionSet_Facility - - - \ No newline at end of file