add pnl trader ship

This commit is contained in:
Cocopomel 2021-06-10 02:49:19 +09:00
parent 06e18923a8
commit e4ca7b0b09
2 changed files with 156 additions and 89 deletions

View File

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<TraderKindDef>
<defName>Caravan_PN_Automaton</defName>
<label>Automaton parts trader</label>
<stockGenerators>
<!-- Resources -->
<li Class="StockGenerator_SingleDef">
<thingDef>Silver</thingDef>
<countRange>1000~1600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentIndustrial</thingDef>
<countRange>3~10</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentSpacer</thingDef>
<countRange>1~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Plasteel</thingDef>
<countRange>20~100</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Gold</thingDef>
<countRange>40~80</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>MedicineUltratech</thingDef>
<countRange>1~3</countRange>
</li>
<!-- Drugs -->
<!-- none -->
<!-- Techprints -->
<!-- none -->
<!-- Weapons -->
<!--<li Class="StockGenerator_SingleDef" MayRequire="Ludeon.RimWorld.Royalty">
<thingDef>Nr_MiniSword</thingDef>
<countRange>0~1</countRange>
</li>-->
<!-- Apparel -->
<!-- none -->
<!-- Implants -->
<!--<li Class="StockGenerator_Tag">
<tradeTag>TechHediff</tradeTag>
<thingDefCountRange>3</thingDefCountRange>
<countRange>1</countRange>
</li>-->
<!-- Buildings -->
<!-- none -->
<!-- Exotic -->
<!-- none -->
<!-- Slaves -->
<!-- none -->
<!-- Animals -->
<!-- none -->
<!-- Buying -->
<!--<li Class="StockGenerator_BuyExpensiveSimple" />
<li Class="StockGenerator_BuyTradeTag">
<tag>Art</tag>
</li>
<li Class="StockGenerator_BuyTradeTag">
<tag>ImplantEmpireCommon</tag>
</li>
<li Class="StockGenerator_BuyTradeTag">
<tag>ImplantEmpireRoyal</tag>
</li>
<li Class="StockGenerator_BuyTradeTag">
<tag>PsylinkNeuroformer</tag>
</li>
<li Class="StockGenerator_BuyTradeTag">
<tag>ExoticBuilding</tag>
</li>
<li Class="StockGenerator_BuyTradeTag">
<tag>MusicalInstrument</tag>
</li>-->
</stockGenerators>
</TraderKindDef>
</Defs>

View File

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<TraderKindDef>
<defName>PNOrbital_PnLindustry</defName>
<label>PnL Industry trader</label>
<orbital>true</orbital>
<stockGenerators>
<!-- Resources -->
<li Class="StockGenerator_SingleDef">
<thingDef>Silver</thingDef>
<countRange>2000~4000</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentIndustrial</thingDef>
<countRange>15~30</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentSpacer</thingDef>
<countRange>1~2</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Steel</thingDef>
<countRange>500~800</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>WoodLog</thingDef>
<countRange>500~800</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Plasteel</thingDef>
<countRange>100~400</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Cloth</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>MedicineIndustrial</thingDef>
<countRange>20~30</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Gold</thingDef>
<countRange>50~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Neutroamine</thingDef>
<countRange>100~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chemfuel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chocolate</thingDef>
<totalPriceRange>-70~100</totalPriceRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Beer</thingDef>
<totalPriceRange>-70~200</totalPriceRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>Textiles</categoryDef>
<thingDefCountRange>1~2</thingDefCountRange>
<totalPriceRange>2200~4000</totalPriceRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>ResourcesRaw</categoryDef>
<excludedThingDefs>
<li>Silver</li>
</excludedThingDefs>
<thingDefCountRange>2~4</thingDefCountRange>
<totalPriceRange>800~1500</totalPriceRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>FoodRaw</categoryDef>
<excludedCategories>
<li>EggsFertilized</li>
</excludedCategories>
<thingDefCountRange>2~4</thingDefCountRange>
<totalPriceRange>800~1500</totalPriceRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>FoodMeals</categoryDef>
<thingDefCountRange>1~2</thingDefCountRange>
<countRange>15~30</countRange>
</li>
<li Class="StockGenerator_MultiDef">
<thingDefs>
<li>Kibble</li>
<li>Chocolate</li>
<li>Pemmican</li>
</thingDefs>
</li>
<!-- Drugs -->
<li Class="StockGenerator_Category">
<categoryDef>Drugs</categoryDef>
<thingDefCountRange>2~4</thingDefCountRange>
<totalPriceRange>1000~2000</totalPriceRange>
</li>
<!-- Techprints -->
<!-- none -->
<!-- Weapons -->
<!-- none -->
<!-- Apparel -->
<li Class="StockGenerator_Clothes">
<countRange>10~20</countRange>
</li>
<!-- Implants -->
<!-- none -->
<!-- Buildings -->
<li Class="StockGenerator_Category">
<categoryDef>BuildingsFurniture</categoryDef>
<thingDefCountRange>0~3</thingDefCountRange>
<countRange>1~2</countRange>
</li>
<!-- Exotic -->
<!-- none -->
<!-- Slaves -->
<!-- none -->
<!-- Animals -->
<li Class="StockGenerator_Animals">
<maxWildness>0.70</maxWildness>
<checkTemperature>false</checkTemperature>
<tradeTagsSell>
<li>AnimalFarm</li>
<li>AnimalPet</li>
</tradeTagsSell>
<tradeTagsBuy>
<li>AnimalExotic</li>
</tradeTagsBuy>
<kindCountRange>2~4</kindCountRange>
<countRange>10~20</countRange>
</li>
<!-- Buying -->
<li Class="StockGenerator_BuyExpensiveSimple" />
<li Class="StockGenerator_BuyTradeTag">
<tag>Art</tag>
</li>
<li Class="StockGenerator_BuyTradeTag">
<tag>MusicalInstrument</tag>
</li>
</stockGenerators>
</TraderKindDef>
</Defs>