오토마톤 완제품 상자 추가

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

View File

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

View File

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