再整
This commit is contained in:
		
							parent
							
								
									3f53ae420f
								
							
						
					
					
						commit
						34e417d8ba
					
				@ -2,7 +2,7 @@
 | 
				
			|||||||
<Defs>
 | 
					<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. -->
 | 
						<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. -->
 | 
							<label>婴儿</label><!-- Character's name can be localized for translation. -->
 | 
				
			||||||
		<race>Human</race><!-- Definition name of the character's race -->
 | 
							<race>Human</race><!-- Definition name of the character's race -->
 | 
				
			||||||
		<defaultFactionType>OutlanderCivil</defaultFactionType><!-- Default faction. -->
 | 
							<defaultFactionType>OutlanderCivil</defaultFactionType><!-- Default faction. -->
 | 
				
			||||||
@ -17,7 +17,7 @@
 | 
				
			|||||||
	</ThingDef>
 | 
						</ThingDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<ThingDef ParentName="SimpleLootBoxBase">
 | 
						<ThingDef ParentName="SimpleLootBoxBase">
 | 
				
			||||||
		<defName>SimpleLootBoxExampleA</defName>
 | 
							<defName>SimpleLootBoxSliver</defName>
 | 
				
			||||||
		<label>白银大行动武器箱</label>
 | 
							<label>白银大行动武器箱</label>
 | 
				
			||||||
		<description>每周掉落或者击杀掉落的常驻武器箱</description>
 | 
							<description>每周掉落或者击杀掉落的常驻武器箱</description>
 | 
				
			||||||
		<graphicData>
 | 
							<graphicData>
 | 
				
			||||||
@ -42,7 +42,7 @@
 | 
				
			|||||||
			<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
 | 
								<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
 | 
				
			||||||
				<lootBoxList>
 | 
									<lootBoxList>
 | 
				
			||||||
					<li>
 | 
										<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 -->
 | 
											<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 -->
 | 
											<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 -->
 | 
											<weightInGroup>5</weightInGroup><!-- The generation weight of this loot box in its group; default is 1 -->
 | 
				
			||||||
@ -237,7 +237,7 @@
 | 
				
			|||||||
	</ThingDef>
 | 
						</ThingDef>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<ThingDef ParentName="SimpleLootBoxBase">
 | 
						<ThingDef ParentName="SimpleLootBoxBase">
 | 
				
			||||||
		<defName>SimpleLootBoxExampleB</defName>
 | 
							<defName>SimpleLootBoxRimOne</defName>
 | 
				
			||||||
		<label>边缘世界一号武器箱</label>
 | 
							<label>边缘世界一号武器箱</label>
 | 
				
			||||||
		<thingClass>ThingWithComps</thingClass>
 | 
							<thingClass>ThingWithComps</thingClass>
 | 
				
			||||||
		<description>每周掉落或者击杀掉落的常住武器箱</description>
 | 
							<description>每周掉落或者击杀掉落的常住武器箱</description>
 | 
				
			||||||
@ -263,7 +263,7 @@
 | 
				
			|||||||
			<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
 | 
								<li Class="SimpleLootBox.CompProperties_SpawnLootBox">
 | 
				
			||||||
				<lootBoxList>
 | 
									<lootBoxList>
 | 
				
			||||||
					<li>
 | 
										<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 -->
 | 
											<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 -->
 | 
											<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 -->
 | 
											<weightInGroup>5</weightInGroup><!-- The generation weight of this loot box in its group; default is 1 -->
 | 
				
			||||||
@ -279,7 +279,7 @@
 | 
				
			|||||||
                <lootBoxOpenCostCount>128</lootBoxOpenCostCount>
 | 
					                <lootBoxOpenCostCount>128</lootBoxOpenCostCount>
 | 
				
			||||||
				<lootBoxPawnKindDef>
 | 
									<lootBoxPawnKindDef>
 | 
				
			||||||
					<li>
 | 
										<li>
 | 
				
			||||||
						<pawnKindDef>Baby_Example</pawnKindDef>
 | 
											<pawnKindDef>Human_Baby_kami</pawnKindDef>
 | 
				
			||||||
						<count>1</count>
 | 
											<count>1</count>
 | 
				
			||||||
						<weight>15.2</weight>
 | 
											<weight>15.2</weight>
 | 
				
			||||||
						<rarity>1</rarity>
 | 
											<rarity>1</rarity>
 | 
				
			||||||
 | 
				
			|||||||
@ -31,5 +31,10 @@
 | 
				
			|||||||
    <li>ayameduki.harxenoorca</li>
 | 
					    <li>ayameduki.harxenoorca</li>
 | 
				
			||||||
    <li>ayameduki.harnexaga</li>
 | 
					    <li>ayameduki.harnexaga</li>
 | 
				
			||||||
    <li>verniy709.racenhux</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>
 | 
					  </loadAfter>
 | 
				
			||||||
</ModMetaData>
 | 
					</ModMetaData>
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user