diff --git a/1.5/Assemblies/0Harmony.dll b/1.5/Assemblies/0Harmony.dll new file mode 100644 index 0000000..7aac19c Binary files /dev/null and b/1.5/Assemblies/0Harmony.dll differ diff --git a/1.5/Assemblies/Assembly-CSharp-firstpass.dll b/1.5/Assemblies/Assembly-CSharp-firstpass.dll new file mode 100644 index 0000000..4d9d412 Binary files /dev/null and b/1.5/Assemblies/Assembly-CSharp-firstpass.dll differ diff --git a/1.5/Assemblies/Assembly-CSharp.dll b/1.5/Assemblies/Assembly-CSharp.dll new file mode 100644 index 0000000..41ca90d Binary files /dev/null and b/1.5/Assemblies/Assembly-CSharp.dll differ diff --git a/1.5/Assemblies/ISharpZipLib.dll b/1.5/Assemblies/ISharpZipLib.dll new file mode 100644 index 0000000..bb15d24 Binary files /dev/null and b/1.5/Assemblies/ISharpZipLib.dll differ diff --git a/1.5/Assemblies/NAudio.dll b/1.5/Assemblies/NAudio.dll new file mode 100644 index 0000000..decb8dd Binary files /dev/null and b/1.5/Assemblies/NAudio.dll differ diff --git a/1.5/Assemblies/NVorbis.dll b/1.5/Assemblies/NVorbis.dll new file mode 100644 index 0000000..89d7214 Binary files /dev/null and b/1.5/Assemblies/NVorbis.dll differ diff --git a/1.5/Assemblies/SimpleLootBox.dll b/1.5/Assemblies/SimpleLootBox.dll index 8812829..afd739e 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 new file mode 100644 index 0000000..12930f4 Binary files /dev/null and b/1.5/Assemblies/SimpleLootBox.pdb differ diff --git a/1.5/Assemblies/Unity.Burst.Unsafe.dll b/1.5/Assemblies/Unity.Burst.Unsafe.dll new file mode 100644 index 0000000..ac36cfa Binary files /dev/null and b/1.5/Assemblies/Unity.Burst.Unsafe.dll differ diff --git a/1.5/Assemblies/Unity.Burst.dll b/1.5/Assemblies/Unity.Burst.dll new file mode 100644 index 0000000..70737d4 Binary files /dev/null and b/1.5/Assemblies/Unity.Burst.dll differ diff --git a/1.5/Assemblies/Unity.Mathematics.dll b/1.5/Assemblies/Unity.Mathematics.dll new file mode 100644 index 0000000..0cb9ff6 Binary files /dev/null and b/1.5/Assemblies/Unity.Mathematics.dll differ diff --git a/1.5/Assemblies/Unity.TextMeshPro.dll b/1.5/Assemblies/Unity.TextMeshPro.dll new file mode 100644 index 0000000..f3ec94c Binary files /dev/null and b/1.5/Assemblies/Unity.TextMeshPro.dll differ diff --git a/1.5/Assemblies/UnityEngine.AnimationModule.dll b/1.5/Assemblies/UnityEngine.AnimationModule.dll new file mode 100644 index 0000000..6243b6b Binary files /dev/null and b/1.5/Assemblies/UnityEngine.AnimationModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.AssetBundleModule.dll b/1.5/Assemblies/UnityEngine.AssetBundleModule.dll new file mode 100644 index 0000000..4762681 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.AssetBundleModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.AudioModule.dll b/1.5/Assemblies/UnityEngine.AudioModule.dll new file mode 100644 index 0000000..04a092a Binary files /dev/null and b/1.5/Assemblies/UnityEngine.AudioModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.CoreModule.dll b/1.5/Assemblies/UnityEngine.CoreModule.dll new file mode 100644 index 0000000..83b2b0a Binary files /dev/null and b/1.5/Assemblies/UnityEngine.CoreModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.IMGUIModule.dll b/1.5/Assemblies/UnityEngine.IMGUIModule.dll new file mode 100644 index 0000000..b557b58 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.IMGUIModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.ImageConversionModule.dll b/1.5/Assemblies/UnityEngine.ImageConversionModule.dll new file mode 100644 index 0000000..79aa449 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.ImageConversionModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.InputLegacyModule.dll b/1.5/Assemblies/UnityEngine.InputLegacyModule.dll new file mode 100644 index 0000000..1067ff9 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.InputLegacyModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.PerformanceReportingModule.dll b/1.5/Assemblies/UnityEngine.PerformanceReportingModule.dll new file mode 100644 index 0000000..faf6411 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.PerformanceReportingModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.Physics2DModule.dll b/1.5/Assemblies/UnityEngine.Physics2DModule.dll new file mode 100644 index 0000000..65dba8a Binary files /dev/null and b/1.5/Assemblies/UnityEngine.Physics2DModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.PhysicsModule.dll b/1.5/Assemblies/UnityEngine.PhysicsModule.dll new file mode 100644 index 0000000..4a7a9a6 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.PhysicsModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.ScreenCaptureModule.dll b/1.5/Assemblies/UnityEngine.ScreenCaptureModule.dll new file mode 100644 index 0000000..4ec8198 Binary files /dev/null and b/1.5/Assemblies/UnityEngine.ScreenCaptureModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.SharedInternalsModule.dll b/1.5/Assemblies/UnityEngine.SharedInternalsModule.dll new file mode 100644 index 0000000..8a9c9eb Binary files /dev/null and b/1.5/Assemblies/UnityEngine.SharedInternalsModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.TextCoreModule.dll b/1.5/Assemblies/UnityEngine.TextCoreModule.dll new file mode 100644 index 0000000..e13a54d Binary files /dev/null and b/1.5/Assemblies/UnityEngine.TextCoreModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.TextRenderingModule.dll b/1.5/Assemblies/UnityEngine.TextRenderingModule.dll new file mode 100644 index 0000000..447239e Binary files /dev/null and b/1.5/Assemblies/UnityEngine.TextRenderingModule.dll differ diff --git a/1.5/Assemblies/UnityEngine.UI.dll b/1.5/Assemblies/UnityEngine.UI.dll new file mode 100644 index 0000000..6c9c3bf Binary files /dev/null and b/1.5/Assemblies/UnityEngine.UI.dll differ diff --git a/1.5/Assemblies/UnityEngine.UIModule.dll b/1.5/Assemblies/UnityEngine.UIModule.dll new file mode 100644 index 0000000..e082dda Binary files /dev/null and b/1.5/Assemblies/UnityEngine.UIModule.dll differ diff --git a/1.5/Assemblies/com.rlabrecque.steamworks.net.dll b/1.5/Assemblies/com.rlabrecque.steamworks.net.dll new file mode 100644 index 0000000..b7498bb Binary files /dev/null and b/1.5/Assemblies/com.rlabrecque.steamworks.net.dll differ diff --git a/1.5/Defs/GameComponent_SpawnLootBox.xml b/1.5/Defs/GameComponent_SpawnLootBox.xml new file mode 100644 index 0000000..e97fc2e --- /dev/null +++ b/1.5/Defs/GameComponent_SpawnLootBox.xml @@ -0,0 +1,8 @@ + + + + +
  • + + + diff --git a/1.5/Defs/SimpleLootBox1.xml b/1.5/Defs/SimpleLootBox1.xml deleted file mode 100644 index a95d696..0000000 --- a/1.5/Defs/SimpleLootBox1.xml +++ /dev/null @@ -1,188 +0,0 @@ - - - - SimpleLootBoxExampleB - - ThingWithComps - Example B. - - SimpleLootBox/ExampleB - Graphic_Single - - - 1.0 - 10 - - Sellable - -
  • - UseArtifact - Activate {0_label} - true - 100 -
  • -
  • - -
  • - SimpleLootBoxExampleB - 0.1 -
  • - - -
  • - lootBoxOpenSound - lootBoxSpinningSound - - -
  • - Dragonian_Boxed - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Chaoura_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Neclose_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Silkiera_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Eveliet_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Idhale_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Xenoorca_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Nexaga_Player_kami - 1 - 10 - 2 - Skip_ExitNoDelay - lootBoxFinalizingRewardSound -
  • -
  • - Miho_PlayerColonist_kami - 1 - 1 - 4 - ExtinguisherExplosion - lootBoxFinalizingRewardSound -
  • -
  • - Megascarab - 1 - 8 - 1 - ExtinguisherExplosion - lootBoxFinalizingRewardSound -
  • -
  • - NHUX_PlayerA - 1 - 8 - 1 - ExtinguisherExplosion - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Nearmaere_Player_kami - 1 - 18 - 2 - ExtinguisherExplosion - lootBoxFinalizingRewardSound -
  • -
  • - HAR_Littluna_Player_kami - 1 - 18 - 2 - ExtinguisherExplosion - lootBoxFinalizingRewardSound -
  • - - -
  • - Wastepack - 5 - 8 - 1 - lootBoxFinalizingRewardSound - Skip_ExitNoDelay -
  • -
  • - Meat_Human - 5 - 8 - 1 - lootBoxFinalizingRewardSound - Skip_ExitNoDelay -
  • -
  • - Leather_Human - 5 - 8 - 1 - lootBoxFinalizingRewardSound - Skip_ExitNoDelay -
  • -
  • - Silver - 1 - 8 - 1 - lootBoxFinalizingRewardSound - Skip_ExitNoDelay -
  • -
  • - Meat_NHUX - 10 - 8 - 1 - lootBoxFinalizingRewardSound - Skip_ExitNoDelay -
  • -
    - - - - -
    \ No newline at end of file diff --git a/1.5/Defs/SimpleLootBoxExample.xml b/1.5/Defs/SimpleLootBoxExample.xml index 661e2b5..dfb955d 100644 --- a/1.5/Defs/SimpleLootBoxExample.xml +++ b/1.5/Defs/SimpleLootBoxExample.xml @@ -1,28 +1,34 @@ + + ThingWithComps - Medieval - + + Graphic_Single + + 10 + Medieval +
  • Artifacts
  • - +
  • Artifacts
  • - SimpleLootBoxExampleA - - Example A. + SimpleLootBoxExampleA + + 每周掉落或者击杀掉落的常住武器箱 - SimpleLootBox/ExampleA + SimpleLootBox/ExampleA Graphic_Single - 1.0 - 10 + 1.0 + 100 - Sellable + Sellable
  • UseArtifact @@ -33,20 +39,24 @@
  • - SimpleLootBoxExampleA - 0.1 + SimpleLootBoxExampleA + 0.05 + 0.2
  • - lootBoxOpenSound - lootBoxSpinningSound - + lootBoxOpenSound + lootBoxSpinningSound + lootBoxBackgroundMusicSoundA + SimpleLootBox/LootBoxBackgroundA + Silver + 128 -
  • +
  • Silver 1 - 9 + 10 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -54,7 +64,7 @@
  • Silver 10 - 8 + 10 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -62,7 +72,7 @@
  • Silver 20 - 8 + 10 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -70,7 +80,7 @@
  • Silver 30 - 8 + 10 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -78,7 +88,7 @@
  • Silver 50 - 8 + 10 1 Skip_ExitNoDelay lootBoxFinalizingRewardSound @@ -120,7 +130,7 @@ WoodLog Masterwork 5000 - 1 + 0.8 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -130,7 +140,7 @@ WoodLog Masterwork 6000 - 1 + 0.8 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -140,7 +150,7 @@ WoodLog Masterwork 8000 - 1 + 0.8 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -150,7 +160,7 @@ WoodLog Masterwork 9999 - 1 + 0.8 3 lootBoxFinalizingRewardSound Skip_ExitNoDelay @@ -196,19 +206,19 @@ - SimpleLootBoxExampleC - + SimpleLootBoxExampleB + ThingWithComps - Example C. + 每周掉落或者击杀掉落的常住武器箱 - SimpleLootBox/ExampleC + SimpleLootBox/ExampleB Graphic_Single 1.0 - 100 + 10 - Buyable + Sellable
  • UseArtifact @@ -219,32 +229,178 @@
  • - SimpleLootBoxExampleC - 0.5 + SimpleLootBoxExampleB + 0.05
  • lootBoxOpenSound lootBoxSpinningSound - lootBoxBackgroundMusicSound - + lootBoxBackgroundMusicSoundB + SimpleLootBox/LootBoxBackgroundB + Silver + 128 +
  • - Mercenary_Gunner - 2 + Baby_Example + 1 5 -
  • - - -
  • - Silver - 1000 - 5 - 2 + 1 Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + Dragonian_Boxed + 1 + 10 + 4 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Chaoura_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Neclose_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Silkiera_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Eveliet_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Idhale_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Xenoorca_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Nexaga_Player_kami + 1 + 10 + 2 + Skip_ExitNoDelay + lootBoxFinalizingRewardSound +
  • +
  • + Miho_PlayerColonist_kami + 1 + 1 + 4 + ExtinguisherExplosion lootBoxFinalizingRewardSound
  • -
    +
  • + Megascarab + 1 + 8 + 1 + true + ExtinguisherExplosion + lootBoxFinalizingRewardSound +
  • +
  • + NHUX_PlayerA + 1 + 8 + 2 + ExtinguisherExplosion + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Nearmaere_Player_kami + 1 + 18 + 2 + ExtinguisherExplosion + lootBoxFinalizingRewardSound +
  • +
  • + HAR_Littluna_Player_kami + 1 + 18 + 2 + ExtinguisherExplosion + lootBoxFinalizingRewardSound +
  • + + +
  • + Wastepack + 5 + 8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + GoldenCube + 1 + 8 + 5 + true + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Leather_Human + 5 + 8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Silver + 1 + 8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
  • + Meat_NHUX + 10 + 8 + 1 + lootBoxFinalizingRewardSound + Skip_ExitNoDelay +
  • +
    + +
    diff --git a/1.5/Defs/SoundDefsExample.xml b/1.5/Defs/SoundDefsExample.xml index bcce72e..2b51a26 100644 --- a/1.5/Defs/SoundDefsExample.xml +++ b/1.5/Defs/SoundDefsExample.xml @@ -1,7 +1,8 @@ - + + - lootBoxOpenSound + lootBoxOpenSound 1 1 @@ -9,15 +10,15 @@ True
  • - SimpleLootBox/lootBoxOpenSound + SimpleLootBox/lootBoxOpenSound
  • - 50~50 + 50~50
    - + lootBoxSpinningSound 1 @@ -41,7 +42,7 @@ - lootBoxBackgroundMusicSound + lootBoxBackgroundMusicSoundA 1 1 True @@ -53,7 +54,29 @@ True
  • - SimpleLootBox/lootBoxBackgroundMusicSound + SimpleLootBox/lootBoxBackgroundMusicSoundA +
  • +
    + 35~35 + + +
    + + + + lootBoxBackgroundMusicSoundB + 1 + 1 + True + PrioritizeNearest + +
  • + False + False + True + +
  • + SimpleLootBox/lootBoxBackgroundMusicSoundB
  • 35~35 diff --git a/1.5/Defs/pawnkinds/PawnKindsbaby.xml b/1.5/Defs/pawnkinds/PawnKindsbaby.xml new file mode 100644 index 0000000..cdc9abe --- /dev/null +++ b/1.5/Defs/pawnkinds/PawnKindsbaby.xml @@ -0,0 +1,43 @@ + + + + + Baby_Example + + Human + OutlanderCivil + 10 + 1~10 + 10~20 + 0.01 + 30 + 0 + 0 + 0 + + + + + + + + + +
  • Brawler
  • +
    + + -2 + + + 0 + + false + + + 1 + + + Baby +
    + +
    diff --git a/1.5/Defs/中文注释ChineseComment/PawnKindsExample.txt b/1.5/Defs/中文注释ChineseComment/PawnKindsExample.txt new file mode 100644 index 0000000..8f89c4c --- /dev/null +++ b/1.5/Defs/中文注释ChineseComment/PawnKindsExample.txt @@ -0,0 +1,50 @@ + + + + + + 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 new file mode 100644 index 0000000..a61db27 --- /dev/null +++ b/1.5/Defs/中文注释ChineseComment/SimpleLootBoxExample.txt @@ -0,0 +1,213 @@ + + + + + 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 new file mode 100644 index 0000000..e2e2370 --- /dev/null +++ b/1.5/Defs/中文注释ChineseComment/SoundDefsExample.txt @@ -0,0 +1,104 @@ + + + + + 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/FileContentIndex/05e72536-9438-4ba5-b293-6e83ad520c0d.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/05e72536-9438-4ba5-b293-6e83ad520c0d.vsidx new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/05e72536-9438-4ba5-b293-6e83ad520c0d.vsidx 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 new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/1322ef76-2aef-4986-bc14-a0aed707346b.vsidx differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/206470aa-01ad-4dc1-a1cc-d02916e4c66e.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/206470aa-01ad-4dc1-a1cc-d02916e4c66e.vsidx deleted file mode 100644 index 119171a..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/206470aa-01ad-4dc1-a1cc-d02916e4c66e.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 new file mode 100644 index 0000000..2f89871 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2e9da2e1-3b99-4750-b71c-bdb192244292.vsidx 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 new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/2f7b01c8-386c-4d2e-be44-304de11beae3.vsidx 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 new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/36232792-027d-4853-a2c7-8eb359bc292e.vsidx 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 new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/3862da37-bc5a-4d18-863a-f95ecb655192.vsidx 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 new file mode 100644 index 0000000..3e53e36 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/721f4121-092f-4bd4-a88e-617f7f0dcaa0.vsidx differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/91731dd4-58ca-4656-a01f-e1a014ed3a2e.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/91731dd4-58ca-4656-a01f-e1a014ed3a2e.vsidx deleted file mode 100644 index 553d194..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/91731dd4-58ca-4656-a01f-e1a014ed3a2e.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/9f3d94ce-9080-48e5-bd0a-94ead43eb039.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/9f3d94ce-9080-48e5-bd0a-94ead43eb039.vsidx deleted file mode 100644 index b84a2a7..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/9f3d94ce-9080-48e5-bd0a-94ead43eb039.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/9fe804b1-ae65-4ad8-a4d5-77859c95e7a0.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/9fe804b1-ae65-4ad8-a4d5-77859c95e7a0.vsidx deleted file mode 100644 index a7796a7..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/9fe804b1-ae65-4ad8-a4d5-77859c95e7a0.vsidx and /dev/null differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/a9478412-dd6a-4354-89b8-11837b083656.vsidx b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/a9478412-dd6a-4354-89b8-11837b083656.vsidx deleted file mode 100644 index e734da7..0000000 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/a9478412-dd6a-4354-89b8-11837b083656.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 new file mode 100644 index 0000000..25f7887 Binary files /dev/null and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/FileContentIndex/f9d75916-5707-4c7a-a596-ddbfa8e6566c.vsidx differ diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo index 18c9831..0c13c44 100644 Binary files a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo and b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/.suo 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 index 8791c1f..62ab535 100644 --- a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.backup.json +++ b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.backup.json @@ -2,6 +2,18 @@ "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}" @@ -10,45 +22,6 @@ "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\\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\\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\\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\\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\\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:{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\\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\\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\\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:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\Verniy\\Downloads\\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\\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}" @@ -57,6 +30,41 @@ "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}|" }, @@ -76,67 +84,41 @@ "Children": [ { "$type": "Document", - "DocumentIndex": 5, - "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": "AgIAAFYAAAAAAAAAAAAqwGkAAABKAAAAAAAAAA==", + "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-07T20:18:46.529Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 6, - "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": "AgIAAAAAAAAAAAAAAAAAAAoAAAAEAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:37:54.85Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 7, - "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": "AgIAAAAAAAAAAAAAAAAAABAAAAAFAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T12:47:11.303Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "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": "AgIAAAAAAAAAAAAAAAAAABYAAAAyAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T02:24:30.5Z", + "WhenOpened": "2025-05-09T02:40:24.696Z", "EditorCaption": "" }, { "$type": "Document", "DocumentIndex": 3, - "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": "AgIAAAAAAAAAAAAAAAAAAAkAAAAYAAAAAAAAAA==", + "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-07T01:23:17.893Z", + "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": "" }, { @@ -147,114 +129,160 @@ "RelativeDocumentMoniker": "CompSpawnLootBox.cs", "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompSpawnLootBox.cs", "RelativeToolTip": "CompSpawnLootBox.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAJAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-07T01:26:54.137Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 1, + "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": "AgIAAAAAAAAAAAAAAAAAABMAAAABAAAAAAAAAA==", + "ViewState": "AgIAAAIAAAAAAAAAAAAYwBQAAAABAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-07T01:22:11.223Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 0, - "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": "AgIAAAMAAAAAAAAAAAAcwBMAAAAAAAAAAAAAAA==", + "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:54:49.755Z", + "WhenOpened": "2025-05-06T21:58:33.185Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 8, - "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": "AgIAAAYAAAAAAAAAAAAAAAsAAAAEAAAAAAAAAA==", + "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-06T22:36:06.172Z", + "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": "AgIAAAAAAAAAAAAAAAAAABMAAABNAAAAAAAAAA==", + "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", - "EditorCaption": "" + "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": "AgIAABcAAAAAAAAAAAAmwDAAAABJAAAAAAAAAA==", + "ViewState": "AgIAAA4AAAAAAAAAAAAQwBgAAAA5AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:42:42.073Z", - "EditorCaption": "" + "WhenOpened": "2025-05-06T22:42:42.073Z" }, { "$type": "Document", - "DocumentIndex": 11, + "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", - "EditorCaption": "" + "WhenOpened": "2025-05-07T23:49:02.745Z" }, { "$type": "Document", - "DocumentIndex": 12, - "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": "AgIAAAAAAAAAAAAAAAAAABIAAAAgAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:18.923Z" - }, - { - "$type": "Document", - "DocumentIndex": 13, - "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": "AgIAAAAAAAAAAAAAAAAAABQAAAAJAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:33.185Z" - }, - { - "$type": "Document", - "DocumentIndex": 14, + "DocumentIndex": 16, "Title": "SimpleLootBox", "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\SimpleLootBox.csproj", "RelativeDocumentMoniker": "SimpleLootBox.csproj", @@ -265,13 +293,13 @@ }, { "$type": "Document", - "DocumentIndex": 15, + "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": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-06T22:00:49.967Z" } diff --git a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json index b6023f7..62ab535 100644 --- a/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json +++ b/1.5/Source/SimpleLootBox/.vs/SimpleLootBox/v17/DocumentLayout.json @@ -2,6 +2,18 @@ "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}" @@ -10,45 +22,6 @@ "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\\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\\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\\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\\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\\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:{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\\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\\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\\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:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\Verniy\\Downloads\\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\\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}" @@ -57,6 +30,41 @@ "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}|" }, @@ -76,67 +84,41 @@ "Children": [ { "$type": "Document", - "DocumentIndex": 5, - "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": "AgIAAFYAAAAAAAAAAAAqwGkAAABKAAAAAAAAAA==", + "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-07T20:18:46.529Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 6, - "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": "AgIAAAAAAAAAAAAAAAAAAAoAAAAEAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:37:54.85Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 7, - "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": "AgIAAAAAAAAAAAAAAAAAABAAAAAFAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T12:47:11.303Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "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": "AgIAAAAAAAAAAAAAAAAAABYAAAAyAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T02:24:30.5Z", + "WhenOpened": "2025-05-09T02:40:24.696Z", "EditorCaption": "" }, { "$type": "Document", "DocumentIndex": 3, - "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": "AgIAAAAAAAAAAAAAAAAAAAkAAAAYAAAAAAAAAA==", + "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-07T01:23:17.893Z", + "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": "" }, { @@ -147,50 +129,75 @@ "RelativeDocumentMoniker": "CompSpawnLootBox.cs", "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\CompSpawnLootBox.cs", "RelativeToolTip": "CompSpawnLootBox.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAJAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-07T01:26:54.137Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 1, + "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": "AgIAAAAAAAAAAAAAAAAAABMAAAABAAAAAAAAAA==", + "ViewState": "AgIAAAIAAAAAAAAAAAAYwBQAAAABAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-07T01:22:11.223Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 0, - "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": "AgIAAAMAAAAAAAAAAAAcwBMAAAAAAAAAAAAAAA==", + "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:54:49.755Z", + "WhenOpened": "2025-05-06T21:58:33.185Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 8, - "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": "AgIAAAYAAAAAAAAAAAAAAAsAAAAEAAAAAAAAAA==", + "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-06T22:36:06.172Z", + "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, @@ -199,62 +206,83 @@ "RelativeDocumentMoniker": "LootBoxSpinner.cs", "ToolTip": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\LootBoxSpinner.cs", "RelativeToolTip": "LootBoxSpinner.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAABNAAAAAAAAAA==", + "ViewState": "AQIAAGQAAAAAAAAAAAAYwH0AAAAaAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-07T20:22:09.628Z", - "EditorCaption": "" + "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": "AgIAABcAAAAAAAAAAAAmwDAAAABJAAAAAAAAAA==", + "ViewState": "AgIAAA4AAAAAAAAAAAAQwBgAAAA5AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T22:42:42.073Z", - "EditorCaption": "" + "WhenOpened": "2025-05-06T22:42:42.073Z" }, { "$type": "Document", - "DocumentIndex": 11, + "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", - "EditorCaption": "" + "WhenOpened": "2025-05-07T23:49:02.745Z" }, { "$type": "Document", - "DocumentIndex": 12, - "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": "AgIAAAAAAAAAAAAAAAAAABIAAAAgAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:18.923Z" - }, - { - "$type": "Document", - "DocumentIndex": 13, - "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": "AgIAAAAAAAAAAAAAAAAAABQAAAAJAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-05-06T21:58:33.185Z" - }, - { - "$type": "Document", - "DocumentIndex": 14, + "DocumentIndex": 16, "Title": "SimpleLootBox", "DocumentMoniker": "D:\\Steam\\steamapps\\common\\RimWorld\\Mods\\SimpleLootBox\\1.5\\Source\\SimpleLootBox\\SimpleLootBox.csproj", "RelativeDocumentMoniker": "SimpleLootBox.csproj", @@ -265,13 +293,13 @@ }, { "$type": "Document", - "DocumentIndex": 15, + "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": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-06T22:00:49.967Z" } diff --git a/1.5/Source/SimpleLootBox/CompLootBox.cs b/1.5/Source/SimpleLootBox/CompLootBox.cs index 36ec8bb..24016cb 100644 --- a/1.5/Source/SimpleLootBox/CompLootBox.cs +++ b/1.5/Source/SimpleLootBox/CompLootBox.cs @@ -76,11 +76,42 @@ namespace SimpleLootBox context: PawnGenerationContext.NonPlayer, canGeneratePawnRelations: false, colonistRelationChanceFactor: 0f, - forceGenerateNewPawn: true + 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); - //Some pawns like mechaoid have no faction, so no null check - pawn.SetFaction(Faction.OfPlayer); + + 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); diff --git a/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs b/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs index 8e20318..ad10d10 100644 --- a/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs +++ b/1.5/Source/SimpleLootBox/CompProperties_LootBox.cs @@ -20,11 +20,17 @@ namespace SimpleLootBox 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 index 6616cf2..139fed2 100644 --- a/1.5/Source/SimpleLootBox/CompProperties_SpawnLootBox.cs +++ b/1.5/Source/SimpleLootBox/CompProperties_SpawnLootBox.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using RimWorld; +using SimpleLootBox.SimpleLootBox; using Verse; namespace SimpleLootBox diff --git a/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs b/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs index 4e436e5..577e44e 100644 --- a/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs +++ b/1.5/Source/SimpleLootBox/CompSpawnLootBox.cs @@ -3,12 +3,19 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using RimWorld; using Verse; namespace SimpleLootBox { - public class CompSpawnLootBox : ThingComp + using System.Collections.Generic; + using RimWorld; + using Verse; + + namespace SimpleLootBox { - //Harmony patch only + public class CompSpawnLootBox : ThingComp + { + } } } diff --git a/1.5/Source/SimpleLootBox/GameComponent_SpawnLootBox.cs b/1.5/Source/SimpleLootBox/GameComponent_SpawnLootBox.cs new file mode 100644 index 0000000..5fe44a9 --- /dev/null +++ b/1.5/Source/SimpleLootBox/GameComponent_SpawnLootBox.cs @@ -0,0 +1,72 @@ +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/LootBox.cs b/1.5/Source/SimpleLootBox/LootBox.cs index 9a7edce..9ff5095 100644 --- a/1.5/Source/SimpleLootBox/LootBox.cs +++ b/1.5/Source/SimpleLootBox/LootBox.cs @@ -10,6 +10,7 @@ namespace SimpleLootBox public class LootBox { public ThingDef thingDef; - public float chance; + public float chance = 0.05f; + public float daysBetweenLootBoxSpawns; } } diff --git a/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs b/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs index 0f811af..f300e36 100644 --- a/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs +++ b/1.5/Source/SimpleLootBox/LootBoxOpeningWindow.cs @@ -17,6 +17,7 @@ namespace SimpleLootBox private readonly LootBoxSpinner lootBoxSpinner; private Sustainer backgroundMusicSustainer; private Sustainer spinningSustainer; + private Texture2D backgroundTex; private LootBoxSpinner.SpinItem? pendingFinalizingSoundItem = null; private LootBoxSpinner.SpinItem? pendingRewardItem = null; @@ -43,6 +44,11 @@ namespace SimpleLootBox 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; @@ -51,11 +57,31 @@ namespace SimpleLootBox 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, 50f, inRect.width, 40f), compLootBox.parent.LabelCap); + 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(); @@ -66,26 +92,85 @@ namespace SimpleLootBox spinningSustainer = null; } - if (Widgets.ButtonText(new Rect(255f, 250f, 150f, 50f), "Open Box", active: compLootBox.parent.stackCount >= 1) - && compLootBox.parent.stackCount >= 1) + bool HasEnoughCurrency() { - LootBoxSpinner.SpinItem itemWon = lootBoxSpinner.Spin(); - pendingFinalizingSoundItem = itemWon; - pendingRewardItem = itemWon; + if (compLootBox.Props.lootBoxOpenCost == null || compLootBox.Props.lootBoxOpenCostCount <= 0) + return true; - if (compLootBox.Props.lootBoxSpinningSound != null) + 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)) { - SoundInfo info = SoundInfo.InMap(new TargetInfo(compLootBox.parent.Position, compLootBox.parent.Map), MaintenanceType.PerFrame); - spinningSustainer = compLootBox.Props.lootBoxSpinningSound.TrySpawnSustainer(info); + 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 success = compLootBox.Spawn(item); - if (success) + bool done = compLootBox.Spawn(item); + if (done) { compLootBox.DeleteBox(1); } @@ -95,75 +180,67 @@ namespace SimpleLootBox 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); - Rect contentRect = new Rect(listRect.x, listRect.y, listRect.width - 20f, 10f + lootBoxSpinner.PossibleRewards.Count * 20f); + + 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; - for (int i = 0; i < lootBoxSpinner.PossibleRewards.Count; i++) + + int rowIndex = 0; + foreach (var spinItem in lootBoxSpinner.PossibleRewards) { - var spinItem = lootBoxSpinner.PossibleRewards[i]; - - //Color of the background of rarity next to the available rewards - Rect rowRect = new Rect(listRect.x, listRect.y + i * 20f, 100f, 20f); - if (spinItem.rarity == Rarity.None) + if (spinItem.thingDef != null) { - Widgets.DrawRectFast(rowRect, new Color(0.2f, 0.2f, 0.2f)); + var itemForShow = compLootBox.Props.lootBoxThingDef.Find(t => t.thingDef == spinItem.thingDef); + if (itemForShow != null && itemForShow.isHidden) + continue; } - else if(spinItem.rarity == Rarity.Common) + else if (spinItem.pawnKindDef != null) { - Widgets.DrawRectFast(rowRect, new Color(0.6f, 0.6f, 0.6f)); - } - else if (spinItem.rarity == Rarity.Uncommon) - { - Widgets.DrawRectFast(rowRect, new Color(0.3f, 0.3f, 1f)); - } - else if (spinItem.rarity == Rarity.Rare) - { - Widgets.DrawRectFast(rowRect, new Color(0.8f, 0.3f, 1f)); - } - else if (spinItem.rarity == Rarity.Epic) - { - Widgets.DrawRectFast(rowRect, new Color(1f, 0.3f, 0.8f)); - } - else if (spinItem.rarity == Rarity.Legendary) - { - Widgets.DrawRectFast(rowRect, new Color(1f, 0.3f, 0.3f)); + var pawnForShow = compLootBox.Props.lootBoxPawnKindDef.Find(p => p.pawnKindDef == spinItem.pawnKindDef); + if (pawnForShow != null && pawnForShow.isHidden) + continue; } - //Color of the background of available reward labels - Rect labelRect = new Rect(listRect.x + 120f, listRect.y + i * 20f, listRect.width - 150f, 20f); - Color rarityColor = new Color(0.2f, 0.2f, 0.2f); - if (spinItem.rarity == Rarity.Common) - rarityColor = new Color(0.6f, 0.6f, 0.6f); - else if (spinItem.rarity == Rarity.Uncommon) - rarityColor = new Color(0.3f, 0.3f, 1f); - else if (spinItem.rarity == Rarity.Rare) - rarityColor = new Color(0.8f, 0.3f, 1f); - else if (spinItem.rarity == Rarity.Epic) - rarityColor = new Color(1f, 0.3f, 0.8f); - else if (spinItem.rarity == Rarity.Legendary) - rarityColor = new Color(1f, 0.3f, 0.3f); - Widgets.DrawRectFast(labelRect, rarityColor); + 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(new Rect(listRect.x, listRect.y + i * 20f, 100f, 20f), spinItem.rarity.ToString()); - string rewardName = spinItem.thingDef != null ? spinItem.thingDef.LabelCap : (spinItem.pawnKindDef?.LabelCap ?? ""); + Widgets.Label(rowRect, spinItem.rarity.TranslateLabel()); + + string rewardName = spinItem.thingDef != null + ? spinItem.thingDef.LabelCap + : (spinItem.pawnKindDef?.LabelCap ?? ""); + Text.Anchor = TextAnchor.MiddleLeft; - Widgets.Label(new Rect(listRect.x + 120f, listRect.y + i * 20f, listRect.width - 150f, 20f), rewardName); + Widgets.Label(labelRect, rewardName); + if (spinItem.count > 1) { Text.Anchor = TextAnchor.MiddleRight; - Widgets.Label(new Rect(listRect.x + 120f, listRect.y + i * 20f, listRect.width - 150f, 20f), $"x{spinItem.count}"); + Widgets.Label(labelRect, $"x{spinItem.count}"); } + + rowIndex++; } - Widgets.EndScrollView(); - GUI.EndGroup(); + Text.Anchor = TextAnchor.UpperLeft; Text.Font = GameFont.Small; + Widgets.EndScrollView(); + GUI.EndGroup(); } public override void PostClose() diff --git a/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs b/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs index ce734b2..aea3410 100644 --- a/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs +++ b/1.5/Source/SimpleLootBox/LootBoxPawnKindDef.cs @@ -22,5 +22,9 @@ namespace SimpleLootBox 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 index 8e462b3..ce5b6d1 100644 --- a/1.5/Source/SimpleLootBox/LootBoxSpinner.cs +++ b/1.5/Source/SimpleLootBox/LootBoxSpinner.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using RimWorld; using UnityEngine; using Verse; +using static SimpleLootBox.LootBoxSpinner; namespace SimpleLootBox { @@ -41,7 +42,7 @@ namespace SimpleLootBox 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); + 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); } } @@ -51,7 +52,7 @@ namespace SimpleLootBox 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); + SpinItem item = new SpinItem(pawn.pawnKindDef, pawn.count, pawn.rarity, pawn.weight, pawn.effecterDef, pawn.lootBoxFinalizingRewardSound, pawn.isHostile); PossibleRewards.Add(item); } } @@ -79,16 +80,7 @@ namespace SimpleLootBox 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]; - - switch (item.rarity) - { - case Rarity.Common: Widgets.DrawRectFast(cellRect, new Color(0.6f, 0.6f, 0.6f)); break; - case Rarity.Uncommon: Widgets.DrawRectFast(cellRect, new Color(0.3f, 0.3f, 1f)); break; - case Rarity.Rare: Widgets.DrawRectFast(cellRect, new Color(0.8f, 0.3f, 1f)); break; - case Rarity.Epic: Widgets.DrawRectFast(cellRect, new Color(1f, 0.3f, 0.8f)); break; - case Rarity.Legendary: Widgets.DrawRectFast(cellRect, new Color(1f, 0.3f, 0.3f)); break; - } - + 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) @@ -105,7 +97,11 @@ namespace SimpleLootBox Text.Anchor = TextAnchor.MiddleCenter; Text.Font = GameFont.Tiny; string label = item.thingDef?.LabelCap ?? item.pawnKindDef?.LabelCap ?? ""; - Widgets.Label(iconRect, label); + + if (!string.IsNullOrWhiteSpace(label)) + { + Widgets.Label(iconRect, label); + } } if (item.count > 1) @@ -116,8 +112,8 @@ namespace SimpleLootBox Widgets.Label(countRect, "x" + item.count); } - Text.Font = GameFont.Small; Text.Anchor = TextAnchor.UpperLeft; + Text.Font = GameFont.Small; } Rect bar = new Rect(rect.x + rect.width / 2f - 1f, rect.y, 2f, rect.height); @@ -176,8 +172,9 @@ namespace SimpleLootBox 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) + 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; @@ -189,9 +186,10 @@ namespace SimpleLootBox 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) + public SpinItem(PawnKindDef pawnKindDef, int count, Rarity rarity, float weight, EffecterDef effecter, SoundDef finalizingSound, bool isHostile) { this.thingDef = null; this.pawnKindDef = pawnKindDef; @@ -202,9 +200,10 @@ namespace SimpleLootBox 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.5f); + 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 index af514c8..7888d19 100644 --- a/1.5/Source/SimpleLootBox/LootBoxThingDef.cs +++ b/1.5/Source/SimpleLootBox/LootBoxThingDef.cs @@ -26,5 +26,9 @@ namespace SimpleLootBox 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/Rarity.cs b/1.5/Source/SimpleLootBox/Rarity.cs index c01a2c2..28da1bd 100644 --- a/1.5/Source/SimpleLootBox/Rarity.cs +++ b/1.5/Source/SimpleLootBox/Rarity.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Verse; namespace SimpleLootBox { @@ -15,4 +16,11 @@ namespace SimpleLootBox 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 new file mode 100644 index 0000000..161cc62 --- /dev/null +++ b/1.5/Source/SimpleLootBox/RarityColor.cs @@ -0,0 +1,27 @@ +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 index 7b9a100..fa549b5 100644 --- a/1.5/Source/SimpleLootBox/SimpleLootBox.csproj +++ b/1.5/Source/SimpleLootBox/SimpleLootBox.csproj @@ -58,6 +58,7 @@ + @@ -71,6 +72,7 @@ + \ No newline at end of file diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache index 6ab1e44..dac990e 100644 --- a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache +++ b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -705e218464d7300a4f75cf5799c059d7889b490b575db1d6f450c55e9775b6b3 +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 index bc970c4..b7a7f0f 100644 --- a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.FileListAbsolute.txt +++ b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.csproj.FileListAbsolute.txt @@ -5,3 +5,10 @@ D:\Steam\steamapps\common\RimWorld\Mods\SimpleLootBox\1.5\Assemblies\SimpleLootB 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 index 8812829..afd739e 100644 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.dll and b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.dll differ diff --git a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb index 8402e7b..d76e122 100644 Binary files a/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb and b/1.5/Source/SimpleLootBox/obj/Debug/SimpleLootBox.pdb differ diff --git a/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml b/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml new file mode 100644 index 0000000..b7540ed --- /dev/null +++ b/Content/Languages/ChineseSimplified/Keyed/SimpleLootBox.xml @@ -0,0 +1,17 @@ + + + + 开箱! + 储存区里没有足够的 {0} (需要 {1}) 来打开箱子。 + 消耗:{0} X {1} + + 一个 {0} 已经抵达。 + + 无品质 + 普通 + 非凡 + 稀有 + 史诗 + 传奇 + + \ No newline at end of file diff --git a/Content/Languages/English/Keyed/SimpleLootBox.xml b/Content/Languages/English/Keyed/SimpleLootBox.xml new file mode 100644 index 0000000..043e8e0 --- /dev/null +++ b/Content/Languages/English/Keyed/SimpleLootBox.xml @@ -0,0 +1,17 @@ + + + + Open Box! + Do not have enough {0} (need {1}) in storage to open this box. + Cost: {0} X {1} + + A {0} has arrived. + + None + Common + Uncommon + Rare + Epic + Legendary + + \ No newline at end of file diff --git a/Content/Sounds/SimpleLootBox/SoundList.txt b/Content/Sounds/SimpleLootBox/SoundList.txt new file mode 100644 index 0000000..dce9670 --- /dev/null +++ b/Content/Sounds/SimpleLootBox/SoundList.txt @@ -0,0 +1,13 @@ +lootBoxBackgroundMusicSoundA + +【哈基米FM之胜利之舞:终究是我们赢下了所有】 https://www.bilibili.com/video/BV1oQQmYPEyq/?share_source=copy_web&vd_source=d828b477675cefa74034b8af311ab09a + +lootBoxBackgroundMusicSoundB + +【《大东北我的家乡》最带派的一集】 https://www.bilibili.com/video/BV1dL9zYCEJF/?share_source=copy_web&vd_source=d828b477675cefa74034b8af311ab09a + +lootBoxFinalizingRewardSound +lootBoxOpenSound +lootBoxSpinningSound + +Counter-Strike: Global Offensive \ No newline at end of file diff --git a/Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSoundA.ogg b/Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSoundA.ogg new file mode 100644 index 0000000..2732ce8 Binary files /dev/null and b/Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSoundA.ogg differ diff --git a/Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSound.ogg b/Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSoundB.ogg similarity index 100% rename from Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSound.ogg rename to Content/Sounds/SimpleLootBox/lootBoxBackgroundMusicSoundB.ogg diff --git a/Content/Textures/SimpleLootBox/LootBoxBackground.sai2 b/Content/Textures/SimpleLootBox/LootBoxBackground.sai2 new file mode 100644 index 0000000..2522b5b Binary files /dev/null and b/Content/Textures/SimpleLootBox/LootBoxBackground.sai2 differ diff --git a/Content/Textures/SimpleLootBox/LootBoxBackgroundA.png b/Content/Textures/SimpleLootBox/LootBoxBackgroundA.png new file mode 100644 index 0000000..932d901 Binary files /dev/null and b/Content/Textures/SimpleLootBox/LootBoxBackgroundA.png differ diff --git a/Content/Textures/SimpleLootBox/LootBoxBackgroundB.png b/Content/Textures/SimpleLootBox/LootBoxBackgroundB.png new file mode 100644 index 0000000..8882a91 Binary files /dev/null and b/Content/Textures/SimpleLootBox/LootBoxBackgroundB.png differ diff --git a/Example/PawnKindsExample.xml b/Example/PawnKindsExample.xml deleted file mode 100644 index 9ba5642..0000000 --- a/Example/PawnKindsExample.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - HAR_Nearmaere_Example - - HAR_Nearmaere - 100 - 1~10 - 10~20 - 10 - 20 - 0 - 0 - 0 - - - - - - - - - -
  • - Shooting - 15~20 -
  • -
    - -
  • Brawler
  • -
    - - -2 - - - 0 - - false - - - 100 - - -
    - -