```
更新边缘开箱模组,重构宝箱定义体系,新增稀有宝箱类型及自定义掉落列表,并调整界面显示参数与掉落权重配置 ```
332
1.5/Defs/Lootbohuanjiulian.xml
Normal file
@ -0,0 +1,332 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<ThingDef Name="SimpleLootBoxBase" ParentName="ResourceBase" Abstract="True">
|
||||
<thingClass>ThingWithComps</thingClass>
|
||||
<graphicData>
|
||||
<graphicClass>Graphic_Single</graphicClass><!-- Using Graphic_StackCount, the item's texture will reflect its stack count -->
|
||||
</graphicData>
|
||||
<stackLimit>10</stackLimit><!-- Stack count of the item -->
|
||||
<techLevel>Medieval</techLevel><!-- The item's tech level; it does not affect any functionality and is purely a special tag -->
|
||||
<thingCategories><!-- Item category -->
|
||||
<li>Artifacts</li>
|
||||
</thingCategories>
|
||||
<tradeTags><!-- Item trade tags -->
|
||||
<li>Artifacts</li>
|
||||
</tradeTags>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="SimpleLootBoxBase">
|
||||
<defName>SimpleLootBoxExamplejiu</defName><!-- Definition name of the loot box -->
|
||||
<label>九尾神社收藏箱</label><!-- The name of the loot box, which can be localized for translation -->
|
||||
<description>每周掉落或者击杀掉落的稀有....箱?</description><!-- The description of the loot box, which can be localized for translation -->
|
||||
<graphicData>
|
||||
<texPath>SimpleLootBox/ExampleE</texPath><!-- The texture path of the loot box -->
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<statBases>
|
||||
<Mass>1.0</Mass><!-- The mass of the loot box -->
|
||||
<MarketValue>10</MarketValue><!-- The market value of the loot box itself -->
|
||||
</statBases>
|
||||
<useHitPoints>false</useHitPoints>
|
||||
<tradeability>Sellable</tradeability><!-- Whether the loot box can be traded. Some literal values are available for this setting: None Sellable Buyable All -->
|
||||
<comps>
|
||||
<li Class="CompProperties_Usable">
|
||||
<useJob>UseArtifact</useJob>
|
||||
<useLabel>Activate {0_label}</useLabel>
|
||||
<showUseGizmo>true</showUseGizmo>
|
||||
<useDuration>150</useDuration>
|
||||
</li>
|
||||
|
||||
<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
|
||||
<lootBoxList>
|
||||
<li>
|
||||
<thingDef>SimpleLootBoxExamplejiu</thingDef><!-- The loot box's defName, added to the global drop list for killing creatures; if you have a custom key item, consider adding it here as well -->
|
||||
<chance>0.01</chance><!-- The drop chance of this loot box; defaults to 0.05 (5%) if not specified -->
|
||||
<lootBoxSpawnGroup>SimpleLootBoxGroupX</lootBoxSpawnGroup><!-- To spawn a loot box every daysBetweenLootBoxSpawns, assign it to a lootBoxSpawnGroup. All loot boxes in the same group share the chance to spawn, based on their assigned weightInGroup -->
|
||||
<weightInGroup>5</weightInGroup><!-- The generation weight of this loot box in its group; default is 1 -->
|
||||
<daysBetweenLootBoxSpawns>7</daysBetweenLootBoxSpawns><!-- The frequency of spawning the loot box. daysBetweenLootBoxSpawns = 7, meaning spawn of a such a lootbox every 7 days in the game. All loot boxes in the same lootBoxSpawnGroup should have the same daysBetweenLootBoxSpawns. No default-->
|
||||
</li>
|
||||
</lootBoxList>
|
||||
</li>
|
||||
<li Class="SimpleLootBox.CompProperties_LootBox">
|
||||
<lootBoxOpenSound>lootBoxOpenSound</lootBoxOpenSound><!-- The sound effect played when entering the loot box opening screen; if not set, no sound will be played -->
|
||||
<lootBoxSpinningSound>lootBoxSpinningSound</lootBoxSpinningSound><!-- The sound effect played during the spinning; it's a looping Sustainer that plays a single audio clip -->
|
||||
<lootBoxBackgroundMusicSound>lootBoxBackgroundMusicSoundA</lootBoxBackgroundMusicSound><!-- Background music for the loot box opening window; it's a single-loop Sustainer -->
|
||||
<lootBoxBackgroundTexturePath>SimpleLootBox/LootBoxBackgroundA</lootBoxBackgroundTexturePath><!-- Background image for the loot box window; the UI resolution is:700*800 -->
|
||||
<lootBoxOpenCost>Silver</lootBoxOpenCost><!-- The item required to open the loot box. It can be silver, a custom key, or any other item. If not specified, no item is required by default -->
|
||||
<lootBoxOpenCostCount>128</lootBoxOpenCostCount><!-- The number of items required to open the loot box. Defaults to 0 if not specified -->
|
||||
<lootBoxThingDef>
|
||||
<li>
|
||||
<thingDef>GoldenCube</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHidden>true</isHidden>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>Foxbead</thingDef>
|
||||
<count>1</count>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>Meat_Cow</thingDef>
|
||||
<count>15</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>EggChickenUnfertilized</thingDef>
|
||||
<count>5</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>Milk</thingDef>
|
||||
<count>5</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>Wastepack</thingDef>
|
||||
<count>5</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
</lootBoxThingDef>
|
||||
<lootBoxPawnKindDef>
|
||||
<li>
|
||||
<pawnKindDef>Ninetailfox</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>DarkNinetail</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Ninetailfoxwt</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>SZMechNeko_Omega</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.03</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHostile>true</isHostile>
|
||||
<isHidden>true</isHidden>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>AA_Gallatross</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>BOSS_RQ_Monster_Kind_Summon_z</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>VAA_Allial</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>VAA_IA</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>VAA_TohokuKiritan</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>VAA_TohokuZunko</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Ratkin_KingHamster</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>AA_MeadowAve</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Thrumbo</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<isHostile>true</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>AA_DevilSheep</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>TW_AiruCat</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>5.67</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Pig</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Cow</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>AA_EngorgedTentacularAberration</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>true</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Horse</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>AEXP_Boombat</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>WasteRat</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<isHostile>true</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Chicken</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Tortoise</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Cat</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
</lootBoxPawnKindDef>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
</Defs>
|
@ -22,6 +22,7 @@
|
||||
<graphicData>
|
||||
<texPath>SimpleLootBox/ExampleC</texPath><!-- The texture path of the loot box -->
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<statBases>
|
||||
<Mass>1.0</Mass><!-- The mass of the loot box -->
|
||||
|
@ -18,10 +18,11 @@
|
||||
<ThingDef ParentName="SimpleLootBoxBase">
|
||||
<defName>SimpleLootBoxExamplezui</defName><!-- Definition name of the loot box -->
|
||||
<label>原罪猎手武器箱</label><!-- The name of the loot box, which can be localized for translation -->
|
||||
<description>每周掉落或者击杀掉落的常驻武器箱</description><!-- The description of the loot box, which can be localized for translation -->
|
||||
<description>每周掉落或者击杀掉落的稀有武器箱</description><!-- The description of the loot box, which can be localized for translation -->
|
||||
<graphicData>
|
||||
<texPath>SimpleLootBox/ExampleD</texPath><!-- The texture path of the loot box -->
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<statBases>
|
||||
<Mass>1.0</Mass><!-- The mass of the loot box -->
|
||||
@ -85,7 +86,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_ZC_Shell_f</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<quality>Normal</quality>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
@ -94,7 +95,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_ZC_Tops_e</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<quality>Normal</quality>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
@ -103,7 +104,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_ZC_Heads_e</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<quality>Normal</quality>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
@ -112,7 +113,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_EL_Item_a</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<quality>Normal</quality>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
@ -121,7 +122,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_EL_Item_b</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -129,7 +130,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_EL_Item_c</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -137,7 +138,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_EL_Item_d</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -145,7 +146,7 @@
|
||||
<li>
|
||||
<thingDef>HAR_EL_Item_e</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>0.9</weight>
|
||||
<rarity>4</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -153,7 +154,7 @@
|
||||
<li>
|
||||
<thingDef>Uranium</thingDef>
|
||||
<count>300</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -161,7 +162,7 @@
|
||||
<li>
|
||||
<thingDef>ComponentSpacer</thingDef>
|
||||
<count>5</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -169,7 +170,7 @@
|
||||
<li>
|
||||
<thingDef>Meat_HAR_Zoichor</thingDef>
|
||||
<count>10</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -177,7 +178,7 @@
|
||||
<li>
|
||||
<thingDef>Wastepack</thingDef>
|
||||
<count>5</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
@ -185,34 +186,68 @@
|
||||
<li>
|
||||
<thingDef>Gold</thingDef>
|
||||
<count>1</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<thingDef>Meat_HAR_Xenoorca</thingDef>
|
||||
<count>15</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>WoodLog</thingDef>
|
||||
<count>10</count>
|
||||
<weight>0.3</weight>
|
||||
<rarity>1</rarity>
|
||||
<thingDef>HAR_SK_Meal_g</thingDef>
|
||||
<count>5</count>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<li>
|
||||
<thingDef>Meat_HAR_Xenoorca</thingDef>
|
||||
<count>15</count>
|
||||
<weight>0.3</weight>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>EggChickenUnfertilizec</thingDef>
|
||||
<count>5</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>PsychiteTea</thingDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
<li>
|
||||
<thingDef>Wastepack</thingDef>
|
||||
<count>10</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef><!-- 生成奖励时可以播放的特效,不设置就没特效 -->
|
||||
</li>
|
||||
|
||||
</lootBoxThingDef>
|
||||
<lootBoxPawnKindDef>
|
||||
|
||||
<li MayRequire="ayameduki.harchaoura">
|
||||
<pawnKindDef>HAR_Zoichor_Player_kami</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<weight>0.3</weight>
|
||||
<rarity>5</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
@ -221,16 +256,16 @@
|
||||
<li MayRequire="ayameduki.harneclose">
|
||||
<pawnKindDef>HAR_Neclose_Player_baby</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li MayRequire="ayameduki.harsaclean">
|
||||
<pawnKindDef>HAR_Sacleana_Player_kami</pawnKindDef>
|
||||
<pawnKindDef>HAR_Saclean_Player_kami</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<weight>1.5</weight>
|
||||
<rarity>3</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
@ -239,7 +274,7 @@
|
||||
<li>
|
||||
<pawnKindDef>TW_AiruCat</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
@ -248,7 +283,7 @@
|
||||
<li MayRequire="ayameduki.harsilkiera">
|
||||
<pawnKindDef>HAR_Silkiera_Player_kami</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
@ -257,7 +292,7 @@
|
||||
<li MayRequire="nemonian.my">
|
||||
<pawnKindDef>Moyo_ColonistPawn_kami</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<weight>5.4</weight>
|
||||
<rarity>2</rarity>
|
||||
<isHostile>false</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
@ -272,6 +307,15 @@
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
<li>
|
||||
<pawnKindDef>Squirrel</pawnKindDef>
|
||||
<count>1</count>
|
||||
<weight>21.9</weight>
|
||||
<rarity>1</rarity>
|
||||
<isHostile>true</isHostile>
|
||||
<effecterDef>Skip_ExitNoDelay</effecterDef>
|
||||
<lootBoxFinalizingRewardSound>lootBoxFinalizingRewardSound</lootBoxFinalizingRewardSound>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
<graphicData>
|
||||
<texPath>SimpleLootBox/ExampleA</texPath><!-- The texture path of the loot box -->
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<statBases>
|
||||
<Mass>1.0</Mass><!-- The mass of the loot box -->
|
||||
@ -227,6 +228,7 @@
|
||||
<graphicData>
|
||||
<texPath>SimpleLootBox/ExampleB</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<statBases>
|
||||
<Mass>1.0</Mass>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ModMetaData>
|
||||
<name>Simple Loot Box</name>
|
||||
<author>Verniy709</author>
|
||||
<name>边缘开箱</name>
|
||||
<author>NHUX</author>
|
||||
<supportedVersions>
|
||||
<li>1.5</li>
|
||||
</supportedVersions>
|
||||
<packageId>Verniy709.SimpleLootBox</packageId>
|
||||
<packageId>NHUX.SimpleLootBox</packageId>
|
||||
<description>
|
||||
开箱mod,适合在服务器里使用,目前测试版
|
||||
</description>
|
||||
<modDependencies>
|
||||
<li>
|
||||
|
1
About/PublishedFileId.txt
Normal file
@ -0,0 +1 @@
|
||||
3479112682
|
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 129 KiB |
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 98 KiB |
BIN
Content/Textures/SimpleLootBox/ExampleE.png
Normal file
After Width: | Height: | Size: 128 KiB |
@ -7,6 +7,8 @@
|
||||
<combatPower>100</combatPower><!-- 袭击占用分数 -->
|
||||
<defaultFactionType>Silkiera_P_Faction</defaultFactionType>
|
||||
<isFighter>true</isFighter>
|
||||
<minGenerationAge>0.01</minGenerationAge><!-- Minimum biological age for pawn generation -->
|
||||
<maxGenerationAge>30</maxGenerationAge>
|
||||
<backstoryFilters><!--↓1.4以降 ■生い立ち-->
|
||||
<li>
|
||||
<categories>
|
||||
@ -28,7 +30,7 @@
|
||||
<!--<apparelRequired>
|
||||
<li>HAR_CO_Apparel_Tops_a</li>
|
||||
</apparelRequired>-->
|
||||
<pawnGroupDevelopmentStage>Aya_Race_HumanlikeBaby</pawnGroupDevelopmentStage>
|
||||
<pawnGroupDevelopmentStage>Baby</pawnGroupDevelopmentStage>
|
||||
</PawnKindDef>
|
||||
|
||||
</Defs>
|
||||
|
@ -16,7 +16,7 @@
|
||||
</li>
|
||||
</backstoryFilters>
|
||||
<minGenerationAge>0.01</minGenerationAge><!-- 生成人物的最小生物年龄 -->
|
||||
<maxGenerationAge>30</maxGenerationAge><!-- 生成人物的最大生物年龄 -->
|
||||
<maxGenerationAge>3</maxGenerationAge><!-- 生成人物的最大生物年龄 -->
|
||||
<techHediffsTags Inherit="true"><!-- 用来去除可能从parentName里继承的仿生体tag -->
|
||||
</techHediffsTags>
|
||||
<weaponTags Inherit="true"><!-- 用来去除可能从parentName里继承的武器tag -->
|
||||
@ -33,7 +33,7 @@
|
||||
<Aya_Race_Xenotype MayRequire="Ludeon.RimWorld.Biotech">9999</Aya_Race_Xenotype>
|
||||
</xenotypeChances>
|
||||
</xenotypeSet>
|
||||
<pawnGroupDevelopmentStage>Aya_Race_HumanlikeBaby</pawnGroupDevelopmentStage>
|
||||
<pawnGroupDevelopmentStage>Baby</pawnGroupDevelopmentStage>
|
||||
</PawnKindDef>
|
||||
|
||||
</Defs>
|
||||
|