diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/1.5/Assemblies/0Harmony.dll b/1.5/Assemblies/0Harmony.dll deleted file mode 100644 index 7aac19c..0000000 Binary files a/1.5/Assemblies/0Harmony.dll and /dev/null differ diff --git a/1.5/Assemblies/Assembly-CSharp-firstpass.dll b/1.5/Assemblies/Assembly-CSharp-firstpass.dll deleted file mode 100644 index 4d9d412..0000000 Binary files a/1.5/Assemblies/Assembly-CSharp-firstpass.dll and /dev/null differ diff --git a/1.5/Assemblies/Assembly-CSharp.dll b/1.5/Assemblies/Assembly-CSharp.dll deleted file mode 100644 index 41ca90d..0000000 Binary files a/1.5/Assemblies/Assembly-CSharp.dll and /dev/null differ diff --git a/1.5/Assemblies/ISharpZipLib.dll b/1.5/Assemblies/ISharpZipLib.dll deleted file mode 100644 index bb15d24..0000000 Binary files a/1.5/Assemblies/ISharpZipLib.dll and /dev/null differ diff --git a/1.5/Assemblies/NAudio.dll b/1.5/Assemblies/NAudio.dll deleted file mode 100644 index decb8dd..0000000 Binary files a/1.5/Assemblies/NAudio.dll and /dev/null differ diff --git a/1.5/Assemblies/NVorbis.dll b/1.5/Assemblies/NVorbis.dll deleted file mode 100644 index 89d7214..0000000 Binary files a/1.5/Assemblies/NVorbis.dll and /dev/null differ diff --git a/1.5/Assemblies/SimpleLootBox.dll b/1.5/Assemblies/SimpleLootBox.dll index afd739e..4da83a8 100644 Binary files a/1.5/Assemblies/SimpleLootBox.dll and b/1.5/Assemblies/SimpleLootBox.dll differ diff --git a/1.5/Assemblies/SimpleLootBox.pdb b/1.5/Assemblies/SimpleLootBox.pdb deleted file mode 100644 index 12930f4..0000000 Binary files a/1.5/Assemblies/SimpleLootBox.pdb and /dev/null differ diff --git a/1.5/Assemblies/Unity.Burst.Unsafe.dll b/1.5/Assemblies/Unity.Burst.Unsafe.dll deleted file mode 100644 index ac36cfa..0000000 Binary files a/1.5/Assemblies/Unity.Burst.Unsafe.dll and /dev/null differ diff --git a/1.5/Assemblies/Unity.Burst.dll b/1.5/Assemblies/Unity.Burst.dll deleted file mode 100644 index 70737d4..0000000 Binary files a/1.5/Assemblies/Unity.Burst.dll and /dev/null differ diff --git a/1.5/Assemblies/Unity.Mathematics.dll b/1.5/Assemblies/Unity.Mathematics.dll deleted file mode 100644 index 0cb9ff6..0000000 Binary files a/1.5/Assemblies/Unity.Mathematics.dll and /dev/null differ diff --git a/1.5/Assemblies/Unity.TextMeshPro.dll b/1.5/Assemblies/Unity.TextMeshPro.dll deleted file mode 100644 index f3ec94c..0000000 Binary files a/1.5/Assemblies/Unity.TextMeshPro.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.AnimationModule.dll b/1.5/Assemblies/UnityEngine.AnimationModule.dll deleted file mode 100644 index 6243b6b..0000000 Binary files a/1.5/Assemblies/UnityEngine.AnimationModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.AssetBundleModule.dll b/1.5/Assemblies/UnityEngine.AssetBundleModule.dll deleted file mode 100644 index 4762681..0000000 Binary files a/1.5/Assemblies/UnityEngine.AssetBundleModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.AudioModule.dll b/1.5/Assemblies/UnityEngine.AudioModule.dll deleted file mode 100644 index 04a092a..0000000 Binary files a/1.5/Assemblies/UnityEngine.AudioModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.CoreModule.dll b/1.5/Assemblies/UnityEngine.CoreModule.dll deleted file mode 100644 index 83b2b0a..0000000 Binary files a/1.5/Assemblies/UnityEngine.CoreModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.IMGUIModule.dll b/1.5/Assemblies/UnityEngine.IMGUIModule.dll deleted file mode 100644 index b557b58..0000000 Binary files a/1.5/Assemblies/UnityEngine.IMGUIModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.ImageConversionModule.dll b/1.5/Assemblies/UnityEngine.ImageConversionModule.dll deleted file mode 100644 index 79aa449..0000000 Binary files a/1.5/Assemblies/UnityEngine.ImageConversionModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.InputLegacyModule.dll b/1.5/Assemblies/UnityEngine.InputLegacyModule.dll deleted file mode 100644 index 1067ff9..0000000 Binary files a/1.5/Assemblies/UnityEngine.InputLegacyModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.PerformanceReportingModule.dll b/1.5/Assemblies/UnityEngine.PerformanceReportingModule.dll deleted file mode 100644 index faf6411..0000000 Binary files a/1.5/Assemblies/UnityEngine.PerformanceReportingModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.Physics2DModule.dll b/1.5/Assemblies/UnityEngine.Physics2DModule.dll deleted file mode 100644 index 65dba8a..0000000 Binary files a/1.5/Assemblies/UnityEngine.Physics2DModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.PhysicsModule.dll b/1.5/Assemblies/UnityEngine.PhysicsModule.dll deleted file mode 100644 index 4a7a9a6..0000000 Binary files a/1.5/Assemblies/UnityEngine.PhysicsModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.ScreenCaptureModule.dll b/1.5/Assemblies/UnityEngine.ScreenCaptureModule.dll deleted file mode 100644 index 4ec8198..0000000 Binary files a/1.5/Assemblies/UnityEngine.ScreenCaptureModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.SharedInternalsModule.dll b/1.5/Assemblies/UnityEngine.SharedInternalsModule.dll deleted file mode 100644 index 8a9c9eb..0000000 Binary files a/1.5/Assemblies/UnityEngine.SharedInternalsModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.TextCoreModule.dll b/1.5/Assemblies/UnityEngine.TextCoreModule.dll deleted file mode 100644 index e13a54d..0000000 Binary files a/1.5/Assemblies/UnityEngine.TextCoreModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.TextRenderingModule.dll b/1.5/Assemblies/UnityEngine.TextRenderingModule.dll deleted file mode 100644 index 447239e..0000000 Binary files a/1.5/Assemblies/UnityEngine.TextRenderingModule.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.UI.dll b/1.5/Assemblies/UnityEngine.UI.dll deleted file mode 100644 index 6c9c3bf..0000000 Binary files a/1.5/Assemblies/UnityEngine.UI.dll and /dev/null differ diff --git a/1.5/Assemblies/UnityEngine.UIModule.dll b/1.5/Assemblies/UnityEngine.UIModule.dll deleted file mode 100644 index e082dda..0000000 Binary files a/1.5/Assemblies/UnityEngine.UIModule.dll and /dev/null differ diff --git a/1.5/Assemblies/com.rlabrecque.steamworks.net.dll b/1.5/Assemblies/com.rlabrecque.steamworks.net.dll deleted file mode 100644 index b7498bb..0000000 Binary files a/1.5/Assemblies/com.rlabrecque.steamworks.net.dll and /dev/null differ diff --git a/1.5/Defs/SoundDefsExample.xml b/1.5/Defs/SoundDefs/SoundDefsBase.xml similarity index 100% rename from 1.5/Defs/SoundDefsExample.xml rename to 1.5/Defs/SoundDefs/SoundDefsBase.xml diff --git a/1.5/Defs/SimpleLootBoxExample.xml b/1.5/Defs/ThingDefs/LootBoxBase.xml similarity index 85% rename from 1.5/Defs/SimpleLootBoxExample.xml rename to 1.5/Defs/ThingDefs/LootBoxBase.xml index 1f5cef8..d34ff75 100644 --- a/1.5/Defs/SimpleLootBoxExample.xml +++ b/1.5/Defs/ThingDefs/LootBoxBase.xml @@ -1,29 +1,14 @@ - - ThingWithComps - - Graphic_Single - - 10 - Medieval - -
  • Artifacts
  • -
    - -
  • Artifacts
  • -
    -
    - - SimpleLootBoxExampleA - - 每周掉落或者击杀掉落的常驻武器箱 + SimpleLootBoxExampleA + + 每周掉落或者击杀掉落的常驻武器箱 - SimpleLootBox/ExampleA + SimpleLootBox/ExampleA Graphic_Single - 1.5 + 2.5 1.0 @@ -43,7 +28,7 @@
  • SimpleLootBoxExampleA - 0.01 + 0.05 SimpleLootBoxGroupX 5 7 @@ -54,14 +39,30 @@ lootBoxOpenSound lootBoxSpinningSound lootBoxBackgroundMusicSoundA - SimpleLootBox/LootBoxBackgroundA + Silver 128
  • Silver 1 - 13.14 + 15.2 + 1 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + Silver + 5 + 15.2 + 1 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + Silver + 15 + 15.2 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -69,7 +70,7 @@
  • Silver 10 - 13.14 + 15.2 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -77,55 +78,55 @@
  • Silver 20 - 13.14 + 15.2 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound
  • Silver - 30 - 13.14 + 25 + 15.2 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound
  • Silver - 50 - 13.14 + 3 + 15.2 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound
  • Silver - 648 - 3.24 + 127 + 3.8 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • Silver - 748 - 3.24 + 157 + 3.8 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • Silver - 666 - 3.24 + 180 + 3.8 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • Silver - 888 - 3.24 + 260 + 3.8 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -134,8 +135,8 @@ Silver WoodLog Masterwork - 5000 - 0.9 + 1500 + 0.6 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -144,8 +145,8 @@ Silver WoodLog Masterwork - 6000 - 0.9 + 1800 + 0.6 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -154,8 +155,8 @@ Silver WoodLog Masterwork - 8000 - 0.9 + 2200 + 0.6 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -164,8 +165,8 @@ Silver WoodLog Masterwork - 9999 - 0.9 + 2500 + 0.6 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -174,7 +175,7 @@ Mechlink Legendary 1 - 0.18 + 0.1 5 GiantExplosion lootBoxFinalizingRewardSound @@ -183,7 +184,7 @@ GoldenCube Legendary 1 - 0.18 + 0.1 5 true GiantExplosion @@ -191,24 +192,24 @@
  • Silver - 22222 - 0.54 + 8000 + 0.3 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • Silver - 33333 - 0.54 + 9000 + 0.3 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • Silver - 114514 - 0.54 + 9999 + 0.3 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -228,14 +229,14 @@ SimpleLootBox/ExampleB Graphic_Single - 1.5 + 2.5 1.0 10 false - Sellable + None
  • UseArtifact @@ -248,7 +249,7 @@
  • SimpleLootBoxExampleB - 0.01 + 0.05 SimpleLootBoxGroupX 5 7 @@ -259,14 +260,13 @@ lootBoxOpenSound lootBoxSpinningSound lootBoxBackgroundMusicSoundA - SimpleLootBox/LootBoxBackgroundB Silver 128
  • Baby_Example 1 - 5 + 15.2 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -274,7 +274,7 @@
  • Dragonian_Boxed 1 - 0.6 + 0.3 4 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -282,7 +282,7 @@
  • HAR_Chaoura_Player_kami 1 - 0.2 + 0.1 5 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -290,7 +290,7 @@
  • HAR_Neclose_Player_kami 1 - 0.6 + 0.3 4 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -298,7 +298,7 @@
  • HAR_Silkiera_Player_kami 1 - 3.6 + 3.8 2 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -306,7 +306,7 @@
  • HAR_Eveliet_Player_kami 1 - 0.2 + 0.1 5 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -314,7 +314,7 @@
  • HAR_Idhale_Player_kami 1 - 1 + 0.6 3 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -322,7 +322,7 @@
  • HAR_Xenoorca_Player_kami 1 - 3.6 + 3.8 2 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -330,7 +330,7 @@
  • HAR_Nexaga_Player_kami 1 - 3.6 + 3.8 2 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -338,7 +338,7 @@
  • Miho_PlayerColonist_kami 1 - 1 + 0.6 3 ExtinguisherExplosion lootBoxFinalizingRewardSound @@ -346,7 +346,7 @@
  • Megascarab 1 - 14.6 + 15.2 1 true ExtinguisherExplosion @@ -355,7 +355,7 @@
  • NHUX_PlayerA 1 - 3.6 + 3.8 2 ExtinguisherExplosion lootBoxFinalizingRewardSound @@ -363,7 +363,7 @@
  • HAR_Nearmaere_Player_kami 1 - 3.6 + 3.8 2 ExtinguisherExplosion lootBoxFinalizingRewardSound @@ -371,7 +371,7 @@
  • HAR_Littluna_Player_kami 1 - 0.2 + 0.1 5 ExtinguisherExplosion lootBoxFinalizingRewardSound @@ -379,7 +379,7 @@
  • Dragonian_baby 1 - 1 + 0.6 3 ExtinguisherExplosion lootBoxFinalizingRewardSound @@ -387,7 +387,7 @@
  • OA_RK_Colonist_A_glod 1 - 0.6 + 0.3 4 ExtinguisherExplosion lootBoxFinalizingRewardSound @@ -397,7 +397,7 @@
  • Wastepack 5 - 14.6 + 15.2 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -405,7 +405,7 @@
  • Leather_Human 5 - 14.6 + 15.2 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -413,7 +413,7 @@
  • Silver 1 - 14.6 + 15.2 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -421,14 +421,12 @@
  • Meat_NHUX 8 - 14.6 + 15.2 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • - -
    diff --git a/1.5/Defs/Lootbohuanqiu.xml b/1.5/Defs/ThingDefs/Lootbox_huanqiu.xml similarity index 87% rename from 1.5/Defs/Lootbohuanqiu.xml rename to 1.5/Defs/ThingDefs/Lootbox_huanqiu.xml index f9cf4b2..dca7a81 100644 --- a/1.5/Defs/Lootbohuanqiu.xml +++ b/1.5/Defs/ThingDefs/Lootbox_huanqiu.xml @@ -1,19 +1,5 @@ - - ThingWithComps - - Graphic_Single - - 10 - Medieval - -
  • Artifacts
  • -
    - -
  • Artifacts
  • -
    -
    SimpleLootBoxExampleziyuan @@ -22,14 +8,14 @@ SimpleLootBox/ExampleC Graphic_Single - 1.5 + 2.5 1.0 10 false - Sellable + None
  • UseArtifact @@ -42,7 +28,7 @@
  • SimpleLootBoxExampleziyuan - 0.01 + 0.05 SimpleLootBoxGroupX 5 7 @@ -53,14 +39,14 @@ lootBoxOpenSound lootBoxSpinningSound lootBoxBackgroundMusicSoundA - SimpleLootBox/LootBoxBackgroundA + Silver 128
  • Meat_NHUX 10 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -68,15 +54,15 @@
  • Wastepack 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • - steel + Steel 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -84,7 +70,7 @@
  • WoodLog 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -92,7 +78,7 @@
  • MedicineHerbal 1 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -100,15 +86,15 @@
  • ComponentIndustrial 2 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • - steel + Steel 50 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -116,7 +102,7 @@
  • Gold 20 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -124,7 +110,7 @@
  • DevilstrandCloth 20 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -132,15 +118,15 @@
  • WoodLog 200 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • - Medicinelndustrial + MedicineIndustrial 5 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -148,7 +134,7 @@
  • ComponentIndustrial 30 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -156,7 +142,7 @@
  • steel 600 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -164,7 +150,7 @@
  • Gold 200 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -172,7 +158,7 @@
  • DevilstrandCloth 250 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -180,7 +166,7 @@
  • Plasteel 400 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -188,7 +174,7 @@
  • VanometricPowerCell 1 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -196,7 +182,7 @@
  • Plasteel 1000 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -204,7 +190,7 @@
  • Techprint_PolarisSecretArchives 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -212,7 +198,7 @@
  • MechSerumHealer 2 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -220,7 +206,7 @@
  • PsychicAmplifier 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -228,7 +214,7 @@
  • PolarisBondorudoDiary 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -236,7 +222,7 @@
  • ComponentSpacer 35 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -244,7 +230,7 @@
  • ComponentSpacer 80 - 0.3 + 0.15 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -252,7 +238,7 @@
  • PolarisVoidKey 2 - 0.3 + 0.15 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -260,7 +246,7 @@
  • Miho_CelestialScale 1680 - 0.3 + 0.15 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -268,7 +254,7 @@
  • GoldenCube 1 - 0.3 + 0.15 5 true lootBoxFinalizingRewardSound @@ -277,7 +263,7 @@
  • PolarisRestorer 5 - 0.3 + 0.15 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -288,16 +274,16 @@
  • Fingerspike 1 - 21.9 + 22.8 1 true Skip_ExitNoDelay lootBoxFinalizingRewardSound
  • - rat + Rat 1 - 21.9 + 22.8 1 false Skip_ExitNoDelay diff --git a/1.5/Defs/Lootbohuanjiulian.xml b/1.5/Defs/ThingDefs/Lootbox_jiulian.xml similarity index 87% rename from 1.5/Defs/Lootbohuanjiulian.xml rename to 1.5/Defs/ThingDefs/Lootbox_jiulian.xml index cc465d6..42a6820 100644 --- a/1.5/Defs/Lootbohuanjiulian.xml +++ b/1.5/Defs/ThingDefs/Lootbox_jiulian.xml @@ -1,19 +1,5 @@ - - ThingWithComps - - Graphic_Single - - 10 - Medieval - -
  • Artifacts
  • - - -
  • Artifacts
  • -
    -
    SimpleLootBoxExamplejiu @@ -22,14 +8,14 @@ SimpleLootBox/ExampleE Graphic_Single - 1.5 + 2.5 1.0 10 false - Sellable + None
  • UseArtifact @@ -42,7 +28,7 @@
  • SimpleLootBoxExamplejiu - 0.01 + 0.05 SimpleLootBoxGroupX 5 7 @@ -53,14 +39,14 @@ lootBoxOpenSound lootBoxSpinningSound lootBoxBackgroundMusicSoundA - SimpleLootBox/LootBoxBackgroundA + Silver 128
  • GoldenCube 1 - 0.3 + 0.15 5 true lootBoxFinalizingRewardSound @@ -69,7 +55,7 @@
  • Foxbead 1 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -77,7 +63,7 @@
  • Meat_Cow 15 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -85,7 +71,7 @@
  • EggChickenUnfertilized 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -93,7 +79,7 @@
  • Milk 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -101,7 +87,7 @@
  • Wastepack 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -111,7 +97,7 @@
  • Ninetailfox 1 - 0.3 + 0.15 5 false Skip_ExitNoDelay @@ -120,16 +106,16 @@
  • DarkNinetail 1 - 0.3 + 0.15 5 - false - Skip_ExitNoDelay + true + Skip_ExitNoDelay lootBoxFinalizingRewardSound
  • Ninetailfoxwt 1 - 0.3 + 0.15 5 false Skip_ExitNoDelay @@ -138,7 +124,7 @@
  • SZMechNeko_Omega 1 - 0.03 + 0.05 5 true true @@ -148,7 +134,7 @@
  • AA_Gallatross 1 - 0.3 + 0.15 5 false Skip_ExitNoDelay @@ -157,7 +143,7 @@
  • BOSS_RQ_Monster_Kind_Summon_z 1 - 0.9 + 0.45 4 false Skip_ExitNoDelay @@ -166,7 +152,7 @@
  • VAA_Allial 1 - 0.9 + 0.45 4 false Skip_ExitNoDelay @@ -175,7 +161,7 @@
  • VAA_IA 1 - 0.9 + 0.45 4 false Skip_ExitNoDelay @@ -184,7 +170,7 @@
  • VAA_TohokuKiritan 1 - 0.9 + 0.45 4 false Skip_ExitNoDelay @@ -193,7 +179,7 @@
  • VAA_TohokuZunko 1 - 0.9 + 0.45 4 false Skip_ExitNoDelay @@ -202,7 +188,7 @@
  • Ratkin_KingHamster 1 - 1.5 + 1 3 false Skip_ExitNoDelay @@ -211,7 +197,7 @@
  • AA_MeadowAve 1 - 1.5 + 0.9 3 false Skip_ExitNoDelay @@ -220,7 +206,7 @@
  • Thrumbo 1 - 1.5 + 0.9 3 true Skip_ExitNoDelay @@ -229,7 +215,7 @@
  • AA_DevilSheep 1 - 1.5 + 0.9 3 false Skip_ExitNoDelay @@ -238,7 +224,7 @@
  • TW_AiruCat 1 - 5.67 + 5.7 2 false Skip_ExitNoDelay @@ -247,7 +233,7 @@
  • Pig 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -256,7 +242,7 @@
  • Cow 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -265,7 +251,7 @@
  • AA_EngorgedTentacularAberration 1 - 5.4 + 5.7 2 true Skip_ExitNoDelay @@ -274,7 +260,7 @@
  • Horse 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -283,7 +269,7 @@
  • AEXP_Boombat 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -292,7 +278,7 @@
  • WasteRat 1 - 21.9 + 22.8 1 true Skip_ExitNoDelay @@ -301,7 +287,7 @@
  • Chicken 1 - 21.9 + 22.8 1 false Skip_ExitNoDelay @@ -310,7 +296,7 @@
  • Tortoise 1 - 21.9 + 22.8 1 false Skip_ExitNoDelay @@ -319,7 +305,7 @@
  • Cat 1 - 21.9 + 22.8 1 false Skip_ExitNoDelay diff --git a/1.5/Defs/ThingDefs/Lootbox_tianshi.xml b/1.5/Defs/ThingDefs/Lootbox_tianshi.xml new file mode 100644 index 0000000..887d608 --- /dev/null +++ b/1.5/Defs/ThingDefs/Lootbox_tianshi.xml @@ -0,0 +1,308 @@ + + + + + SimpleLootBoxExampmi + + 每周掉落或者击杀掉落的稀有武器箱 + + SimpleLootBox/ExampleF + Graphic_Single + 2.5 + + + 1.0 + 10 + + false + None + +
  • + UseArtifact + Activate {0_label} + true + 150 +
  • + false +
  • + +
  • + SimpleLootBoxExampmi + 0.05 + SimpleLootBoxGroupX + 5 + 7 +
  • + + +
  • + lootBoxOpenSound + lootBoxSpinningSound + lootBoxBackgroundMusicSoundA + + Silver + 128 + + +
  • + Techprint_Milira_MilianTech_RookIV + 1 + 0.15 + 5 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Techprint_Milira_MilianTech_RookIII + 1 + 0.15 + 5 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Techprint_Milira_ConceptWeaponry + 1 + 0.15 + 5 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Wastepack + 500 + 0.15 + 5 + true + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SolarCrystal + 300 + 0.45 + 5 + Normal + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SolarCrystal + 120 + 0.45 + 4 + Normal + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SunPlateSteel + 500 + 0.45 + 4 + Normal + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_StarshipBattery + 2 + 0.45 + 4 + Normal + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Techprint_Milira_HeavyRocketLauncher + 1 + 0.9 + 3 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Techprint_Milira_HeavyPlasmaTurret + 1 + 0.9 + 3 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Techprint_Milira_HeavyParticleTurret + 1 + 0.9 + 3 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SunLightFuel + 500 + 0.45 + 4 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_FurnaceCoreModel + 1 + 0.45 + 4 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SolarCrystal + 30 + 0.9 + 3 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SunPlateSteel + 200 + 0.9 + 3 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • + +
  • + Milira_SunLightFuel + 200 + 0.9 + 3 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_FeatherThread + 20 + 5.7 + 2 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Plasteel + 10 + 5.7 + 2 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • + +
  • + Milira_SolarCrystal + 1 + 5.7 + 2 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_BloodStainedFeather + 10 + 5.7 + 2 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SunLightFuel + 5 + 5.7 + 2 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_SunLightFruit + 1 + 22.8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Wastepack + 5 + 22.8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Steel + 5 + 22.8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Milira_BloodStainedFeather + 1 + 22.8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Meat_Milira_Race + 10 + 22.8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Gold + 1 + 22.8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • + + + +
  • + Cat + 1 + 22.8 + 1 + true + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + Milian_Base_mi + 1 + 0.15 + 5 + false + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + Milian_Base_baby + 1 + 0.9 + 3 + false + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • + + + + +
    + +
    +
    +
    \ No newline at end of file diff --git a/1.5/Defs/LootbohuanzO.xml b/1.5/Defs/ThingDefs/Lootbox_yuanzui.xml similarity index 87% rename from 1.5/Defs/LootbohuanzO.xml rename to 1.5/Defs/ThingDefs/Lootbox_yuanzui.xml index c917034..1770c0b 100644 --- a/1.5/Defs/LootbohuanzO.xml +++ b/1.5/Defs/ThingDefs/Lootbox_yuanzui.xml @@ -1,19 +1,5 @@ - - ThingWithComps - - Graphic_Single - - 10 - Medieval - -
  • Artifacts
  • -
    - -
  • Artifacts
  • -
    -
    SimpleLootBoxExamplezui @@ -22,14 +8,14 @@ SimpleLootBox/ExampleD Graphic_Single - 1.5 + 2.5 1.0 10 false - Sellable + None
  • UseArtifact @@ -42,7 +28,7 @@
  • SimpleLootBoxExamplezui - 0.01 + 0.05 SimpleLootBoxGroupX 5 7 @@ -53,7 +39,7 @@ lootBoxOpenSound lootBoxSpinningSound lootBoxBackgroundMusicSoundA - SimpleLootBox/LootBoxBackgroundA + Silver 128 @@ -61,7 +47,7 @@
  • GoldenCube 1 - 0.3 + 0.15 5 true lootBoxFinalizingRewardSound @@ -70,7 +56,7 @@
  • Techprint_HAR_ZC_Research_B 1 - 0.3 + 0.15 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -78,7 +64,7 @@
  • HAR_ZC_Item_a 1 - 0.3 + 0.15 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -86,7 +72,7 @@
  • HAR_ZC_Shell_f 1 - 0.9 + 0.45 4 Normal lootBoxFinalizingRewardSound @@ -95,7 +81,7 @@
  • HAR_ZC_Tops_e 1 - 0.9 + 0.45 4 Normal lootBoxFinalizingRewardSound @@ -104,7 +90,7 @@
  • HAR_ZC_Heads_e 1 - 0.9 + 0.45 4 Normal lootBoxFinalizingRewardSound @@ -113,7 +99,7 @@
  • HAR_EL_Item_a 1 - 0.9 + 0.45 4 Normal lootBoxFinalizingRewardSound @@ -122,7 +108,7 @@
  • HAR_EL_Item_b 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -130,7 +116,7 @@
  • HAR_EL_Item_c 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -138,7 +124,7 @@
  • HAR_EL_Item_d 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -146,7 +132,7 @@
  • HAR_EL_Item_e 1 - 0.9 + 0.45 4 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -154,15 +140,15 @@
  • Uranium 300 - 1.5 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • ComponentSpacer - 5 - 1.5 + 10 + 0.9 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -170,7 +156,7 @@
  • Meat_HAR_Zoichor 10 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -178,7 +164,7 @@
  • Wastepack 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -186,24 +172,24 @@
  • Gold 1 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • - Meat_HAR_Xenoorca - 15 - 21.9 - 1 + HAR_NM_Archotech_b + 1 + 0.15 + 5 lootBoxFinalizingRewardSound Skip_ExitNoDelay
  • HAR_SK_Meal_g 5 - 5.4 + 5.7 2 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -211,7 +197,7 @@
  • Meat_HAR_Xenoorca 15 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -219,7 +205,7 @@
  • EggChickenUnfertilizec 5 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -227,7 +213,7 @@
  • PsychiteTea 1 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -235,7 +221,7 @@
  • Wastepack 10 - 21.9 + 22.8 1 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -247,7 +233,7 @@
  • HAR_Zoichor_Player_kami 1 - 0.3 + 0.15 5 false Skip_ExitNoDelay @@ -256,7 +242,7 @@
  • HAR_Neclose_Player_baby 1 - 1.5 + 0.9 3 false Skip_ExitNoDelay @@ -265,7 +251,7 @@
  • HAR_Saclean_Player_kami 1 - 1.5 + 0.9 3 false Skip_ExitNoDelay @@ -274,7 +260,7 @@
  • TW_AiruCat 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -283,7 +269,7 @@
  • HAR_Silkiera_Player_kami 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -292,7 +278,7 @@
  • Moyo_ColonistPawn_kami 1 - 5.4 + 5.7 2 false Skip_ExitNoDelay @@ -301,7 +287,7 @@
  • HAR_Silkiera_Player_baby 1 - 21.9 + 22.8 1 false Skip_ExitNoDelay @@ -310,7 +296,7 @@
  • Squirrel 1 - 21.9 + 22.8 1 true Skip_ExitNoDelay diff --git a/1.5/Defs/中文注释ChineseComment/PawnKindsExample.txt b/1.5/Defs/中文注释ChineseComment/PawnKindsExample.txt deleted file mode 100644 index 8f89c4c..0000000 --- a/1.5/Defs/中文注释ChineseComment/PawnKindsExample.txt +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - Baby_Example - - Human - OutlanderCivil - 10 - 1~10 - 10~20 - 0.01 - 30 - 0 - 0 - 0 - - - - - - - - - -
  • - Shooting - 15~20 -
  • - - -
  • Brawler
  • -
    - - -2 - - - 0 - - false - - - 1 - - - Baby - - -
    diff --git a/1.5/Defs/中文注释ChineseComment/SimpleLootBoxExample.txt b/1.5/Defs/中文注释ChineseComment/SimpleLootBoxExample.txt deleted file mode 100644 index a61db27..0000000 --- a/1.5/Defs/中文注释ChineseComment/SimpleLootBoxExample.txt +++ /dev/null @@ -1,213 +0,0 @@ - - - - - ThingWithComps - - Graphic_Single - - 10 - Medieval - -
  • Artifacts
  • -
    - -
  • Artifacts
  • -
    -
    - - - SimpleLootBoxExampleA - - Example A. - - SimpleLootBox/ExampleA - Graphic_Single - - - 1.0 - 100 - - Buyable - -
  • - UseArtifact - Activate {0_label} - true - 150 -
  • -
  • - -
  • - SimpleLootBoxExampleA - 0.01 -
  • - - -
  • - lootBoxOpenSound - lootBoxSpinningSound - lootBoxBackgroundMusicSoundA - SimpleLootBox/LootBoxBackgroundA - Silver - 100 - -
  • - Silver - 1000 - 5 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound - false -
  • -
  • - Gold - 500 - 1 - 4 - lootBoxFinalizingRewardSound -
  • -
  • - Bed - WoodLog - Masterwork - 1 - 2 - 2 - true -
  • -
  • - MeleeWeapon_MonoSword - Legendary - 1 - 1 - 5 - GiantExplosion -
  • - - -
    -
    - - - SimpleLootBoxExampleB - - ThingWithComps - Example B. - - SimpleLootBox/ExampleB - Graphic_Single - - - 1.0 - 100 - - Buyable - -
  • - UseArtifact - Activate {0_label} - true - 100 -
  • -
  • - -
  • - SimpleLootBoxExampleB - 0.5 -
  • - - -
  • - lootBoxOpenSound - lootBoxSpinningSound - lootBoxBackgroundMusicSoundB - SimpleLootBox/LootBoxBackgroundB - -
  • - Mercenary_Gunner - 2 - 5 - false - lootBoxFinalizingRewardSound -
  • -
  • - Baby_Example - 1 - 5 - 3 -
  • -
  • - Mech_Centurion - 1 - 5 - 4 - ExtinguisherExplosion -
  • -
  • - Cat - 5 - 5 - 5 - true -
  • - - -
    -
    - - - SimpleLootBoxExampleC - - ThingWithComps - Example C. - - SimpleLootBox/ExampleC - Graphic_Single - - - 1.0 - 100 - - Buyable - -
  • - UseArtifact - Activate {0_label} - true - 100 -
  • -
  • - -
  • - SimpleLootBoxExampleC - 0.5 -
  • - - -
  • - lootBoxOpenSound - lootBoxSpinningSound - -
  • - Mercenary_Gunner - 2 - 5 -
  • - - -
  • - Silver - 1000 - 5 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
    - -
    -
    - -
    \ No newline at end of file diff --git a/1.5/Defs/中文注释ChineseComment/SoundDefsExample.txt b/1.5/Defs/中文注释ChineseComment/SoundDefsExample.txt deleted file mode 100644 index e2e2370..0000000 --- a/1.5/Defs/中文注释ChineseComment/SoundDefsExample.txt +++ /dev/null @@ -1,104 +0,0 @@ - - - - - lootBoxOpenSound - 1 - 1 - -
  • - True - -
  • - SimpleLootBox/lootBoxOpenSound -
  • - - 50~50 - -
    -
    - - - - lootBoxSpinningSound - 1 - 1 - True - PrioritizeNearest - -
  • - False - False - True - -
  • - SimpleLootBox/lootBoxSpinningSound -
  • - - 50~50 - -
    -
    - - - - lootBoxBackgroundMusicSoundA - 1 - 1 - True - PrioritizeNearest - -
  • - False - False - True - -
  • - SimpleLootBox/lootBoxBackgroundMusicSoundA -
  • - - 35~35 - -
    -
    - - - - lootBoxBackgroundMusicSoundB - 1 - 1 - True - PrioritizeNearest - -
  • - False - False - True - -
  • - SimpleLootBox/lootBoxBackgroundMusicSoundB -
  • - - 35~35 - -
    -
    - - - lootBoxFinalizingRewardSound - 1 - 1 - -
  • - True - -
  • - SimpleLootBox/lootBoxFinalizingRewardSound -
  • - - 70~70 - -
    -
    - -
    diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox.csproj.dtbcache.json b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox.csproj.dtbcache.json deleted file mode 100644 index f792c5d..0000000 --- a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox.csproj.dtbcache.json +++ /dev/null @@ -1 +0,0 @@ -{"RootPath":"D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox","ProjectFileName":"SimpleLootBox.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Class1.cs"},{"SourceFile":"HarmonyPatches\\FileName.cs"},{"SourceFile":"HarmonyPatches\\PatchMain.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\packages\\Lib.Harmony.2.3.6\\lib\\net48\\0Harmony.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\bin\\Debug\\SimpleLootBox.dll","OutputItemRelativePath":"SimpleLootBox.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]} \ No newline at end of file diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/05e72536-9438-4ba5-b293-6e83ad520c0d.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/05e72536-9438-4ba5-b293-6e83ad520c0d.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/05e72536-9438-4ba5-b293-6e83ad520c0d.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/1322ef76-2aef-4986-bc14-a0aed707346b.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/1322ef76-2aef-4986-bc14-a0aed707346b.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/1322ef76-2aef-4986-bc14-a0aed707346b.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2e9da2e1-3b99-4750-b71c-bdb192244292.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2e9da2e1-3b99-4750-b71c-bdb192244292.vsidx deleted file mode 100644 index 2f89871..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2e9da2e1-3b99-4750-b71c-bdb192244292.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2f7b01c8-386c-4d2e-be44-304de11beae3.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2f7b01c8-386c-4d2e-be44-304de11beae3.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2f7b01c8-386c-4d2e-be44-304de11beae3.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/36232792-027d-4853-a2c7-8eb359bc292e.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/36232792-027d-4853-a2c7-8eb359bc292e.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/36232792-027d-4853-a2c7-8eb359bc292e.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/3862da37-bc5a-4d18-863a-f95ecb655192.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/3862da37-bc5a-4d18-863a-f95ecb655192.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/3862da37-bc5a-4d18-863a-f95ecb655192.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/721f4121-092f-4bd4-a88e-617f7f0dcaa0.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/721f4121-092f-4bd4-a88e-617f7f0dcaa0.vsidx deleted file mode 100644 index 3e53e36..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/721f4121-092f-4bd4-a88e-617f7f0dcaa0.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/f9d75916-5707-4c7a-a596-ddbfa8e6566c.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/f9d75916-5707-4c7a-a596-ddbfa8e6566c.vsidx deleted file mode 100644 index 25f7887..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/f9d75916-5707-4c7a-a596-ddbfa8e6566c.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo deleted file mode 100644 index 0c13c44..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.backup.json b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.backup.json deleted file mode 100644 index 62ab535..0000000 --- a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.backup.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|d:\\steam\\steamapps\\common\\rimworld\\mods\\simplelootbox\\1.5\\source\\simplelootbox\\gamecomponent_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:gamecomponent_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\compspawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:compspawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\compproperties_lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:compproperties_lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\compproperties_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:compproperties_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\harmonypatches\\pawn_kill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:harmonypatches\\pawn_kill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\PatchMain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:HarmonyPatches\\PatchMain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|d:\\steam\\steamapps\\common\\rimworld\\mods\\simplelootbox\\1.5\\source\\simplelootbox\\lootboxopeningwindow.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxopeningwindow.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\complootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:complootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxspinner.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxspinner.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxthingdef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxthingdef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxdatabase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxdatabase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\raritycolor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:raritycolor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\rarity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:rarity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxpawnkinddef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxpawnkinddef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\Verniy\\Downloads\\LootBoxSpinner.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|SimpleLootBox||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Properties\\AssemblyInfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:Properties\\AssemblyInfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 7, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "GameComponent_SpawnLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\GameComponent_SpawnLootBox.cs", - "RelativeDocumentMoniker": "GameComponent_SpawnLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\GameComponent_SpawnLootBox.cs", - "RelativeToolTip": "GameComponent_SpawnLootBox.cs", - "ViewState": "AgIAADMAAAAAAAAAAAAowBgAAABMAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-09T02:40:24.696Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 3, - "Title": "CompProperties_LootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_LootBox.cs", - "RelativeDocumentMoniker": "CompProperties_LootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_LootBox.cs", - "RelativeToolTip": "CompProperties_LootBox.cs", - "ViewState": "AgIAAAkAAAAAAAAAAAAAAB4AAAA0AAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:54:49.755Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 7, - "Title": "LootBoxOpeningWindow.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxOpeningWindow.cs", - "RelativeDocumentMoniker": "LootBoxOpeningWindow.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxOpeningWindow.cs", - "RelativeToolTip": "LootBoxOpeningWindow.cs", - "ViewState": "AgIAADcAAAAAAAAAAAAewE0AAAA5AAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T20:18:46.529Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 2, - "Title": "CompSpawnLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompSpawnLootBox.cs", - "RelativeDocumentMoniker": "CompSpawnLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompSpawnLootBox.cs", - "RelativeToolTip": "CompSpawnLootBox.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAJAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T01:26:54.137Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "Title": "CompProperties_SpawnLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_SpawnLootBox.cs", - "RelativeDocumentMoniker": "CompProperties_SpawnLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_SpawnLootBox.cs", - "RelativeToolTip": "CompProperties_SpawnLootBox.cs", - "ViewState": "AgIAAAIAAAAAAAAAAAAYwBQAAAABAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T01:22:11.223Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 6, - "Title": "PatchMain.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\PatchMain.cs", - "RelativeDocumentMoniker": "HarmonyPatches\\PatchMain.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\PatchMain.cs", - "RelativeToolTip": "HarmonyPatches\\PatchMain.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:33.185Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 5, - "Title": "Pawn_Kill.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\Pawn_Kill.cs", - "RelativeDocumentMoniker": "HarmonyPatches\\Pawn_Kill.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\Pawn_Kill.cs", - "RelativeToolTip": "HarmonyPatches\\Pawn_Kill.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:18.923Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "LootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBox.cs", - "RelativeDocumentMoniker": "LootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBox.cs", - "RelativeToolTip": "LootBox.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T01:23:17.893Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 11, - "Title": "LootBoxDatabase.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxDatabase.cs", - "RelativeDocumentMoniker": "LootBoxDatabase.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxDatabase.cs", - "RelativeToolTip": "LootBoxDatabase.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T02:24:30.5Z" - }, - { - "$type": "Document", - "DocumentIndex": 9, - "Title": "LootBoxSpinner.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxSpinner.cs", - "RelativeDocumentMoniker": "LootBoxSpinner.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxSpinner.cs", - "RelativeToolTip": "LootBoxSpinner.cs", - "ViewState": "AQIAAGQAAAAAAAAAAAAYwH0AAAAaAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T20:22:09.628Z" - }, - { - "$type": "Document", - "DocumentIndex": 10, - "Title": "LootBoxThingDef.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxThingDef.cs", - "RelativeDocumentMoniker": "LootBoxThingDef.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxThingDef.cs", - "RelativeToolTip": "LootBoxThingDef.cs", - "ViewState": "AQIAAAYAAAAAAAAAAAAAAB8AAAAlAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:36:06.172Z" - }, - { - "$type": "Document", - "DocumentIndex": 8, - "Title": "CompLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompLootBox.cs", - "RelativeDocumentMoniker": "CompLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompLootBox.cs", - "RelativeToolTip": "CompLootBox.cs", - "ViewState": "AgIAAA4AAAAAAAAAAAAQwBgAAAA5AAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:42:42.073Z" - }, - { - "$type": "Document", - "DocumentIndex": 12, - "Title": "RarityColor.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\RarityColor.cs", - "RelativeDocumentMoniker": "RarityColor.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\RarityColor.cs", - "RelativeToolTip": "RarityColor.cs", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABMAAAAGAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-08T13:16:57.175Z" - }, - { - "$type": "Document", - "DocumentIndex": 13, - "Title": "Rarity.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Rarity.cs", - "RelativeDocumentMoniker": "Rarity.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Rarity.cs", - "RelativeToolTip": "Rarity.cs", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABYAAABNAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T12:47:11.303Z" - }, - { - "$type": "Document", - "DocumentIndex": 14, - "Title": "LootBoxPawnKindDef.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxPawnKindDef.cs", - "RelativeDocumentMoniker": "LootBoxPawnKindDef.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxPawnKindDef.cs", - "RelativeToolTip": "LootBoxPawnKindDef.cs", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABgAAAAdAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:37:54.85Z" - }, - { - "$type": "Document", - "DocumentIndex": 15, - "Title": "LootBoxSpinner.cs", - "DocumentMoniker": "C:\\Users\\Verniy\\Downloads\\LootBoxSpinner.cs", - "ToolTip": "C:\\Users\\Verniy\\Downloads\\LootBoxSpinner.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T23:49:02.745Z" - }, - { - "$type": "Document", - "DocumentIndex": 16, - "Title": "SimpleLootBox", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\SimpleLootBox.csproj", - "RelativeDocumentMoniker": "SimpleLootBox.csproj", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\SimpleLootBox.csproj", - "RelativeToolTip": "SimpleLootBox.csproj", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|", - "WhenOpened": "2025-05-06T22:01:57.262Z" - }, - { - "$type": "Document", - "DocumentIndex": 17, - "Title": "AssemblyInfo.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Properties\\AssemblyInfo.cs", - "RelativeDocumentMoniker": "Properties\\AssemblyInfo.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Properties\\AssemblyInfo.cs", - "RelativeToolTip": "Properties\\AssemblyInfo.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:00:49.967Z" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json deleted file mode 100644 index 62ab535..0000000 --- a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|d:\\steam\\steamapps\\common\\rimworld\\mods\\simplelootbox\\1.5\\source\\simplelootbox\\gamecomponent_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:gamecomponent_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\compspawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:compspawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\compproperties_lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:compproperties_lootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\compproperties_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:compproperties_spawnlootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\harmonypatches\\pawn_kill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:harmonypatches\\pawn_kill.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\PatchMain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:HarmonyPatches\\PatchMain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|d:\\steam\\steamapps\\common\\rimworld\\mods\\simplelootbox\\1.5\\source\\simplelootbox\\lootboxopeningwindow.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxopeningwindow.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\complootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:complootbox.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxspinner.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxspinner.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxthingdef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxthingdef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxdatabase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxdatabase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\raritycolor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:raritycolor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\rarity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:rarity.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\lootboxpawnkinddef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:lootboxpawnkinddef.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\Verniy\\Downloads\\LootBoxSpinner.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|SimpleLootBox||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|" - }, - { - "AbsoluteMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Properties\\AssemblyInfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{00FCB9AE-563C-4C61-B2E3-317C008E6254}|SimpleLootBox.csproj|solutionrelative:Properties\\AssemblyInfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 7, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "GameComponent_SpawnLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\GameComponent_SpawnLootBox.cs", - "RelativeDocumentMoniker": "GameComponent_SpawnLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\GameComponent_SpawnLootBox.cs", - "RelativeToolTip": "GameComponent_SpawnLootBox.cs", - "ViewState": "AgIAADMAAAAAAAAAAAAowBgAAABMAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-09T02:40:24.696Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 3, - "Title": "CompProperties_LootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_LootBox.cs", - "RelativeDocumentMoniker": "CompProperties_LootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_LootBox.cs", - "RelativeToolTip": "CompProperties_LootBox.cs", - "ViewState": "AgIAAAkAAAAAAAAAAAAAAB4AAAA0AAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:54:49.755Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 7, - "Title": "LootBoxOpeningWindow.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxOpeningWindow.cs", - "RelativeDocumentMoniker": "LootBoxOpeningWindow.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxOpeningWindow.cs", - "RelativeToolTip": "LootBoxOpeningWindow.cs", - "ViewState": "AgIAADcAAAAAAAAAAAAewE0AAAA5AAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T20:18:46.529Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 2, - "Title": "CompSpawnLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompSpawnLootBox.cs", - "RelativeDocumentMoniker": "CompSpawnLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompSpawnLootBox.cs", - "RelativeToolTip": "CompSpawnLootBox.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAJAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T01:26:54.137Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "Title": "CompProperties_SpawnLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_SpawnLootBox.cs", - "RelativeDocumentMoniker": "CompProperties_SpawnLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompProperties_SpawnLootBox.cs", - "RelativeToolTip": "CompProperties_SpawnLootBox.cs", - "ViewState": "AgIAAAIAAAAAAAAAAAAYwBQAAAABAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T01:22:11.223Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 6, - "Title": "PatchMain.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\PatchMain.cs", - "RelativeDocumentMoniker": "HarmonyPatches\\PatchMain.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\PatchMain.cs", - "RelativeToolTip": "HarmonyPatches\\PatchMain.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:33.185Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 5, - "Title": "Pawn_Kill.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\Pawn_Kill.cs", - "RelativeDocumentMoniker": "HarmonyPatches\\Pawn_Kill.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\HarmonyPatches\\Pawn_Kill.cs", - "RelativeToolTip": "HarmonyPatches\\Pawn_Kill.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:18.923Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "LootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBox.cs", - "RelativeDocumentMoniker": "LootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBox.cs", - "RelativeToolTip": "LootBox.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T01:23:17.893Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 11, - "Title": "LootBoxDatabase.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxDatabase.cs", - "RelativeDocumentMoniker": "LootBoxDatabase.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxDatabase.cs", - "RelativeToolTip": "LootBoxDatabase.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T02:24:30.5Z" - }, - { - "$type": "Document", - "DocumentIndex": 9, - "Title": "LootBoxSpinner.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxSpinner.cs", - "RelativeDocumentMoniker": "LootBoxSpinner.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxSpinner.cs", - "RelativeToolTip": "LootBoxSpinner.cs", - "ViewState": "AQIAAGQAAAAAAAAAAAAYwH0AAAAaAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T20:22:09.628Z" - }, - { - "$type": "Document", - "DocumentIndex": 10, - "Title": "LootBoxThingDef.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxThingDef.cs", - "RelativeDocumentMoniker": "LootBoxThingDef.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxThingDef.cs", - "RelativeToolTip": "LootBoxThingDef.cs", - "ViewState": "AQIAAAYAAAAAAAAAAAAAAB8AAAAlAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:36:06.172Z" - }, - { - "$type": "Document", - "DocumentIndex": 8, - "Title": "CompLootBox.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompLootBox.cs", - "RelativeDocumentMoniker": "CompLootBox.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompLootBox.cs", - "RelativeToolTip": "CompLootBox.cs", - "ViewState": "AgIAAA4AAAAAAAAAAAAQwBgAAAA5AAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:42:42.073Z" - }, - { - "$type": "Document", - "DocumentIndex": 12, - "Title": "RarityColor.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\RarityColor.cs", - "RelativeDocumentMoniker": "RarityColor.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\RarityColor.cs", - "RelativeToolTip": "RarityColor.cs", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABMAAAAGAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-08T13:16:57.175Z" - }, - { - "$type": "Document", - "DocumentIndex": 13, - "Title": "Rarity.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Rarity.cs", - "RelativeDocumentMoniker": "Rarity.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Rarity.cs", - "RelativeToolTip": "Rarity.cs", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABYAAABNAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T12:47:11.303Z" - }, - { - "$type": "Document", - "DocumentIndex": 14, - "Title": "LootBoxPawnKindDef.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxPawnKindDef.cs", - "RelativeDocumentMoniker": "LootBoxPawnKindDef.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxPawnKindDef.cs", - "RelativeToolTip": "LootBoxPawnKindDef.cs", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABgAAAAdAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:37:54.85Z" - }, - { - "$type": "Document", - "DocumentIndex": 15, - "Title": "LootBoxSpinner.cs", - "DocumentMoniker": "C:\\Users\\Verniy\\Downloads\\LootBoxSpinner.cs", - "ToolTip": "C:\\Users\\Verniy\\Downloads\\LootBoxSpinner.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T23:49:02.745Z" - }, - { - "$type": "Document", - "DocumentIndex": 16, - "Title": "SimpleLootBox", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\SimpleLootBox.csproj", - "RelativeDocumentMoniker": "SimpleLootBox.csproj", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\SimpleLootBox.csproj", - "RelativeToolTip": "SimpleLootBox.csproj", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|", - "WhenOpened": "2025-05-06T22:01:57.262Z" - }, - { - "$type": "Document", - "DocumentIndex": 17, - "Title": "AssemblyInfo.cs", - "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Properties\\AssemblyInfo.cs", - "RelativeDocumentMoniker": "Properties\\AssemblyInfo.cs", - "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\Properties\\AssemblyInfo.cs", - "RelativeToolTip": "Properties\\AssemblyInfo.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:00:49.967Z" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/1.5/Source/SimpleLootBox/CompLootBox.cs b/1.5/Source/SimpleLootBox/CompLootBox.cs deleted file mode 100644 index 24016cb..0000000 --- a/1.5/Source/SimpleLootBox/CompLootBox.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using UnityEngine; -using Verse; -using Verse.Noise; -using Verse.Sound; - -namespace SimpleLootBox -{ - public class CompLootBox : CompUseEffect - { - public CompProperties_LootBox Props => (CompProperties_LootBox)props; - - public override void DoEffect(Pawn usedBy) - { - base.DoEffect(usedBy); - LootBoxOpeningWindow window = new LootBoxOpeningWindow(this); - Find.WindowStack.Add(window); - } - - public bool Spawn(LootBoxSpinner.SpinItem reward) - { - if (reward.count <= 0) return false; - - Map map = parent.Map; - IntVec3 position = parent.Position; - - if (reward.thingDef != null) - { - for (int i = 0; i < reward.count; i++) - { - Thing thing; - - if (reward.thingDef.MadeFromStuff && reward.stuff != null) - { - thing = ThingMaker.MakeThing(reward.thingDef, reward.stuff); - } - else - { - thing = ThingMaker.MakeThing(reward.thingDef); - } - - if (thing.TryGetComp() != null) - { - thing.TryGetComp().SetQuality(reward.quality, ArtGenerationContext.Outsider); - } - - if (thing.def.Minifiable) - { - Thing minifiedThing = MinifyUtility.MakeMinified(thing); - GenPlace.TryPlaceThing(minifiedThing, parent.Position, parent.Map, ThingPlaceMode.Near); - } - else - { - GenPlace.TryPlaceThing(thing, parent.Position, parent.Map, ThingPlaceMode.Near); - } - - if (reward.effecterDef != null) - { - Effecter effecter = reward.effecterDef.Spawn(); - effecter.Trigger(new TargetInfo(position, map), new TargetInfo(position, map)); - effecter.Cleanup(); - } - } - } - else if (reward.pawnKindDef != null) - { - for (int i = 0; i < reward.count; i++) - { - PawnGenerationRequest request = new PawnGenerationRequest( - kind: reward.pawnKindDef, - context: PawnGenerationContext.NonPlayer, - canGeneratePawnRelations: false, - colonistRelationChanceFactor: 0f, - forceGenerateNewPawn: true, - //Because people really want to spawn baby using the loot box - developmentalStages: reward.pawnKindDef.pawnGroupDevelopmentStage ?? DevelopmentalStage.Adult, - allowDowned: true - ); - Pawn pawn = PawnGenerator.GeneratePawn(request); - - if (reward.isHostile) - { - Faction enemy = Find.FactionManager.AllFactionsVisible - .Where(f => !f.IsPlayer && f.HostileTo(Faction.OfPlayer) && f.def.humanlikeFaction) - .RandomElementWithFallback(); - pawn.SetFaction(enemy); - - if (pawn.RaceProps.Animal) - { - pawn.mindState.mentalStateHandler.TryStartMentalState(MentalStateDefOf.ManhunterPermanent, forced: true); - } - else if (pawn.RaceProps.Humanlike) - { - pawn.mindState.mentalStateHandler.TryStartMentalState(MentalStateDefOf.Berserk, forced: true); - } - else if (pawn.RaceProps.IsMechanoid) - { - pawn.mindState.mentalStateHandler.TryStartMentalState(MentalStateDefOf.BerserkMechanoid, forced: true); - } - } - else - { - pawn.SetFaction(Faction.OfPlayer); - if (pawn.ideo != null) - { - pawn.ideo.SetIdeo(Faction.OfPlayer.ideos.PrimaryIdeo); - } - } - - if (pawn.ideo != null) - { - pawn.ideo.SetIdeo(Faction.OfPlayer.ideos.PrimaryIdeo); - } - GenSpawn.Spawn(pawn, position, map, WipeMode.Vanish); - - if (reward.effecterDef != null) - { - Effecter effecter = reward.effecterDef.Spawn(); - effecter.Trigger(new TargetInfo(position, map), new TargetInfo(position, map)); - effecter.Cleanup(); - } - } - } - return true; - } - - public void DeleteBox(int count) - { - if (parent.stackCount > count) - { - parent.stackCount -= count; - } - else if (parent.stackCount == count) - { - parent.Destroy(DestroyMode.Vanish); - } - } - } -} diff --git a/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs b/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs deleted file mode 100644 index ad10d10..0000000 --- a/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using UnityEngine; -using Verse; - -namespace SimpleLootBox -{ - public class CompProperties_LootBox : CompProperties_UseEffect - { - public CompProperties_LootBox() - { - this.compClass = typeof(CompLootBox); - } - - public List lootBoxThingDef; - - public List lootBoxPawnKindDef; - - public ThingDef lootBoxOpenCost; - - public int lootBoxOpenCostCount = 0; - - public SoundDef lootBoxOpenSound; - - public SoundDef lootBoxSpinningSound; - - public SoundDef lootBoxBackgroundMusicSound; - - public string lootBoxBackgroundTexturePath; - - } -} diff --git a/1.5/Source/SimpleLootBox/CompProperties_SpawnLootBox.cs b/1.5/Source/SimpleLootBox/CompProperties_SpawnLootBox.cs deleted file mode 100644 index 139fed2..0000000 --- a/1.5/Source/SimpleLootBox/CompProperties_SpawnLootBox.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using SimpleLootBox.SimpleLootBox; -using Verse; - -namespace SimpleLootBox -{ - public class CompProperties_SpawnLootBox : CompProperties - { - public List lootBoxList; - - public CompProperties_SpawnLootBox() - { - this.compClass = typeof(CompSpawnLootBox); - } - } -} diff --git a/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs b/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs deleted file mode 100644 index 577e44e..0000000 --- a/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using Verse; - -namespace SimpleLootBox -{ - using System.Collections.Generic; - using RimWorld; - using Verse; - - namespace SimpleLootBox - { - public class CompSpawnLootBox : ThingComp - { - } - } -} diff --git a/1.5/Source/SimpleLootBox/GameComponent_SpawnLootBox.cs b/1.5/Source/SimpleLootBox/GameComponent_SpawnLootBox.cs deleted file mode 100644 index 5fe44a9..0000000 --- a/1.5/Source/SimpleLootBox/GameComponent_SpawnLootBox.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using SimpleLootBox.SimpleLootBox; -using Verse; - -namespace SimpleLootBox -{ - public class GameComponent_SpawnLootBox : GameComponent - { - private Dictionary nextSpawnTick = new Dictionary(); - - public GameComponent_SpawnLootBox(Game game) : base() { } - - public override void GameComponentTick() - { - if (Current.Game?.World?.worldObjects == null || Find.TickManager.TicksGame % 250 != 0) - return; - - int currentTick = Find.TickManager.TicksGame; - - foreach (var def in DefDatabase.AllDefsListForReading) - { - if (def.HasComp(typeof(CompSpawnLootBox))) - { - var spawnComp = def.GetCompProperties(); - if (spawnComp?.lootBoxList == null) continue; - - foreach (var lootBox in spawnComp.lootBoxList) - { - if (lootBox.thingDef == null || lootBox.daysBetweenLootBoxSpawns <= 0) continue; - - string key = def.defName + "_" + lootBox.thingDef.defName; - - if (!nextSpawnTick.TryGetValue(key, out int tick)) - { - tick = currentTick + (int)(lootBox.daysBetweenLootBoxSpawns * 60000); - nextSpawnTick[key] = tick; - } - - if (currentTick >= tick) - { - Spawn(lootBox.thingDef); - nextSpawnTick[key] = currentTick + (int)(lootBox.daysBetweenLootBoxSpawns * 60000); - } - } - } - } - } - - private void Spawn(ThingDef def) - { - Map map = Find.AnyPlayerHomeMap; - if (map == null) return; - - IntVec3 pos = DropCellFinder.TradeDropSpot(map); - Thing thing = ThingMaker.MakeThing(def); - GenPlace.TryPlaceThing(thing, pos, map, ThingPlaceMode.Near); - - Messages.Message("SimpleLootBox_ThingArrived".Translate(def.label.CapitalizeFirst()), - new TargetInfo(pos, map), MessageTypeDefOf.PositiveEvent); - } - - public override void ExposeData() - { - Scribe_Collections.Look(ref nextSpawnTick, "SimpleLootBox_nextSpawnTick", LookMode.Value, LookMode.Value); - } - } -} diff --git a/1.5/Source/SimpleLootBox/HarmonyPatches/PatchMain.cs b/1.5/Source/SimpleLootBox/HarmonyPatches/PatchMain.cs deleted file mode 100644 index f061909..0000000 --- a/1.5/Source/SimpleLootBox/HarmonyPatches/PatchMain.cs +++ /dev/null @@ -1,23 +0,0 @@ -using HarmonyLib; -using JetBrains.Annotations; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using Verse; - -namespace SimpleLootBox.HarmonyPatches -{ - [UsedImplicitly] - [StaticConstructorOnStartup] - public class PatchMain - { - static PatchMain() - { - var instance = new Harmony("SimpleLootBox_HarmonyPatches"); - instance.PatchAll(Assembly.GetExecutingAssembly()); - } - } -} diff --git a/1.5/Source/SimpleLootBox/HarmonyPatches/Pawn_Kill.cs b/1.5/Source/SimpleLootBox/HarmonyPatches/Pawn_Kill.cs deleted file mode 100644 index 62c2931..0000000 --- a/1.5/Source/SimpleLootBox/HarmonyPatches/Pawn_Kill.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using HarmonyLib; -using RimWorld; -using Verse; - -namespace SimpleLootBox.HarmonyPatches -{ - [HarmonyPatch(typeof(Pawn), nameof(Pawn.Kill))] - public static class Pawn_Kill_Patch - { - static void Postfix(Pawn __instance) - { - if (!__instance.SpawnedOrAnyParentSpawned) return; - - foreach (var lootBox in LootBoxDatabase.allLootBoxes) - { - if (Rand.Value <= lootBox.chance) - { - Thing thing = ThingMaker.MakeThing(lootBox.thingDef); - GenPlace.TryPlaceThing(thing, __instance.PositionHeld, __instance.MapHeld, ThingPlaceMode.Near); - } - } - } - } -} diff --git a/1.5/Source/SimpleLootBox/LootBox.cs b/1.5/Source/SimpleLootBox/LootBox.cs deleted file mode 100644 index 9ff5095..0000000 --- a/1.5/Source/SimpleLootBox/LootBox.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Verse; - -namespace SimpleLootBox -{ - public class LootBox - { - public ThingDef thingDef; - public float chance = 0.05f; - public float daysBetweenLootBoxSpawns; - } -} diff --git a/1.5/Source/SimpleLootBox/LootBoxDatabase.cs b/1.5/Source/SimpleLootBox/LootBoxDatabase.cs deleted file mode 100644 index 163a777..0000000 --- a/1.5/Source/SimpleLootBox/LootBoxDatabase.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Verse; - -namespace SimpleLootBox -{ - public static class LootBoxDatabase - { - public static List allLootBoxes = new List(); - - static LootBoxDatabase() - { - foreach (var def in DefDatabase.AllDefs) - { - var props = def.GetCompProperties(); - if (props?.lootBoxList != null) - { - foreach (var lootBox in props.lootBoxList) - { - allLootBoxes.Add(lootBox); - } - } - } - } - } -} diff --git a/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs b/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs deleted file mode 100644 index f300e36..0000000 --- a/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs +++ /dev/null @@ -1,263 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using UnityEngine; -using RimWorld; -using Verse; -using Verse.Sound; - -namespace SimpleLootBox -{ - public class LootBoxOpeningWindow : Window - { - private static Vector2 scrollPosition = Vector2.zero; - private readonly CompLootBox compLootBox; - private readonly LootBoxSpinner lootBoxSpinner; - private Sustainer backgroundMusicSustainer; - private Sustainer spinningSustainer; - private Texture2D backgroundTex; - private LootBoxSpinner.SpinItem? pendingFinalizingSoundItem = null; - private LootBoxSpinner.SpinItem? pendingRewardItem = null; - - public LootBoxOpeningWindow(CompLootBox comp) - { - this.compLootBox = comp; - this.lootBoxSpinner = new LootBoxSpinner(comp); - this.doCloseX = true; - this.forcePause = true; - } - - public override void PreOpen() - { - base.PreOpen(); - - if (compLootBox.Props.lootBoxOpenSound != null) - { - compLootBox.Props.lootBoxOpenSound.PlayOneShot(SoundInfo.InMap(new TargetInfo(compLootBox.parent.Position, compLootBox.parent.Map))); - } - - if (compLootBox.Props.lootBoxBackgroundMusicSound != null) - { - SoundInfo info = SoundInfo.InMap(new TargetInfo(compLootBox.parent.Position, compLootBox.parent.Map), MaintenanceType.PerFrame); - backgroundMusicSustainer = compLootBox.Props.lootBoxBackgroundMusicSound.TrySpawnSustainer(info); - } - - if (!string.IsNullOrEmpty(compLootBox.Props.lootBoxBackgroundTexturePath)) - { - backgroundTex = ContentFinder.Get(compLootBox.Props.lootBoxBackgroundTexturePath, true); - } - - this.windowRect.width = 700f; - this.windowRect.height = 800f; - this.windowRect.x = (UI.screenWidth - this.windowRect.width) / 2f; - this.windowRect.y = (UI.screenHeight - this.windowRect.height) / 2f; - } - - public override void DoWindowContents(Rect inRect) - { - if (backgroundTex != null) - { - GUI.DrawTexture(inRect, backgroundTex, ScaleMode.StretchToFill); - } - GUI.BeginGroup(inRect); - lootBoxSpinner.Draw(new Rect(0f, 100f, inRect.width, 150f)); - - //Loot box label UI - Text.Font = GameFont.Medium; - Text.Anchor = TextAnchor.MiddleCenter; - Widgets.Label(new Rect(0f, 10f, inRect.width, 40f), compLootBox.parent.LabelCap); - - //Open loot box cost UI - if (compLootBox.Props.lootBoxOpenCost != null && compLootBox.Props.lootBoxOpenCostCount > 0) - { - Text.Font = GameFont.Small; - Text.Anchor = TextAnchor.MiddleCenter; - Widgets.Label( - new Rect(0f, 55f, inRect.width, 20f), - "SimpleLootBox_CostLabel".Translate( - compLootBox.Props.lootBoxOpenCostCount, - compLootBox.Props.lootBoxOpenCost.LabelCap - ) - ); - } - - backgroundMusicSustainer?.Maintain(); - spinningSustainer?.Maintain(); - - if (spinningSustainer != null && !lootBoxSpinner.IsSpinning) - { - spinningSustainer.End(); - spinningSustainer = null; - } - - bool HasEnoughCurrency() - { - if (compLootBox.Props.lootBoxOpenCost == null || compLootBox.Props.lootBoxOpenCostCount <= 0) - return true; - - Map map = compLootBox.parent.Map; - ThingDef currencyDef = compLootBox.Props.lootBoxOpenCost; - int requiredCount = compLootBox.Props.lootBoxOpenCostCount; - - int availableCount = map.listerThings.AllThings - .Where(thing => - thing.def == currencyDef && - thing.def.category == ThingCategory.Item && - thing.IsInAnyStorage() && - !thing.Position.Fogged(map)) - .Sum(thing => thing.stackCount); - - return availableCount >= requiredCount; - } - - bool ConsumeCurrency() - { - if (compLootBox.Props.lootBoxOpenCost == null || compLootBox.Props.lootBoxOpenCostCount <= 0) - return true; - - Map map = compLootBox.parent.Map; - ThingDef currencyDef = compLootBox.Props.lootBoxOpenCost; - int toConsume = compLootBox.Props.lootBoxOpenCostCount; - - foreach (Thing thing in map.listerThings.AllThings - .Where(t => - t.def == currencyDef && - t.def.category == ThingCategory.Item && - t.IsInAnyStorage() && - !t.Position.Fogged(map)) - .OrderByDescending(t => t.stackCount)) - { - int take = Math.Min(toConsume, thing.stackCount); - thing.SplitOff(take).Destroy(DestroyMode.Vanish); - toConsume -= take; - if (toConsume <= 0) - return true; - } - return false; - } - - bool canOpen = HasEnoughCurrency(); - Rect buttonRect = new Rect(255f, 250f, 150f, 50f); - if (Widgets.ButtonText(buttonRect, "SimpleLootBox_OpenBox".Translate(), active: true)) - { - if (!canOpen) - { - string label = compLootBox.Props.lootBoxOpenCost?.LabelCap ?? "unknown"; - int count = compLootBox.Props.lootBoxOpenCostCount; - Messages.Message("SimpleLootBox_NotEnoughCurrency".Translate(label, count), MessageTypeDefOf.RejectInput); - Text.Anchor = TextAnchor.UpperLeft; - Text.Font = GameFont.Small; - return; - } - - if (!lootBoxSpinner.IsSpinning) - { - var itemWon = lootBoxSpinner.Spin(); - pendingFinalizingSoundItem = itemWon; - pendingRewardItem = itemWon; - - if (compLootBox.Props.lootBoxSpinningSound != null) - { - SoundInfo info = SoundInfo.InMap(new TargetInfo(compLootBox.parent.Position, compLootBox.parent.Map), MaintenanceType.PerFrame); - spinningSustainer = compLootBox.Props.lootBoxSpinningSound.TrySpawnSustainer(info); - } - } - } - - if (!lootBoxSpinner.IsSpinning && pendingRewardItem != null) - { - var item = pendingRewardItem.Value; - bool done = compLootBox.Spawn(item); - if (done) - { - compLootBox.DeleteBox(1); - } - - if (item.finalizingSound != null) - { - item.finalizingSound.PlayOneShot(SoundInfo.InMap(new TargetInfo(compLootBox.parent.Position, compLootBox.parent.Map))); - } - - ConsumeCurrency(); - pendingRewardItem = null; - pendingFinalizingSoundItem = null; - } - - Rect listRect = new Rect(20f, 300f, inRect.width - 20f, inRect.height - 300f); - - int visibleCount = lootBoxSpinner.PossibleRewards.Count(spinItem => - (spinItem.thingDef != null && !(compLootBox.Props.lootBoxThingDef?.Find(t => t.thingDef == spinItem.thingDef)?.isHidden ?? false)) || - (spinItem.pawnKindDef != null && !(compLootBox.Props.lootBoxPawnKindDef?.Find(p => p.pawnKindDef == spinItem.pawnKindDef)?.isHidden ?? false))); - - Rect contentRect = new Rect(listRect.x, listRect.y, listRect.width - 20f, 10f + visibleCount * 20f); - - Widgets.BeginScrollView(listRect, ref scrollPosition, contentRect); - Text.Font = GameFont.Small; - - int rowIndex = 0; - foreach (var spinItem in lootBoxSpinner.PossibleRewards) - { - if (spinItem.thingDef != null) - { - var itemForShow = compLootBox.Props.lootBoxThingDef.Find(t => t.thingDef == spinItem.thingDef); - if (itemForShow != null && itemForShow.isHidden) - continue; - } - else if (spinItem.pawnKindDef != null) - { - var pawnForShow = compLootBox.Props.lootBoxPawnKindDef.Find(p => p.pawnKindDef == spinItem.pawnKindDef); - if (pawnForShow != null && pawnForShow.isHidden) - continue; - } - - Rect rowRect = new Rect(listRect.x, listRect.y + rowIndex * 20f, 100f, 20f); - Widgets.DrawRectFast(rowRect, RarityColors.GetColor(spinItem.rarity)); - - Rect labelRect = new Rect(listRect.x + 120f, listRect.y + rowIndex * 20f, listRect.width - 150f, 20f); - Widgets.DrawRectFast(labelRect, RarityColors.GetColor(spinItem.rarity)); - - Text.Anchor = TextAnchor.MiddleCenter; - Widgets.Label(rowRect, spinItem.rarity.TranslateLabel()); - - string rewardName = spinItem.thingDef != null - ? spinItem.thingDef.LabelCap - : (spinItem.pawnKindDef?.LabelCap ?? ""); - - Text.Anchor = TextAnchor.MiddleLeft; - Widgets.Label(labelRect, rewardName); - - if (spinItem.count > 1) - { - Text.Anchor = TextAnchor.MiddleRight; - Widgets.Label(labelRect, $"x{spinItem.count}"); - } - - rowIndex++; - } - - Text.Anchor = TextAnchor.UpperLeft; - Text.Font = GameFont.Small; - Widgets.EndScrollView(); - GUI.EndGroup(); - } - - public override void PostClose() - { - base.PostClose(); - if (backgroundMusicSustainer != null) - { - backgroundMusicSustainer.End(); - backgroundMusicSustainer = null; - } - - if (spinningSustainer != null) - { - spinningSustainer.End(); - spinningSustainer = null; - } - } - } -} - diff --git a/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs b/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs deleted file mode 100644 index aea3410..0000000 --- a/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using Verse; - -namespace SimpleLootBox -{ - public class LootBoxPawnKindDef - { - public PawnKindDef pawnKindDef; - - public float weight = 1f; - - public int count = 1; - - public EffecterDef effecterDef; - - public Rarity rarity; - - public SoundDef lootBoxFinalizingRewardSound; - - public bool isHostile = false; - - public bool isHidden = false; - - } -} diff --git a/1.5/Source/SimpleLootBox/LootBoxSpinner.cs b/1.5/Source/SimpleLootBox/LootBoxSpinner.cs deleted file mode 100644 index ce5b6d1..0000000 --- a/1.5/Source/SimpleLootBox/LootBoxSpinner.cs +++ /dev/null @@ -1,210 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using UnityEngine; -using Verse; -using static SimpleLootBox.LootBoxSpinner; - -namespace SimpleLootBox -{ - public class LootBoxSpinner - { - private const int CellCount = 50; - private float speed = 0f; - public bool IsSpinning => speed > 0.1f; - private float position = 0f; - private readonly System.Random rng = new System.Random(); - private readonly CompLootBox comp; - private readonly SpinItem[] spinWheelItems = new SpinItem[CellCount]; - - public List PossibleRewards { get; private set; } = new List(); - - public LootBoxSpinner(CompLootBox comp) - { - this.comp = comp; - LoadPossibleRewards(); - for (int i = 0; i < CellCount; i++) - { - spinWheelItems[i] = PickRandomReward(); - } - } - - private void LoadPossibleRewards() - { - PossibleRewards.Clear(); - CompProperties_LootBox props = comp.Props; - - if (props.lootBoxThingDef != null) - { - foreach (var thing in props.lootBoxThingDef) - { - if (thing.thingDef == null || thing.weight <= 0) continue; - SpinItem item = new SpinItem(thing.thingDef, thing.stuff, thing.quality, thing.count, thing.rarity, thing.weight, thing.effecterDef, thing.lootBoxFinalizingRewardSound, thing.isHostile); - PossibleRewards.Add(item); - } - } - - if (props.lootBoxPawnKindDef != null) - { - foreach (var pawn in props.lootBoxPawnKindDef) - { - if (pawn.pawnKindDef == null || pawn.weight <= 0) continue; - SpinItem item = new SpinItem(pawn.pawnKindDef, pawn.count, pawn.rarity, pawn.weight, pawn.effecterDef, pawn.lootBoxFinalizingRewardSound, pawn.isHostile); - PossibleRewards.Add(item); - } - } - - PossibleRewards.Sort((a, b) => - { - int r = b.rarity.CompareTo(a.rarity); - if (r != 0) return r; - string an = a.thingDef != null ? a.thingDef.label : a.pawnKindDef?.label ?? ""; - string bn = b.thingDef != null ? b.thingDef.label : b.pawnKindDef?.label ?? ""; - return string.Compare(an, bn, StringComparison.OrdinalIgnoreCase); - }); - } - - public void Draw(Rect rect) - { - if (spinWheelItems.Length == 0) return; - - speed = Math.Max(speed - 0.2f, 0f); - position += speed; - float totalWidth = rect.width * CellCount * 0.2f; - - for (int i = 0; i < CellCount; i++) - { - float x = totalWidth - ((position + rect.width * (i * 0.2f)) % totalWidth) + rect.x - rect.width * 0.2f; - Rect cellRect = new Rect(x, rect.y, rect.width * 0.2f - 5f, rect.height); - SpinItem item = spinWheelItems[i]; - Widgets.DrawRectFast(cellRect, RarityColors.GetColor(item.rarity)); - Rect iconRect = new Rect(x, rect.y + 5f, rect.width * 0.2f - 5f, rect.width * 0.2f - 5f); - Texture iconTex = item.thingDef?.uiIcon; - if (item.pawnKindDef != null) - { - iconTex = item.portrait; - } - - if (iconTex != null) - { - Widgets.DrawTextureFitted(iconRect, iconTex, 1f); - } - else - { - Text.Anchor = TextAnchor.MiddleCenter; - Text.Font = GameFont.Tiny; - string label = item.thingDef?.LabelCap ?? item.pawnKindDef?.LabelCap ?? ""; - - if (!string.IsNullOrWhiteSpace(label)) - { - Widgets.Label(iconRect, label); - } - } - - if (item.count > 1) - { - Rect countRect = new Rect(x, rect.y + 20f, rect.width * 0.2f - 5f, rect.width * 0.2f - 5f); - Text.Anchor = TextAnchor.LowerRight; - Text.Font = GameFont.Medium; - Widgets.Label(countRect, "x" + item.count); - } - - Text.Anchor = TextAnchor.UpperLeft; - Text.Font = GameFont.Small; - } - - Rect bar = new Rect(rect.x + rect.width / 2f - 1f, rect.y, 2f, rect.height); - Widgets.DrawRectFast(bar, new Color(0.0823f, 0.098f, 0.1137f, 1f)); - } - - public SpinItem Spin() - { - speed = 100.3f; - position = 0f; - - for (int i = 0; i < CellCount; i++) - { - spinWheelItems[i] = PickRandomReward(); - } - - return spinWheelItems[8]; - } - - public void Stop() - { - speed = 0f; - position = 0f; - } - - private SpinItem PickRandomReward() - { - if (PossibleRewards.Count == 0) return default; - - double totalWeight = 0; - foreach (var item in PossibleRewards) - { - totalWeight += item.weight; - } - - double pick = rng.NextDouble() * totalWeight; - foreach (var item in PossibleRewards) - { - pick -= item.weight; - if (pick <= 0) - return item; - } - - return PossibleRewards[PossibleRewards.Count - 1]; - } - - public struct SpinItem - { - public ThingDef thingDef; - public PawnKindDef pawnKindDef; - public ThingDef stuff; - public QualityCategory quality; - public int count; - public Rarity rarity; - public float weight; - public EffecterDef effecterDef; - public RenderTexture portrait; - public SoundDef finalizingSound; - public bool isHostile; - - public SpinItem(ThingDef thingDef, ThingDef stuff, QualityCategory quality, int count, Rarity rarity, float weight, EffecterDef effecter, SoundDef finalizingSound, bool isHostile) - { - this.thingDef = thingDef; - this.pawnKindDef = null; - this.stuff = stuff; - this.quality = quality; - this.count = count; - this.rarity = rarity; - this.weight = weight; - this.effecterDef = effecter; - this.portrait = null; - this.finalizingSound = finalizingSound; - this.isHostile = false;/*Have to match the struct, always false*/ - } - - public SpinItem(PawnKindDef pawnKindDef, int count, Rarity rarity, float weight, EffecterDef effecter, SoundDef finalizingSound, bool isHostile) - { - this.thingDef = null; - this.pawnKindDef = pawnKindDef; - this.stuff = null; - this.quality = QualityCategory.Normal; - this.count = count; - this.rarity = rarity; - this.weight = weight; - this.effecterDef = effecter; - this.finalizingSound = finalizingSound; - this.isHostile = isHostile; - - Pawn pawn = PawnGenerator.GeneratePawn(pawnKindDef); - this.portrait = PortraitsCache.Get(pawn, new Vector2(128f, 128f), Rot4.South, new Vector3(0f, 0f, 0.1f), 1.25f); - } - } - } -} diff --git a/1.5/Source/SimpleLootBox/LootBoxThingDef.cs b/1.5/Source/SimpleLootBox/LootBoxThingDef.cs deleted file mode 100644 index 7888d19..0000000 --- a/1.5/Source/SimpleLootBox/LootBoxThingDef.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Policy; -using System.Text; -using System.Threading.Tasks; -using RimWorld; -using Verse; - -namespace SimpleLootBox -{ - public class LootBoxThingDef - { - public ThingDef thingDef; - - public float weight = 1f; - - public int count = 1; - - public ThingDef stuff; - - public EffecterDef effecterDef; - - public QualityCategory quality; - - public Rarity rarity = 0; - - public SoundDef lootBoxFinalizingRewardSound; - - public bool isHostile = false; /*I have no idea why I choose to use the struct*/ - - public bool isHidden = false; - } -} diff --git a/1.5/Source/SimpleLootBox/Properties/AssemblyInfo.cs b/1.5/Source/SimpleLootBox/Properties/AssemblyInfo.cs deleted file mode 100644 index 998745f..0000000 --- a/1.5/Source/SimpleLootBox/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +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("SimpleLootBox")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("SimpleLootBox")] -[assembly: AssemblyCopyright("Copyright © 2025")] -[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("00fcb9ae-563c-4c61-b2e3-317c008e6254")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/1.5/Source/SimpleLootBox/Rarity.cs b/1.5/Source/SimpleLootBox/Rarity.cs deleted file mode 100644 index 28da1bd..0000000 --- a/1.5/Source/SimpleLootBox/Rarity.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Verse; - -namespace SimpleLootBox -{ - public enum Rarity : int - { - None = 0, - Common = 1, - Uncommon = 2, - Rare = 3, - Epic = 4, - Legendary = 5, - } - public static class RarityExtensions - { - public static string TranslateLabel(this Rarity rarity) - { - return ("SimpleLootBox_Rarity_" + rarity.ToString()).Translate(); - } - } -} diff --git a/1.5/Source/SimpleLootBox/RarityColor.cs b/1.5/Source/SimpleLootBox/RarityColor.cs deleted file mode 100644 index 161cc62..0000000 --- a/1.5/Source/SimpleLootBox/RarityColor.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using UnityEngine; - -namespace SimpleLootBox -{ - public static class RarityColors - { - public static Dictionary rarityColorDict = new Dictionary - { - { Rarity.None, new Color(0.6f, 0.6f, 0.6f) }, - { Rarity.Common, new Color(0.3f, 0.3f, 1f) }, - { Rarity.Uncommon, new Color(0.8f, 0.3f, 1f) }, - { Rarity.Rare, new Color(1f, 0.3f, 0.8f) }, - { Rarity.Epic, new Color(1f, 0.3f, 0.3f) }, - { Rarity.Legendary, new Color(0.85f, 0.7f, 0.2f) } - }; - - public static Color GetColor(Rarity rarity) - { - return rarityColorDict.TryGetValue(rarity, out var color) ? color : Color.white; - } - } -} diff --git a/1.5/Source/SimpleLootBox/SimpleLootBox.csproj b/1.5/Source/SimpleLootBox/SimpleLootBox.csproj deleted file mode 100644 index fa549b5..0000000 --- a/1.5/Source/SimpleLootBox/SimpleLootBox.csproj +++ /dev/null @@ -1,78 +0,0 @@ - - - - - Debug - AnyCPU - {00FCB9AE-563C-4C61-B2E3-317C008E6254} - Library - Properties - SimpleLootBox - SimpleLootBox - v4.7.2 - 512 - true - - - - true - full - false - ..\..\Assemblies\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\..\..\..\..\..\..\workshop\content\294100\2009463077\Current\Assemblies\0Harmony.dll - - - ..\..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll - - - - - - - - - - - ..\..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll - - - ..\..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.IMGUIModule.dll - - - ..\..\..\..\..\RimWorldWin64_Data\Managed\UnityEngine.TextRenderingModule.dll - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/1.5/Source/SimpleLootBox/SimpleLootBox.sln b/1.5/Source/SimpleLootBox/SimpleLootBox.sln deleted file mode 100644 index ab0be77..0000000 --- a/1.5/Source/SimpleLootBox/SimpleLootBox.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLootBox", "SimpleLootBox.csproj", "{00FCB9AE-563C-4C61-B2E3-317C008E6254}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {00FCB9AE-563C-4C61-B2E3-317C008E6254}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {00FCB9AE-563C-4C61-B2E3-317C008E6254}.Debug|Any CPU.Build.0 = Debug|Any CPU - {00FCB9AE-563C-4C61-B2E3-317C008E6254}.Release|Any CPU.ActiveCfg = Release|Any CPU - {00FCB9AE-563C-4C61-B2E3-317C008E6254}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {622317E2-B381-4BBE-B0BA-FBC59718BBE4} - EndGlobalSection -EndGlobal diff --git a/1.5/Source/SimpleLootBox/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/1.5/Source/SimpleLootBox/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/1.5/Source/SimpleLootBox/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/1.5/Source/SimpleLootBox/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/1.5/Source/SimpleLootBox/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs deleted file mode 100644 index 15efebf..0000000 --- a/1.5/Source/SimpleLootBox/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/1.5/Source/SimpleLootBox/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/1.5/Source/SimpleLootBox/obj/Debug/DesignTimeResolveAssemblyReferences.cache deleted file mode 100644 index fba8bea..0000000 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/DesignTimeResolveAssemblyReferences.cache and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/1.5/Source/SimpleLootBox/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 44b4f6e..0000000 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLo.E20EF750.Up2Date b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLo.E20EF750.Up2Date deleted file mode 100644 index e69de29..0000000 diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.AssemblyReference.cache b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.AssemblyReference.cache deleted file mode 100644 index 513b643..0000000 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.AssemblyReference.cache and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache deleted file mode 100644 index dac990e..0000000 --- a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -5e2da3e94f7468b69c50cba94c011c2b6d045e493cb681af54aa42fea1387f90 diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.FileListAbsolute.txt b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.FileListAbsolute.txt deleted file mode 100644 index b7a7f0f..0000000 --- a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,14 +0,0 @@ -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.csproj.AssemblyReference.cache -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.csproj.CoreCompileInputs.cache -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Assemblies\SimpleLootBox.dll -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Assemblies\SimpleLootBox.pdb -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLo.E20EF750.Up2Date -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.dll -D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.pdb -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Assemblies\SimpleLootBox.dll -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Assemblies\SimpleLootBox.pdb -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.csproj.AssemblyReference.cache -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.csproj.CoreCompileInputs.cache -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLo.E20EF750.Up2Date -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.dll -C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Source\SimpleLootBox\obj\Debug\SimpleLootBox.pdb diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.dll b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.dll deleted file mode 100644 index afd739e..0000000 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.dll and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb deleted file mode 100644 index d76e122..0000000 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb and /dev/null differ diff --git a/About/About.xml b/About/About.xml index 0a063e2..ca659ad 100644 --- a/About/About.xml +++ b/About/About.xml @@ -5,7 +5,7 @@
  • 1.5
  • - NHUX.SimpleLootBox + NHUX.SimpleLootBox1 开箱mod,适合在服务器里使用,目前测试版 diff --git a/About/Preview.png b/About/Preview.png index b4fb8d5..c0a45e3 100644 Binary files a/About/Preview.png and b/About/Preview.png differ diff --git a/About/PublishedFileId.txt b/About/PublishedFileId.txt index 8719546..8d64c09 100644 --- a/About/PublishedFileId.txt +++ b/About/PublishedFileId.txt @@ -1 +1 @@ -3479112682 \ No newline at end of file +3479622537 \ No newline at end of file diff --git a/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml b/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml index b7540ed..1c0a22e 100644 --- a/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml +++ b/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml @@ -2,6 +2,7 @@ 开箱! + 这堆箱子都已经开完了。 储存区里没有足够的 {0} (需要 {1}) 来打开箱子。 消耗:{0} X {1} diff --git a/Content/Languages/English/Keyed/SimpleLootBox.xml b/Content/Languages/English/Keyed/SimpleLootBox.xml index 043e8e0..ad5a3c6 100644 --- a/Content/Languages/English/Keyed/SimpleLootBox.xml +++ b/Content/Languages/English/Keyed/SimpleLootBox.xml @@ -2,6 +2,7 @@ Open Box! + All loot boxes in the stack have been opened. Do not have enough {0} (need {1}) in storage to open this box. Cost: {0} X {1} diff --git a/Content/Textures/SimpleLootBox/ExampleA.png b/Content/Textures/SimpleLootBox/ExampleA.png index 986c279..4ff8c4e 100644 Binary files a/Content/Textures/SimpleLootBox/ExampleA.png and b/Content/Textures/SimpleLootBox/ExampleA.png differ diff --git a/Content/Textures/SimpleLootBox/ExampleB.png b/Content/Textures/SimpleLootBox/ExampleB.png index 099fd61..0a0de07 100644 Binary files a/Content/Textures/SimpleLootBox/ExampleB.png and b/Content/Textures/SimpleLootBox/ExampleB.png differ diff --git a/Content/Textures/SimpleLootBox/ExampleC.png b/Content/Textures/SimpleLootBox/ExampleC.png index 986c279..9cdcee1 100644 Binary files a/Content/Textures/SimpleLootBox/ExampleC.png and b/Content/Textures/SimpleLootBox/ExampleC.png differ diff --git a/Content/Textures/SimpleLootBox/ExampleD.png b/Content/Textures/SimpleLootBox/ExampleD.png index ef3b9f8..0d627a7 100644 Binary files a/Content/Textures/SimpleLootBox/ExampleD.png and b/Content/Textures/SimpleLootBox/ExampleD.png differ diff --git a/Content/Textures/SimpleLootBox/ExampleE.png b/Content/Textures/SimpleLootBox/ExampleE.png index 986c279..75a0c41 100644 Binary files a/Content/Textures/SimpleLootBox/ExampleE.png and b/Content/Textures/SimpleLootBox/ExampleE.png differ diff --git a/Content/Textures/SimpleLootBox/ExampleF.png b/Content/Textures/SimpleLootBox/ExampleF.png new file mode 100644 index 0000000..3b596ac Binary files /dev/null and b/Content/Textures/SimpleLootBox/ExampleF.png differ diff --git a/LoadFolders.xml b/LoadFolders.xml index e42269e..362960b 100644 --- a/LoadFolders.xml +++ b/LoadFolders.xml @@ -18,5 +18,6 @@
  • LoadFolders/ayazui
  • LoadFolders/moyo
  • LoadFolders/ayafeie
  • +
  • LoadFolders/mili
  • \ No newline at end of file diff --git a/LoadFolders/ayaxijun/Defs/PawnKinds/PawnKindsExampleXijunbaby.xml b/LoadFolders/ayaxijun/Defs/PawnKinds/PawnKindsExampleXijunbaby.xml index 1469774..7625018 100644 --- a/LoadFolders/ayaxijun/Defs/PawnKinds/PawnKindsExampleXijunbaby.xml +++ b/LoadFolders/ayaxijun/Defs/PawnKinds/PawnKindsExampleXijunbaby.xml @@ -15,8 +15,6 @@ - 0.01 - 3 @@ -30,7 +28,7 @@ --> - 9999 + 1 Baby diff --git a/LoadFolders/kuiy/Defs/PawnKinds/PawnKindsExamplekuiyin.xml b/LoadFolders/kuiy/Defs/PawnKinds/PawnKindsExamplekuiyin.xml index 331972f..f960d47 100644 --- a/LoadFolders/kuiy/Defs/PawnKinds/PawnKindsExamplekuiyin.xml +++ b/LoadFolders/kuiy/Defs/PawnKinds/PawnKindsExamplekuiyin.xml @@ -1,83 +1,4 @@ - - Miho_PlayerColonist_kami - - - 100 - Miho_PlayerColony - -
  • - -
  • MihoPioneer
  • - - -
    - 0 - 0 - 0 - - - - - - - - - - - -
  • - Urban - 1 - 1 -
  • -
    - - 0 - 0 - - 0.2 - 0 - 0~0 - 13~21 - 55 - - false - - - 22 - 22 - 12 - 22 - 22 - - - -
    -
    diff --git a/LoadFolders/mili/Defs/PawnKinds/PawnKindsExamplemili.xml b/LoadFolders/mili/Defs/PawnKinds/PawnKindsExamplemili.xml new file mode 100644 index 0000000..dc7ec13 --- /dev/null +++ b/LoadFolders/mili/Defs/PawnKinds/PawnKindsExamplemili.xml @@ -0,0 +1,81 @@ + + + + + Milian_Base_mi + + 100 + Milira_Faction + +
  • Milira_General
  • +
    + 0 + 0 + 0 + +
  • + Shooting + 10~18 +
  • +
  • + Shooting + 10~18 +
  • +
  • + Construction + 10~18 +
  • +
  • + Mining + 10~18 +
  • +
  • + Cooking + 10~18 +
  • +
  • + Plants + 10~18 +
  • +
  • + Plants + 10~18 +
  • +
  • + Animals + 10~18 +
  • +
  • + Crafting + 10~18 +
  • +
  • + Artistic + 10~18 +
  • +
  • + Social + 10~18 +
  • +
  • + Medicine + 10~18 +
  • +
  • + Intellectual + 10~18 +
  • +
    + + + + + + + + + + +
    + +
    diff --git a/LoadFolders/mili/Defs/PawnKinds/PawnKindsExamplemilibaby.xml b/LoadFolders/mili/Defs/PawnKinds/PawnKindsExamplemilibaby.xml new file mode 100644 index 0000000..1e8f250 --- /dev/null +++ b/LoadFolders/mili/Defs/PawnKinds/PawnKindsExamplemilibaby.xml @@ -0,0 +1,28 @@ + + + + + Milian_Base_baby + + 100 + Milira_Faction + +
  • Milira_General
  • +
    + 0 + 0 + 0 + + + + + + + + + + Baby + +
    + +