오토마톤 완제품 상자 추가

This commit is contained in:
Cocopomel 2021-08-29 04:12:29 +09:00
parent 93777e1870
commit 7ece3e44b1
3 changed files with 43 additions and 12 deletions

View File

@ -7,6 +7,13 @@
<iconPath>UI/Icons/ThingCategories/Manufactured</iconPath> <iconPath>UI/Icons/ThingCategories/Manufactured</iconPath>
</ThingCategoryDef> </ThingCategoryDef>
<ThingCategoryDef>
<defName>PN_TMPackagedCatagory</defName>
<label>PnL automaton™</label>
<parent>PN_PackagedCatagory</parent>
<iconPath>UI/Icons/ThingCategories/Manufactured</iconPath>
</ThingCategoryDef>
<ThingDef Name="BasePackagedAutomaton" Abstract="True"> <ThingDef Name="BasePackagedAutomaton" Abstract="True">
<thingClass>ThingWithComps</thingClass> <thingClass>ThingWithComps</thingClass>
<category>Item</category> <category>Item</category>
@ -14,12 +21,12 @@
<useHitPoints>true</useHitPoints> <useHitPoints>true</useHitPoints>
<selectable>true</selectable> <selectable>true</selectable>
<altitudeLayer>Item</altitudeLayer> <altitudeLayer>Item</altitudeLayer>
<tradeability>None</tradeability>
<stackLimit>1</stackLimit> <stackLimit>1</stackLimit>
<statBases> <statBases>
<MaxHitPoints>100</MaxHitPoints> <MaxHitPoints>100</MaxHitPoints>
<Mass>80.0</Mass> <Mass>80.0</Mass>
<Flammability>0.2</Flammability> <Flammability>0.2</Flammability>
<WorkToMake>48000</WorkToMake>
</statBases> </statBases>
<comps> <comps>
<li Class="CompProperties_Forbiddable"/> <li Class="CompProperties_Forbiddable"/>
@ -30,9 +37,17 @@
<pathCost>14</pathCost> <pathCost>14</pathCost>
<allowedArchonexusCount>-1</allowedArchonexusCount> <allowedArchonexusCount>-1</allowedArchonexusCount>
<thingCategories Inherit="false"> <thingCategories Inherit="false">
<li>PN_PackagedCatagory</li> <li>PN_TMPackagedCatagory</li>
</thingCategories> </thingCategories>
<smeltable>true</smeltable> <costList>
<Steel>75</Steel>
<Plasteel>75</Plasteel>
<ComponentIndustrial>4</ComponentIndustrial>
<ComponentSpacer>4</ComponentSpacer>
<PN_BrainCasing>1</PN_BrainCasing>
<Leather_Automaton>50</Leather_Automaton>
<Chemfuel>20</Chemfuel>
</costList>
</ThingDef> </ThingDef>
<!--==================================== 일반 상자 ====================================--> <!--==================================== 일반 상자 ====================================-->
@ -40,8 +55,9 @@
<defName>Packaged_NormalAutomaton</defName> <defName>Packaged_NormalAutomaton</defName>
<label>packaged automaton</label> <label>packaged automaton</label>
<description>test item</description> <description>test item</description>
<tradeability>None</tradeability>
<statBases> <statBases>
<MarketValue>60</MarketValue> <MarketValue>1520</MarketValue>
</statBases> </statBases>
<graphicData> <graphicData>
<texPath>Things/Item/Special/AIPersonaCore</texPath> <texPath>Things/Item/Special/AIPersonaCore</texPath>
@ -61,16 +77,19 @@
<compClass>CompUseEffect_DestroySelf</compClass> <compClass>CompUseEffect_DestroySelf</compClass>
</li> </li>
</comps> </comps>
<thingCategories Inherit="false">
<li>PN_PackagedCatagory</li>
</thingCategories>
</ThingDef> </ThingDef>
<!--고급부품4짜리--> <!--확률:개별weight값/전체weight합--> <!--고급부품4짜리--> <!--확률:개별weight값/전체weight합-->
<!--==================================== 전투형 일반 상자 ====================================--> <!--==================================== 전투형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton"> <ThingDef ParentName="BasePackagedAutomaton">
<defName>Packaged_NormalAutomatonSoldier</defName> <defName>Packaged_NormalAutomatonSoldier</defName>
<label>PnL automaton™ (soldier)</label> <label>PnL automaton™ (Combat)</label>
<description>test item</description> <description>test item</description>
<statBases> <statBases>
<MarketValue>60</MarketValue>
</statBases> </statBases>
<graphicData> <graphicData>
<texPath>Things/Item/Special/AIPersonaCore</texPath> <texPath>Things/Item/Special/AIPersonaCore</texPath>
@ -114,10 +133,10 @@
<!--==================================== 제작형 일반 상자 ====================================--> <!--==================================== 제작형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton"> <ThingDef ParentName="BasePackagedAutomaton">
<defName>Packaged_NormalAutomatonWorker</defName> <defName>Packaged_NormalAutomatonWorker</defName>
<label>PnL automaton™ (worker)</label> <label>PnL automaton™ (Engineer)</label>
<description>test item</description> <description>test item</description>
<statBases> <statBases>
<MarketValue>60</MarketValue>
</statBases> </statBases>
<graphicData> <graphicData>
<texPath>Things/Item/Special/AIPersonaCore</texPath> <texPath>Things/Item/Special/AIPersonaCore</texPath>
@ -161,10 +180,10 @@
<!--==================================== 가정형 일반 상자 ====================================--> <!--==================================== 가정형 일반 상자 ====================================-->
<ThingDef ParentName="BasePackagedAutomaton"> <ThingDef ParentName="BasePackagedAutomaton">
<defName>Packaged_NormalAutomatonMaid</defName> <defName>Packaged_NormalAutomatonMaid</defName>
<label>PnL automaton™ (maid)</label> <label>PnL automaton™ (Domestic)</label>
<description>test item</description> <description>test item</description>
<statBases> <statBases>
<MarketValue>60</MarketValue>
</statBases> </statBases>
<graphicData> <graphicData>
<texPath>Things/Item/Special/AIPersonaCore</texPath> <texPath>Things/Item/Special/AIPersonaCore</texPath>

View File

@ -16,7 +16,7 @@
</li> </li>
<li Class="StockGenerator_SingleDef"> <li Class="StockGenerator_SingleDef">
<thingDef>ComponentSpacer</thingDef> <thingDef>ComponentSpacer</thingDef>
<countRange>2~4</countRange> <countRange>-1~2</countRange>
</li> </li>
<li Class="StockGenerator_SingleDef"> <li Class="StockGenerator_SingleDef">
<thingDef>Steel</thingDef> <thingDef>Steel</thingDef>
@ -48,13 +48,19 @@
</li> </li>
<li Class="StockGenerator_SingleDef"> <li Class="StockGenerator_SingleDef">
<thingDef>PN_BrainCasing</thingDef> <thingDef>PN_BrainCasing</thingDef>
<countRange>1~2</countRange> <countRange>1</countRange>
</li> </li>
<li Class="StockGenerator_SingleDef"> <li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef> <thingDef>Leather_Automaton</thingDef>
<countRange>20~60</countRange> <countRange>20~60</countRange>
</li> </li>
<li Class="StockGenerator_Category">
<categoryDef>PN_TMPackagedCatagory</categoryDef>
<thingDefCountRange>-2~1</thingDefCountRange>
<totalPriceRange>3000~4000</totalPriceRange>
</li>
<!-- Weapons --> <!-- Weapons -->
<!-- Apparel --> <!-- Apparel -->

View File

@ -64,6 +64,12 @@
<countRange>50~200</countRange> <countRange>50~200</countRange>
</li> </li>
<li Class="StockGenerator_Category">
<categoryDef>PN_TMPackagedCatagory</categoryDef>
<thingDefCountRange>3~3</thingDefCountRange>
<totalPriceRange>3000~4000</totalPriceRange>
</li>
<!-- Weapons --> <!-- Weapons -->
<!-- Apparel --> <!-- Apparel -->