This commit is contained in:
ProjectKoi-Kalo\Kalo 2025-05-12 00:08:00 +08:00
parent 3f53ae420f
commit 34e417d8ba
24 changed files with 11 additions and 6 deletions

View File

@ -2,7 +2,7 @@
<Defs>
<PawnKindDef ParentName="GrenadierBase"><!-- Character inherits from the 'parent' GrenadierBase. If any entries below share the same fields as the parent, they will override the parent's values. -->
<defName>Baby_Example</defName><!-- Character definition name -->
<defName>Human_Baby_kami</defName><!-- Character definition name -->
<label>婴儿</label><!-- Character's name can be localized for translation. -->
<race>Human</race><!-- Definition name of the character's race -->
<defaultFactionType>OutlanderCivil</defaultFactionType><!-- Default faction. -->

View File

@ -17,7 +17,7 @@
</ThingDef>
<ThingDef ParentName="SimpleLootBoxBase">
<defName>SimpleLootBoxExampleA</defName>
<defName>SimpleLootBoxSliver</defName>
<label>白银大行动武器箱</label>
<description>每周掉落或者击杀掉落的常驻武器箱</description>
<graphicData>
@ -42,7 +42,7 @@
<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
<lootBoxList>
<li>
<thingDef>SimpleLootBoxExampleA</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 -->
<thingDef>SimpleLootBoxSliver</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.05</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 -->
@ -237,7 +237,7 @@
</ThingDef>
<ThingDef ParentName="SimpleLootBoxBase">
<defName>SimpleLootBoxExampleB</defName>
<defName>SimpleLootBoxRimOne</defName>
<label>边缘世界一号武器箱</label>
<thingClass>ThingWithComps</thingClass>
<description>每周掉落或者击杀掉落的常住武器箱</description>
@ -263,7 +263,7 @@
<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
<lootBoxList>
<li>
<thingDef>SimpleLootBoxExampleB</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 -->
<thingDef>SimpleLootBoxRimOne</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.05</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 -->
@ -279,7 +279,7 @@
<lootBoxOpenCostCount>128</lootBoxOpenCostCount>
<lootBoxPawnKindDef>
<li>
<pawnKindDef>Baby_Example</pawnKindDef>
<pawnKindDef>Human_Baby_kami</pawnKindDef>
<count>1</count>
<weight>15.2</weight>
<rarity>1</rarity>

View File

@ -31,5 +31,10 @@
<li>ayameduki.harxenoorca</li>
<li>ayameduki.harnexaga</li>
<li>verniy709.racenhux</li>
<li>oark.ratkinfaction.oberoniaaurea</li> <!--金鼠-->
<li>ayameduki.harzoichor</li> <!---->
<li>nemonian.my</li> <!--moyo-->
<li>ayameduki.harsaclean</li> <!--飞蛾-->
<li>ancot.milirarace</li> <!--米粒-->
</loadAfter>
</ModMetaData>