외지인 카라반 추가

This commit is contained in:
Cocopomel 2021-08-29 02:59:51 +09:00
parent a76965621e
commit 61f2ddd0cb
4 changed files with 82 additions and 27 deletions

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<TraderKindDef>
<defName>PN_Caravan_Outlander_PnL</defName>
<label>PnL Salesman</label>
<stockGenerators>
<li Class="StockGenerator_SingleDef">
<thingDef>Silver</thingDef>
<countRange>750~1200</countRange>
</li>
</stockGenerators>
</TraderKindDef>
</Defs>

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<TraderKindDef>
<defName>PN_Caravan_PnLindustry</defName>
<label>PnL salesman</label>
<stockGenerators>
<!-- Resources -->
<li Class="StockGenerator_SingleDef">
<thingDef>Silver</thingDef>
<countRange>750~1200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentIndustrial</thingDef>
<countRange>8~16</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentSpacer</thingDef>
<countRange>2~4</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Steel</thingDef>
<countRange>150~300</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chemfuel</thingDef>
<countRange>50~150</countRange>
</li>
<!-- Drugs -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_AutomatonFuel</thingDef>
<countRange>50~150</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_antibiotics</thingDef>
<countRange>0~1</countRange>
</li>
<!-- Automaton -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_RepairKit</thingDef>
<countRange>2~6</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_SelfRepairKit</thingDef>
<countRange>-8~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_BrainCasing</thingDef>
<countRange>1~2</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef>
<countRange>20~60</countRange>
</li>
<!-- Weapons -->
<!-- Apparel -->
<!-- Implants -->
<!-- Buildings -->
<!-- Animals -->
<!-- Buying -->
<li Class="StockGenerator_BuyExpensiveSimple" />
</stockGenerators>
</TraderKindDef>
</Defs>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Defs> <Defs>
<TraderKindDef> <TraderKindDef>
<defName>PNOrbital_PnLindustry</defName> <defName>PN_Orbital_PnLindustry</defName>
<label>PnL Industry</label> <label>PnL Industry</label>
<orbital>true</orbital> <orbital>true</orbital>
<stockGenerators> <stockGenerators>

View File

@ -6,20 +6,18 @@
<li>PN_AutomatonBench</li> <li>PN_AutomatonBench</li>
</value> </value>
</Operation> </Operation>
<!--<Operation Class="PatchOperationAdd"> <Operation Class="PatchOperationAdd">
<xpath>*/WorkGiverDef[defName="ChatWithPrisoner"]</xpath> <xpath>Defs/FactionDef[defName = "OutlanderCivil"]</xpath>
<value> <value>
<workTags> <caravanTraderKinds>
<li>PN_noPrisoner</li> <li>PN_Caravan_PnLindustry</li>
</workTags> </caravanTraderKinds>
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationAdd"> <!--<Operation Class="PatchOperationAdd">
<xpath>*/WorkGiverDef[defName="Research"]</xpath> <xpath>*/FactionDef[defName="OutlanderRough"]/caravanTraderKinds</xpath>
<value> <value>
<workTags> <li>PN_Caravan_PnLindustry</li>
<li>PN_noResearch</li>
</workTags>
</value> </value>
</Operation>--> </Operation>-->
</Patch> </Patch>