diff --git a/1.1/Assemblies/NewAnimalSubproducts.dll b/1.1/Assemblies/NewAnimalSubproducts.dll index 5f3d1f0..82cbb44 100644 Binary files a/1.1/Assemblies/NewAnimalSubproducts.dll and b/1.1/Assemblies/NewAnimalSubproducts.dll differ diff --git a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/.suo b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/.suo index 9a57aaa..4b3a02e 100644 Binary files a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/.suo and b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/.suo differ diff --git a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide index 173a889..34510d1 100644 Binary files a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide and b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide differ diff --git a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-shm b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-shm index 824cd67..c67d73f 100644 Binary files a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-shm and b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-shm differ diff --git a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-wal b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-wal index e40c9d8..233a868 100644 Binary files a/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-wal and b/1.1/Source/DraftingPatcher/.vs/DraftingPatcher/v15/Server/sqlite3/storage.ide-wal differ diff --git a/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/.suo b/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/.suo index b2ae9b5..e79d06a 100644 Binary files a/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/.suo and b/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/.suo differ diff --git a/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-shm b/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-shm index f8f91d5..6ce8a84 100644 Binary files a/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-shm and b/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-shm differ diff --git a/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-wal b/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-wal index 71df00d..b3a2406 100644 Binary files a/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-wal and b/1.1/Source/ExplosionTypes/.vs/ExplosionTypes/v15/Server/sqlite3/storage.ide-wal differ diff --git a/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/.suo b/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/.suo index 9ee9891..cd015d7 100644 Binary files a/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/.suo and b/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/.suo differ diff --git a/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-shm b/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-shm index 0b90721..fbf1678 100644 Binary files a/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-shm and b/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-shm differ diff --git a/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-wal b/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-wal index 1e68fb9..94198d9 100644 Binary files a/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-wal and b/1.1/Source/NewAnimalSubproducts/.vs/NewAnimalSubproducts/v15/Server/sqlite3/storage.ide-wal differ diff --git a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/NewAnimalSubproducts.csproj b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/NewAnimalSubproducts.csproj index d0bff14..6c00fae 100644 --- a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/NewAnimalSubproducts.csproj +++ b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/NewAnimalSubproducts.csproj @@ -311,6 +311,7 @@ + diff --git a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNotice.cs b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNotice.cs index b6c4fb9..4059691 100644 --- a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNotice.cs +++ b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNotice.cs @@ -12,32 +12,25 @@ namespace NewAnimalSubproducts public class UpdateNotice : MapComponent { - public bool sentUpdateLetter = false; + public UpdateNotice(Map map) : base(map) { } - public override void ExposeData() - { - base.ExposeData(); - - Scribe_Values.Look(ref this.sentUpdateLetter, "sentUpdateLetter", false, true); - - - } + public override void MapComponentTick() { base.MapComponentTick(); - if (!sentUpdateLetter) + if (!Current.Game.GetComponent().sentUpdateLetterGlobal) { if (!ModLister.HasActiveModWithName("Vanilla Textures Expanded - Genetic Rim")) { Find.LetterStack.ReceiveLetter("GR_UpdateLetterLabel".Translate(), "GR_UpdateLetterText".Translate(), DefDatabase.GetNamed("GR_UpdateLetter")); } - sentUpdateLetter = true; + Current.Game.GetComponent().sentUpdateLetterGlobal = true; } diff --git a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNoticeGlobal.cs b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNoticeGlobal.cs new file mode 100644 index 0000000..503df62 --- /dev/null +++ b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/UpdateNoticeGlobal.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using RimWorld; +using Verse; +using UnityEngine; +using RimWorld.Planet; + +namespace NewAnimalSubproducts +{ + public class UpdateNoticeGlobal : GameComponent + { + + public bool sentUpdateLetterGlobal = false; + + public UpdateNoticeGlobal(Game game) + { + + } + + public override void ExposeData() + { + base.ExposeData(); + + Scribe_Values.Look(ref this.sentUpdateLetterGlobal, "sentUpdateLetterGlobal", false, true); + + + } + + + + + } + + +} + diff --git a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csproj.CoreCompileInputs.cache b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csproj.CoreCompileInputs.cache index ae28d1e..2e2e998 100644 --- a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csproj.CoreCompileInputs.cache +++ b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -f46bbf873590da1181b5c37a6fe5e37f7dc45370 +d96828e34be95dc3e2f14000076ac07b1101e5c8 diff --git a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csprojAssemblyReference.cache b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csprojAssemblyReference.cache index 45b2b08..cd2140d 100644 Binary files a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csprojAssemblyReference.cache and b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.csprojAssemblyReference.cache differ diff --git a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.dll b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.dll index 5f3d1f0..82cbb44 100644 Binary files a/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.dll and b/1.1/Source/NewAnimalSubproducts/NewAnimalSubproducts/obj/Debug/NewAnimalSubproducts.dll differ diff --git a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/.suo b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/.suo index 0f0de8e..4e684fd 100644 Binary files a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/.suo and b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/.suo differ diff --git a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide index 31a2ba0..6ab1c95 100644 Binary files a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide and b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide differ diff --git a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-shm b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-shm index 7604d6c..77c55a4 100644 Binary files a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-shm and b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-shm differ diff --git a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-wal b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-wal index 910c0ec..ff01381 100644 Binary files a/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-wal and b/1.1/Source/NewHatcher/.vs/NewHatcher/v15/Server/sqlite3/storage.ide-wal differ diff --git a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/.suo b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/.suo index 716bc1e..20c6e63 100644 Binary files a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/.suo and b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/.suo differ diff --git a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide index 2bcf257..2bd71ea 100644 Binary files a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide and b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide differ diff --git a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-shm b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-shm index 0b18075..8e13c7a 100644 Binary files a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-shm and b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-shm differ diff --git a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-wal b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-wal index f684ccf..0545643 100644 Binary files a/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-wal and b/1.1/Source/NewMachinery/.vs/NewMachinery/v15/Server/sqlite3/storage.ide-wal differ