상단관련 수정

This commit is contained in:
Cocopomel 2022-07-11 23:21:14 +09:00
parent e9186dfd99
commit 5fdd546eb3
8 changed files with 323 additions and 186 deletions

View File

@ -101,7 +101,7 @@
<li>Visitor_Outlander_Standard</li>
</visitorTraderKinds>
<baseTraderKinds>
<li>Base_Outlander_Standard</li>
<li>PN_Base_PnLindustry</li>
</baseTraderKinds>
<allowedArrivalTemperatureRange>-40~45</allowedArrivalTemperatureRange>
<raidLootMaker>PN_SubsidiaryRaidLootMaker</raidLootMaker>

View File

@ -440,8 +440,8 @@
<healthAffectsPrice>false</healthAffectsPrice>
<statBases>
<MaxHitPoints>70</MaxHitPoints>
<MarketValue>1000</MarketValue>
<Mass>0.6</Mass>
<MarketValue>1500</MarketValue>
<Mass>0.1</Mass>
<Flammability>0.6</Flammability>
<DeteriorationRate>2.0</DeteriorationRate>
</statBases>

View File

@ -104,6 +104,9 @@
<Chemfuel>20</Chemfuel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<tradeTags>
<li>PN_Shell</li>
</tradeTags>
</ThingDef>
<ThingDef ParentName="PN_Cl_Shell">
@ -248,6 +251,9 @@
<Chemfuel>20</Chemfuel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<tradeTags>
<li>PN_Shell</li>
</tradeTags>
</ThingDef>
<ThingDef ParentName="PN_Cl_Shell">
@ -321,6 +327,9 @@
<Chemfuel>20</Chemfuel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<tradeTags>
<li>PN_Shell</li>
</tradeTags>
</ThingDef>
<ThingDef ParentName="PN_Cl_Shell">
@ -402,6 +411,9 @@
<Chemfuel>20</Chemfuel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<tradeTags>
<li>PN_Shell</li>
</tradeTags>
</ThingDef>
<ThingDef ParentName="PN_Cl_Shell">
@ -483,6 +495,9 @@
<Chemfuel>20</Chemfuel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<tradeTags>
<li>PN_Shell</li>
</tradeTags>
</ThingDef>
<ThingDef ParentName="PN_Cl_Shell">

View File

@ -4,11 +4,10 @@
<defName>PN_Base_PnLindustry</defName>
<stockGenerators>
<!-- Resources -->
<li Class="StockGenerator_SingleDef">
<thingDef>Silver</thingDef>
<countRange>8000~30000</countRange>
<countRange>2000~4000</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentIndustrial</thingDef>
@ -22,63 +21,33 @@
<thingDef>Steel</thingDef>
<countRange>500~800</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>WoodLog</thingDef>
<countRange>400~700</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Plasteel</thingDef>
<countRange>100~250</countRange>
<countRange>100~400</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Uranium</thingDef>
<countRange>40~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Cloth</thingDef>
<countRange>400~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Gold</thingDef>
<countRange>100~200</countRange>
<thingDef>Chemfuel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Neutroamine</thingDef>
<countRange>50~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chemfuel</thingDef>
<countRange>300~500</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chocolate</thingDef>
<countRange>-30~70</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Beer</thingDef>
<countRange>-40~100</countRange>
<countRange>50~100</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>MedicineIndustrial</thingDef>
<countRange>25~50</countRange>
</li>
<li Class="StockGenerator_ReinforcedBarrels">
<countRange>1~4</countRange>
<li Class="StockGenerator_SingleDef">
<thingDef>Hyperweave</thingDef>
<countRange>10~25</countRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>MortarShell</tradeTag>
<thingDefCountRange>1~2</thingDefCountRange>
<countRange>20~40</countRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>Textiles</categoryDef>
<thingDefCountRange>1~2</thingDefCountRange>
<totalPriceRange>400~800</totalPriceRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>ResourcesRaw</categoryDef>
<thingDefCountRange>2~4</thingDefCountRange>
<totalPriceRange>400~800</totalPriceRange>
<li Class="StockGenerator_SingleDef">
<thingDef>DevilstrandCloth</thingDef>
<countRange>10~25</countRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>FoodRaw</categoryDef>
@ -93,32 +62,85 @@
<thingDefCountRange>1~2</thingDefCountRange>
<countRange>12~50</countRange>
</li>
<li Class="StockGenerator_MultiDef">
<thingDefs>
<li>Kibble</li>
<li>Pemmican</li>
</thingDefs>
<li Class="StockGenerator_Category">
<categoryDef>ResourcesRaw</categoryDef>
<thingDefCountRange>2~4</thingDefCountRange>
<totalPriceRange>400~800</totalPriceRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>Textiles</categoryDef>
<thingDefCountRange>1~2</thingDefCountRange>
<totalPriceRange>400~800</totalPriceRange>
</li>
<li Class="StockGenerator_ReinforcedBarrels">
<countRange>1~4</countRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>MortarShell</tradeTag>
<thingDefCountRange>1~2</thingDefCountRange>
<countRange>20~40</countRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>PN_Shell</tradeTag>
<thingDefCountRange>1~2</thingDefCountRange>
<countRange>3~6</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chocolate</thingDef>
<countRange>-30~70</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Beer</thingDef>
<countRange>-40~100</countRange>
</li>
<!-- Drugs -->
<li Class="StockGenerator_Category">
<categoryDef>Drugs</categoryDef>
<thingDefCountRange>3~4</thingDefCountRange>
<totalPriceRange>700~1500</totalPriceRange>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_AutomatonFuel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_antibiotics</thingDef>
<countRange>2~6</countRange>
</li>
<!-- Techprints -->
<li Class="StockGenerator_Techprints">
<countChances>
<li>
<count>2</count>
<chance>0.5</chance>
<!-- Automaton -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_RepairKit</thingDef>
<countRange>10~20</countRange>
</li>
<li>
<count>3</count>
<chance>0.5</chance>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_BrainCasing</thingDef>
<countRange>3~6</countRange>
</li>
</countChances>
<li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef>
<countRange>50~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_Component</thingDef>
<countRange>4~8</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonSoldier</thingDef>
<countRange>0~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonWorker</thingDef>
<countRange>0~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonMaid</thingDef>
<countRange>0~1</countRange>
</li>
<!-- Apparel -->
<li Class="StockGenerator_Clothes">
<countRange>10~16</countRange>
</li>
<li Class="StockGenerator_Armor">
<countRange>2~4</countRange>
</li>
<!-- Weapons -->
@ -131,15 +153,11 @@
<countRange>1~2</countRange>
</li>
<!-- Apparel -->
<li Class="StockGenerator_Clothes">
<countRange>10~16</countRange>
</li>
<li Class="StockGenerator_Armor">
<countRange>2~4</countRange>
</li>
<!-- Implants -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_ResurrectModule</thingDef>
<countRange>-1~1</countRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>TechHediff</tradeTag>
<thingDefCountRange>2~4</thingDefCountRange>
@ -165,6 +183,21 @@
<countRange>0~1</countRange>
</li>
<!-- Techprints -->
<li Class="StockGenerator_Techprints">
<countChances>
<li>
<count>2</count>
<chance>0.5</chance>
</li>
<li>
<count>3</count>
<chance>0.5</chance>
</li>
</countChances>
</li>
<!-- Exotic -->
<li Class="StockGenerator_Tag">
<tradeTag>Artifact</tradeTag>
@ -176,21 +209,15 @@
<thingDefCountRange>1~4</thingDefCountRange>
<countRange>1~2</countRange>
<excludedThingDefs>
<li>Luciferium</li> <!-- already handled by drugs -->
<li>ComponentSpacer</li> <!-- already handled by single def -->
</excludedThingDefs>
<customCountRanges>
<MedicineUltratech>2~15</MedicineUltratech>
<Hyperweave>50~200</Hyperweave>
<Luciferium>3~4</Luciferium>
</customCountRanges>
</li>
<!-- Slaves -->
<li Class="StockGenerator_Slaves">
<respectPopulationIntent>true</respectPopulationIntent>
<countRange>-1~2</countRange>
</li>
<!-- Animals -->
<li Class="StockGenerator_Animals">
<tradeTagsSell>
@ -210,64 +237,6 @@
<!-- 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>MusicalInstrument</tag>
</li>
<!--PnL-->
<li Class="StockGenerator_SingleDef">
<thingDef>Hyperweave</thingDef>
<countRange>10~15</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>DevilstrandCloth</thingDef>
<countRange>20~30</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_AutomatonFuel</thingDef>
<countRange>200~300</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_antibiotics</thingDef>
<countRange>2~6</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_RepairKit</thingDef>
<countRange>10~20</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_SelfRepairKit</thingDef>
<countRange>0~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_BrainCasing</thingDef>
<countRange>2~6</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef>
<countRange>50~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_Component</thingDef>
<countRange>3~5</countRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>PN_TMPackagedCatagory</categoryDef>
<thingDefCountRange>-1~2</thingDefCountRange>
<totalPriceRange>3000~4000</totalPriceRange>
</li>
</stockGenerators>
</TraderKindDef>

View File

@ -26,14 +26,6 @@
<thingDef>Chemfuel</thingDef>
<countRange>50~150</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Hyperweave</thingDef>
<countRange>10~15</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>DevilstrandCloth</thingDef>
<countRange>20~30</countRange>
</li>
<!-- Drugs -->
<li Class="StockGenerator_SingleDef">
@ -50,27 +42,18 @@
<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>2~4</countRange>
<countRange>1~3</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef>
<countRange>20~60</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_Component</thingDef>
<countRange>1~3</countRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>PN_TMPackagedCatagory</categoryDef>
<thingDefCountRange>-2~1</thingDefCountRange>
<totalPriceRange>3000~4000</totalPriceRange>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_OTPCard</thingDef>
<countRange>-2~1</countRange>
</li>
<!-- Weapons -->

View File

@ -2,7 +2,7 @@
<Defs>
<TraderKindDef>
<defName>PN_Orbital_PnLindustry</defName>
<label>PnL ship</label>
<label>PnL trader ship</label>
<orbital>true</orbital>
<faction>PN_SubsidiaryFaction</faction>
<stockGenerators>
@ -18,7 +18,7 @@
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentSpacer</thingDef>
<countRange>8~16</countRange>
<countRange>1~2</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Steel</thingDef>
@ -29,20 +29,28 @@
<countRange>100~400</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Gold</thingDef>
<countRange>50~70</countRange>
<thingDef>Uranium</thingDef>
<countRange>40~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chemfuel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Neutroamine</thingDef>
<countRange>50~100</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>MedicineIndustrial</thingDef>
<countRange>10~15</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Hyperweave</thingDef>
<countRange>25~50</countRange>
<countRange>10~25</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>DevilstrandCloth</thingDef>
<countRange>50~75</countRange>
<countRange>10~25</countRange>
</li>
<!-- Drugs -->
@ -60,13 +68,9 @@
<thingDef>PN_RepairKit</thingDef>
<countRange>10~20</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_SelfRepairKit</thingDef>
<countRange>1~3</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_BrainCasing</thingDef>
<countRange>6~10</countRange>
<countRange>3~6</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef>
@ -74,31 +78,27 @@
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_Component</thingDef>
<countRange>8~16</countRange>
<countRange>4~8</countRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>PN_TMPackagedCatagory</categoryDef>
<thingDefCountRange>1~3</thingDefCountRange>
<totalPriceRange>3000~4000</totalPriceRange>
</li>
<!-- Weapons -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_PrototypeRailGun</thingDef>
<countRange>-2~1</countRange>
<thingDef>Packaged_NormalAutomatonSoldier</thingDef>
<countRange>0~1</countRange>
</li>
<li Class="StockGenerator_WeaponsMelee" MayRequire="Ludeon.RimWorld.Royalty">
<weaponTag>PN_Bladelink</weaponTag>
<countRange>-2~1</countRange>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonWorker</thingDef>
<countRange>0~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonMaid</thingDef>
<countRange>0~1</countRange>
</li>
<!-- Apparel -->
<!-- Implants -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_ResurrectModule</thingDef>
<countRange>1~1</countRange>
<countRange>-1~1</countRange>
</li>
<!-- Buildings -->
@ -106,6 +106,7 @@
<!-- Animals -->
<!-- Buying -->
<li Class="StockGenerator_BuyExpensiveSimple" />
</stockGenerators>
</TraderKindDef>

View File

@ -60,6 +60,34 @@
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TraderKindDef[defName = "PN_Base_PnLindustry"]/stockGenerators</xpath>
<value>
<li Class="StockGenerator_SingleDef">
<thingDef>Techprint_CataphractArmor</thingDef>
<countRange>-1~1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_Orbital_PnLbenefit</thingDef>
<countRange>-1~1</countRange>
</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/TraderKindDef[defName = "PN_Orbital_PnLindustry"]/stockGenerators</xpath>
<value>
<li Class="StockGenerator_SingleDef">
<thingDef>Techprint_CataphractArmor</thingDef>
<countRange>1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Techprint_BrainWiring</thingDef>
<countRange>1</countRange>
</li>
</value>
</li>
<!--작위관련-->
<li Class="PatchOperationAdd">
<xpath>/Defs/FactionDef[defName = "PN_SubsidiaryFaction"]</xpath>

View File

@ -16,4 +16,145 @@
</li>
</stockGenerators>
</TraderKindDef>
<!--benefit ship-->
<TraderKindDef>
<defName>PN_Orbital_PnLbenefit</defName>
<label>PnL benefit ship</label>
<orbital>true</orbital>
<faction>PN_SubsidiaryFaction</faction>
<permitRequiredForTrading>PN_TradeBenefit</permitRequiredForTrading>
<stockGenerators>
<!-- Resources -->
<li Class="StockGenerator_SingleDef">
<thingDef>Silver</thingDef>
<countRange>2000~4000</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentIndustrial</thingDef>
<countRange>30~60</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>ComponentSpacer</thingDef>
<countRange>8~16</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Steel</thingDef>
<countRange>500~800</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Plasteel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Uranium</thingDef>
<countRange>60~300</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Chemfuel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>MedicineUltratech</thingDef>
<countRange>5~30</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Neutroamine</thingDef>
<countRange>100~500</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Hyperweave</thingDef>
<countRange>50~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>DevilstrandCloth</thingDef>
<countRange>50~200</countRange>
</li>
<!-- Drugs -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_AutomatonFuel</thingDef>
<countRange>200~600</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_antibiotics</thingDef>
<countRange>6~18</countRange>
</li>
<!-- Automaton -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_RepairKit</thingDef>
<countRange>20~40</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_SelfRepairKit</thingDef>
<countRange>2~5</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_BrainCasing</thingDef>
<countRange>6~10</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Leather_Automaton</thingDef>
<countRange>50~200</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>PN_Component</thingDef>
<countRange>8~16</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonSoldier</thingDef>
<countRange>1~3</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonWorker</thingDef>
<countRange>1~3</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_NormalAutomatonMaid</thingDef>
<countRange>1~3</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_PremiumAutomatonSoldier</thingDef>
<countRange>1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_PremiumAutomatonWorker</thingDef>
<countRange>1</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Packaged_PremiumAutomatonMaid</thingDef>
<countRange>1</countRange>
</li>
<!-- Weapons -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_PrototypeRailGun</thingDef>
<countRange>0~1</countRange>
</li>
<li Class="StockGenerator_WeaponsMelee" MayRequire="Ludeon.RimWorld.Royalty">
<weaponTag>PN_Bladelink</weaponTag>
<countRange>1~2</countRange>
</li>
<!-- Apparel -->
<!-- Implants -->
<li Class="StockGenerator_SingleDef">
<thingDef>PN_ResurrectModule</thingDef>
<countRange>1~3</countRange>
</li>
<!-- Buildings -->
<!-- Animals -->
<!-- Buying -->
</stockGenerators>
</TraderKindDef>
</Defs>