Skip to content

Commit

Permalink
Adding more faction definitions
Browse files Browse the repository at this point in the history
- Leaders added
- Basic caravan types added
  • Loading branch information
FoxWithAShotgun committed Mar 17, 2020
1 parent 99c1ef8 commit 641fbb1
Show file tree
Hide file tree
Showing 10 changed files with 242 additions and 5 deletions.
3 changes: 3 additions & 0 deletions 1.1/Defs/FactionDefs/ReviaMarauders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<description>A loose alliance of Revia marauders. These bloodthirsty warriors seek sacrifices and plunder in the honour of their blood god.</description>
<pawnSingular>revia</pawnSingular>
<pawnsPlural>revia</pawnsPlural>
<listOrderPriority>10</listOrderPriority>
<settlementGenerationWeight>1</settlementGenerationWeight>
<requiredCountAtGameStart>1</requiredCountAtGameStart>
<canMakeRandomly>true</canMakeRandomly>
Expand Down Expand Up @@ -58,6 +59,7 @@
<options>
<ReviaRaceMarauder>5</ReviaRaceMarauder>
<ReviaRaceBerserker>5</ReviaRaceBerserker>
<ReviaRaceSkullshatterer>1</ReviaRaceSkullshatterer>
</options>
</li>
<li>
Expand All @@ -67,6 +69,7 @@
<ReviaRaceMarauder>15</ReviaRaceMarauder>
<ReviaRaceRaider>15</ReviaRaceRaider>
<ReviaRaceBerserker>5</ReviaRaceBerserker>
<ReviaRaceSkullshatterer>5</ReviaRaceSkullshatterer>
</options>
</li>
</pawnGroupMakers>
Expand Down
24 changes: 21 additions & 3 deletions 1.1/Defs/FactionDefs/ReviaTemplars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<description>An order of oathsworn warriors. They will not hesitate to crush any who stand in their way.</description>
<pawnSingular>revia</pawnSingular>
<pawnsPlural>revia</pawnsPlural>
<settlementGenerationWeight>1</settlementGenerationWeight>
<settlementGenerationWeight>0.5</settlementGenerationWeight>
<requiredCountAtGameStart>1</requiredCountAtGameStart>
<canMakeRandomly>true</canMakeRandomly>
<canSiege>true</canSiege>
<canStageAttacks>true</canStageAttacks>
<leaderTitle>Grand Templar</leaderTitle>
<leaderTitle>High Templar</leaderTitle>
<factionIconPath>World/ReviaEmblem</factionIconPath>
<settlementTexturePath>World/ReviaEmblem</settlementTexturePath>
<colorSpectrum>
Expand All @@ -25,11 +25,24 @@
<backstoryCategories>
<li>ReviaRaceTemplar</li>
</backstoryCategories>
<listOrderPriority>10</listOrderPriority>
<geneticVariance>0.8</geneticVariance>
<hairTags>
<li>Rural</li>
<li>Urban</li>
</hairTags>
<caravanTraderKinds>
<li>Caravan_Outlander_BulkGoods</li>
<li>Caravan_Outlander_CombatSupplier</li>
<li>Caravan_Outlander_Exotic</li>
<li>Caravan_Outlander_PirateMerchant</li>
</caravanTraderKinds>
<visitorTraderKinds>
<li>Visitor_Outlander_Standard</li>
</visitorTraderKinds>
<baseTraderKinds>
<li>Base_Outlander_Standard</li>
</baseTraderKinds>
<allowedArrivalTemperatureRange>-40~55</allowedArrivalTemperatureRange>
<maxPawnCostPerTotalPointsCurve>
<points>
Expand All @@ -38,6 +51,7 @@
<li>(700, 100)</li>
<li>(1300, 150)</li>
<li>(100000, 10000)</li>
<li>(500000, 100000)</li>
</points>
</maxPawnCostPerTotalPointsCurve>
<pawnGroupMakers>
Expand All @@ -46,13 +60,15 @@
<kindDef>Combat</kindDef>
<options>
<ReviaRaceTemplar>25</ReviaRaceTemplar>
<ReviaRaceHighTemplar>3</ReviaRaceHighTemplar>
</options>
</li>
<li>
<!--A show of force?-->
<kindDef>Peaceful</kindDef>
<options>
<ReviaRaceTemplar>10</ReviaRaceTemplar>
<ReviaRaceHighTemplar>1</ReviaRaceHighTemplar>
</options>
</li>
<li>
Expand All @@ -68,13 +84,15 @@
<Elephant>1</Elephant>
</carriers>
<guards>
<ReviaRaceTemplar>15</ReviaRaceTemplar>
<ReviaRaceTemplar>20</ReviaRaceTemplar>
<ReviaRaceHighTemplar>2</ReviaRaceHighTemplar>
</guards>
</li>
<li>
<kindDef>Settlement</kindDef>
<options>
<ReviaRaceTemplar>30</ReviaRaceTemplar>
<ReviaRaceHighTemplar>5</ReviaRaceHighTemplar>
</options>
</li>
</pawnGroupMakers>
Expand Down
12 changes: 12 additions & 0 deletions 1.1/Defs/PawnKindDefs/ReviaMarauder/ReviaBerserker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@
<invNutrition>5</invNutrition>
<inventoryOptions>
<skipChance>0</skipChance>
<subOptionsChooseOne>
<li>
<choiceChance>50</choiceChance>
<thingDef>MedicineHerbal</thingDef>
<countRange>1~3</countRange>
</li>
<li>
<choiceChance>50</choiceChance>
<thingDef>Luciferium</thingDef>
<countRange>1~1</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</PawnKindDef>
</Defs>
42 changes: 42 additions & 0 deletions 1.1/Defs/PawnKindDefs/ReviaMarauder/ReviaSkullshatterer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<PawnKindDef>
<defName>ReviaRaceSkullshatterer</defName>
<label>revia skullshatterer</label>
<race>ReviaRaceAlien</race>
<defaultFactionType>ReviaMarauderFaction</defaultFactionType>
<combatPower>600</combatPower>
<isFighter>true</isFighter>
<factionLeader>true</factionLeader>
<baseRecruitDifficulty>1.00</baseRecruitDifficulty>
<itemQuality>Masterwork</itemQuality>
<apparelTags>
<li>Medieval</li>
</apparelTags>
<apparelRequired>
<li>Apparel_PlateArmor</li>
</apparelRequired>
<apparelMoney>9999~9999</apparelMoney>
<weaponTags>
<li>ReviaMeleeAdvanced</li>
</weaponTags>
<weaponMoney>9999~9999</weaponMoney>
<techHediffsChance>0</techHediffsChance>
<invNutrition>5</invNutrition>
<inventoryOptions>
<skipChance>0</skipChance>
<subOptionsChooseOne>
<li>
<choiceChance>90</choiceChance>
<thingDef>Luciferium</thingDef>
<countRange>1~3</countRange>
</li>
<li>
<choiceChance>10</choiceChance>
<thingDef>MedicineHerbal</thingDef>
<countRange>4~4</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</PawnKindDef>
</Defs>
43 changes: 43 additions & 0 deletions 1.1/Defs/PawnKindDefs/ReviaTemplar/ReviaHighTemplar.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<PawnKindDef>
<defName>ReviaRaceHighTemplar</defName>
<label>Revia High Templar</label>
<defaultFactionType>ReviaTemplarFaction</defaultFactionType>
<race>ReviaRaceAlien</race>
<combatPower>800</combatPower>
<factionLeader>true</factionLeader>
<minGenerationAge>30</minGenerationAge>
<baseRecruitDifficulty>1.0</baseRecruitDifficulty>
<gearHealthRange>1~1</gearHealthRange>
<itemQuality>Masterwork</itemQuality>
<apparelTags>
<li>SpacerMilitary</li>
</apparelTags>
<apparelRequired>
<li>Apparel_PowerArmor</li>
</apparelRequired>
<apparelMoney>9999~9999</apparelMoney>
<weaponTags>
<li>ReviaMeleeAdvanced</li>
<li>ReviaRangedAdvanced</li>
</weaponTags>
<weaponMoney>9999~9999</weaponMoney>
<techHediffsChance>1.0</techHediffsChance>
<techHediffsMoney>9999~9999</techHediffsMoney>
<techHediffsTags>
<li>Advanced</li>
</techHediffsTags>
<invNutrition>5</invNutrition>
<inventoryOptions>
<skipChance>0</skipChance>
<subOptionsChooseOne>
<li>
<choiceChance>20</choiceChance>
<thingDef>MedicineUltratech</thingDef>
<countRange>5~10</countRange>
</li>
</subOptionsChooseOne>
</inventoryOptions>
</PawnKindDef>
</Defs>
3 changes: 2 additions & 1 deletion 1.1/Defs/PawnKindDefs/ReviaTemplar/ReviaQuartermaster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Defs>
<PawnKindDef>
<defName>ReviaRaceQuartermaster</defName>
<label>revia quartermaster</label>
<label>Revia quartermaster</label>
<defaultFactionType>ReviaTemplarFaction</defaultFactionType>
<race>ReviaRaceAlien</race>
<combatPower>125</combatPower>
Expand All @@ -13,6 +13,7 @@
<li>IndustrialMilitaryAdvanced</li>
<li>SpacerMilitary</li>
</apparelTags>
<isFighter>false</isFighter>
<apparelRequired>
<li>Apparel_PlateArmor</li>
</apparelRequired>
Expand Down
3 changes: 2 additions & 1 deletion 1.1/Defs/PawnKindDefs/ReviaTemplar/ReviaTemplar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Defs>
<PawnKindDef>
<defName>ReviaRaceTemplar</defName>
<label>revia templar</label>
<label>Revia Templar</label>
<defaultFactionType>ReviaTemplarFaction</defaultFactionType>
<race>ReviaRaceAlien</race>
<combatPower>325</combatPower>
Expand All @@ -27,6 +27,7 @@
<techHediffsTags>
<li>Advanced</li>
</techHediffsTags>
<isFighter>true</isFighter>
<invNutrition>5</invNutrition>
<inventoryOptions>
<skipChance>0</skipChance>
Expand Down
25 changes: 25 additions & 0 deletions 1.1/Defs/WeaponDefs/BaseReviaWeapon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,31 @@
</recipeMaker>
</ThingDef>

<ThingDef Name="ReviaBaseAdvancedRangedWeapon" Abstract="True" ParentName="BaseWeapon">
<techLevel>Industrial</techLevel>
<weaponTags>
<li>IndustrialRangedAdvanced</li>
</weaponTags>
<thingCategories>
<li>WeaponsRanged</li>
</thingCategories>
<comps>
<li>
<compClass>CompQuality</compClass>
</li>
</comps>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<recipeUsers>
<li>TableMachining</li>
</recipeUsers>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
</ThingDef>

<ThingDef Name="ReviaBaseAdvancedMeleeWeapon" Abstract="True" ParentName="BaseWeapon">
<techLevel>Industrial</techLevel>
<weaponTags>
Expand Down
92 changes: 92 additions & 0 deletions 1.1/Defs/WeaponDefs/FlechetteCannon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef ParentName="ReviaBaseAdvancedRangedWeapon">
<defName>ReviaFlechetteCannon</defName>
<label>shard cannon</label>
<description>A large-bore shotgun that fires plasteel-coated uranium shards at the enemy. Highly dangerous at close range, and is also equipped with a heavy-duty bayonet.</description>
<graphicData>
<texPath>Things/Item/Weapons/FlechetteCannon</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Shotgun</soundInteract>
<recipeMaker>
<researchPrerequisite>ReviaRaceAdvancedEquipment</researchPrerequisite>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
</recipeMaker>
<costList>
<Plasteel>50</Plasteel>
<Uranium>50</Uranium>
<ComponentIndustrial>6</ComponentIndustrial>
</costList>
<stuffCategories>
<li>Metallic</li>
</stuffCategories>
<costStuffCount>100</costStuffCount>
<thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
<weaponTags>
<li>ReviaRangedAdvanced</li>
</weaponTags>
<statBases>
<WorkToMake>30000</WorkToMake>
<Mass>8</Mass>
<AccuracyTouch>0.95</AccuracyTouch>
<AccuracyShort>0.60</AccuracyShort>
<AccuracyMedium>0.25</AccuracyMedium>
<AccuracyLong>0.10</AccuracyLong>
<RangedWeapon_Cooldown>2.50</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>ReviaFlechetteCannonShard</defaultProjectile>
<warmupTime>1.0</warmupTime>
<range>11.9</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>0</ticksBetweenBurstShots>
<soundCast>Shot_Shotgun</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>12</muzzleFlashScale>

</li>
</verbs>
<tools>
<li>
<label>stock</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>12</power>
<cooldownTime>2</cooldownTime>
</li>
<li>
<label>bayonet</label>
<capacities>
<li>Gash</li>
</capacities>
<power>16</power>
<cooldownTime>2</cooldownTime>
</li>
</tools>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>ReviaFlechetteCannonShard</defName>
<label>flechette</label>
<graphicData>
<texPath>Things/Projectile/Bullet_Shotgun</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile>
<damageDef>ReviaRangedGash</damageDef>
<damageAmountBase>8</damageAmountBase>
<speed>55</speed>
<stoppingPower>3.00</stoppingPower>
<armorPenetrationBase>0.65</armorPenetrationBase>
</projectile>
</ThingDef>
</Defs>
Binary file added Textures/Things/Item/Weapons/FlechetteCannon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 641fbb1

Please sign in to comment.