Skip to content

Commit

Permalink
Merge pull request #1 from SamboyCoding/master
Browse files Browse the repository at this point in the history
Fixed all the things
  • Loading branch information
jecrell authored Dec 20, 2017
2 parents 0b10214 + cd0ba42 commit a2500f4
Show file tree
Hide file tree
Showing 155 changed files with 2,096 additions and 2,344 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[Oo]bj/
PublishedFileId.txt
.idea/
*.DotSettings
Binary file modified Assemblies/Vampire.dll
Binary file not shown.
396 changes: 183 additions & 213 deletions Defs/AbilityDefs/ROMV_Protean.xml

Large diffs are not rendered by default.

101 changes: 66 additions & 35 deletions Defs/HediffDefs/ROMV_VampireParts.xml
Original file line number Diff line number Diff line change
@@ -1,43 +1,74 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- Added body parts -->
<!-- Added body parts -->

<HediffDef Name="ROMV_AddedBodyPartBase" Abstract="True">
<hediffClass>Hediff_AddedPart</hediffClass>
<defaultLabelColor>(0.6, 0.5, 0.9)</defaultLabelColor>
</HediffDef>
<HediffDef Name="ROMV_AddedBodyPartBase" Abstract="True">
<hediffClass>Hediff_AddedPart</hediffClass>
<defaultLabelColor>(0.6, 0.5, 0.9)</defaultLabelColor>
</HediffDef>


<HediffDef Name="ROMV_TransformedBodyPartBase" Abstract="True">
<hediffClass>JecsTools.Hediff_TransformedPart</hediffClass>
<defaultLabelColor>(0.6, 0.5, 0.9)</defaultLabelColor>
<isBad>false</isBad>
</HediffDef>

<HediffDef Name="ROMV_TransformedBodyPartBase" Abstract="True">
<hediffClass>JecsTools.Hediff_TransformedPart</hediffClass>
<defaultLabelColor>(0.6, 0.5, 0.9)</defaultLabelColor>
<isBad>false</isBad>
</HediffDef>

<HediffDef ParentName="ROMV_AddedBodyPartBase">
<defName>ROMV_Fangs</defName>
<label>fangs</label>
<hediffClass>Vampire.Hediff_AddedPart_Fangs</hediffClass>
<addedPartProps>
<isSolid>true</isSolid>
<partEfficiency>1.2</partEfficiency>
</addedPartProps>
<scenarioCanAdd>false</scenarioCanAdd>
<comps>
<li Class="HediffCompProperties_VerbGiver">
<tools>
<li>
<label>fangs</label>
<capacities>
<li>Bite</li>
</capacities>
<power>9</power>
<cooldownTime>1.65</cooldownTime>
</li>
</tools>
</li>
</comps>
</HediffDef>

<HediffDef ParentName="ROMV_AddedBodyPartBase">
<defName>ROMV_Fangs</defName>
<label>fangs</label>
<hediffClass>Vampire.Hediff_AddedPart_Fangs</hediffClass>
<addedPartProps>
<isSolid>true</isSolid>
<partEfficiency>1.2</partEfficiency>
</addedPartProps>
<scenarioCanAdd>false</scenarioCanAdd>
<comps>
<li Class="HediffCompProperties_VerbGiver">
<tools>
<li>
<label>fangs</label>
<capacities>
<li>Bite</li>
</capacities>
<power>9</power>
<cooldownTime>1.65</cooldownTime>
</li>
</tools>
</li>
</comps>
</HediffDef>

<HediffDef ParentName="ROMV_TransformedBodyPartBase">
<defName>ROMV_FeralClaw</defName>
<label>feral claws (Protean)</label>
<comps>
<li Class="HediffCompProperties_VerbGiver">
<tools>
<li>
<label>feral claw</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>14</power>
<cooldownTime>1.65</cooldownTime>
</li>
</tools>
</li>
<li Class="HediffCompProperties_Disappears">
<disappearsAfterTicks>
<min>7500</min>
<max>7500</max>
</disappearsAfterTicks>
</li>
</comps>
<addedPartProps>
<isGoodWeapon>true</isGoodWeapon>
<isBionic>false</isBionic>
<isSolid>true</isSolid>
<partEfficiency>1.0</partEfficiency>
</addedPartProps>
</HediffDef>

</Defs>
270 changes: 136 additions & 134 deletions Defs/PawnKindDefs_Races/AbyssalArm.xml
Original file line number Diff line number Diff line change
@@ -1,147 +1,149 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<ThingDef ParentName="ROMV_ThingBaseAbyssalArm">
<defName>ROMV_AbyssalArmRace</defName>
<label>abyssal arm</label>
<description>A massive dark tentacle reaching out from the abyss.</description>
<thingClass>Vampire.PawnTemporary</thingClass>
<race>
<baseBodySize>3.0</baseBodySize>
<useMeatFrom>GrizzlyBear</useMeatFrom>
<useLeatherFrom>GrizzlyBear</useLeatherFrom>
</race>
</ThingDef>
<ThingDef ParentName="ROMV_ThingBaseAbyssalArm">
<defName>ROMV_AbyssalArmRace</defName>
<label>abyssal arm</label>
<description>A massive dark tentacle reaching out from the abyss.</description>
<thingClass>Vampire.PawnTemporary</thingClass>
<race>
<baseBodySize>3.0</baseBodySize>
<useMeatFrom>GrizzlyBear</useMeatFrom>
<useLeatherFrom>GrizzlyBear</useLeatherFrom>
</race>
</ThingDef>


<PawnKindDef ParentName="AnimalKindBase" Name="ROMV_AnimalKindBaseAbyssalArm" Abstract="True">
<combatPower>175</combatPower>
<canArriveManhunter>false</canArriveManhunter>
<wildSpawn_spawnWild>false</wildSpawn_spawnWild>
<wildSpawn_EcoSystemWeight>0.0</wildSpawn_EcoSystemWeight>
</PawnKindDef>
<PawnKindDef ParentName="AnimalKindBase" Name="ROMV_AnimalKindBaseAbyssalArm" Abstract="True">
<combatPower>175</combatPower>
<canArriveManhunter>false</canArriveManhunter>
<wildSpawn_spawnWild>false</wildSpawn_spawnWild>
<wildSpawn_EcoSystemWeight>0.0</wildSpawn_EcoSystemWeight>
</PawnKindDef>


<PawnKindDef ParentName="ROMV_AnimalKindBaseAbyssalArm">
<defName>ROMV_AbyssalArmKind</defName>
<label>abyssal arm</label>
<labelPlural>abyssal arms</labelPlural>
<race>ROMV_AbyssalArmRace</race>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/AbyssalArm/spoonshortage_AbyssalArm</texPath>
<drawSize>2.0</drawSize>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Dessicated/CritterDessicatedMedium</texPath>
<drawSize>1</drawSize>
</dessicatedBodyGraphicData>
</li>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/AbyssalArm/spoonshortage_AbyssalArm</texPath>
<drawSize>2.5</drawSize>
<shadowData>
<volume>(0.25, 0.3, 0.25)</volume>
<offset>(0,0,-0.15)</offset>
</shadowData>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Dessicated/CritterDessicatedMedium</texPath>
<drawSize>1.5</drawSize>
</dessicatedBodyGraphicData>
</li>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/AbyssalArm/spoonshortage_AbyssalArm</texPath>
<drawSize>3.0</drawSize>
<shadowData>
<volume>(0.3, 0.4, 0.3)</volume>
<offset>(0,0,-0.15)</offset>
</shadowData>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Dessicated/CritterDessicatedMedium</texPath>
<drawSize>1.95</drawSize>
</dessicatedBodyGraphicData>
</li>
</lifeStages>
</PawnKindDef>
<PawnKindDef ParentName="ROMV_AnimalKindBaseAbyssalArm">
<defName>ROMV_AbyssalArmKind</defName>
<label>abyssal arm</label>
<labelPlural>abyssal arms</labelPlural>
<race>ROMV_AbyssalArmRace</race>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/AbyssalArm/spoonshortage_AbyssalArm</texPath>
<drawSize>2.0</drawSize>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Dessicated/CritterDessicatedMedium</texPath>
<drawSize>1</drawSize>
</dessicatedBodyGraphicData>
</li>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/AbyssalArm/spoonshortage_AbyssalArm</texPath>
<drawSize>2.5</drawSize>
<shadowData>
<volume>(0.25, 0.3, 0.25)</volume>
<offset>(0,0,-0.15)</offset>
</shadowData>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Dessicated/CritterDessicatedMedium</texPath>
<drawSize>1.5</drawSize>
</dessicatedBodyGraphicData>
</li>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/AbyssalArm/spoonshortage_AbyssalArm</texPath>
<drawSize>3.0</drawSize>
<shadowData>
<volume>(0.3, 0.4, 0.3)</volume>
<offset>(0,0,-0.15)</offset>
</shadowData>
</bodyGraphicData>
<dessicatedBodyGraphicData>
<texPath>Things/Pawn/Animal/Dessicated/CritterDessicatedMedium</texPath>
<drawSize>1.95</drawSize>
</dessicatedBodyGraphicData>
</li>
</lifeStages>
</PawnKindDef>


<!-- ========================== Wolves ================================= -->
<!-- ========================== Wolves ================================= -->

<ThingDef Name="ROMV_ThingBaseAbyssalArm" ParentName="AnimalThingBase" Abstract="True">
<statBases>
<MoveSpeed>0.55</MoveSpeed>
<ComfyTemperatureMin>-50</ComfyTemperatureMin>
<MarketValue>0</MarketValue>
</statBases>
<verbs>
<li>
<verbClass>Verb_MeleeAttack</verbClass>
<defaultCooldownTime>1.0</defaultCooldownTime>
<meleeDamageBaseAmount>9</meleeDamageBaseAmount>
<meleeDamageDef>Scratch</meleeDamageDef>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>20</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
</li>
</verbs>
<race>
<thinkTreeMain>ROMV_TemporaryPawnAI</thinkTreeMain>
<thinkTreeConstant>ROMV_TemporaryPawnAI_Constant</thinkTreeConstant>
<body>Snake</body>
<predator>true</predator>
<petness>0</petness>
<baseBodySize>2.0</baseBodySize>
<baseHungerRate>0.0001</baseHungerRate>
<baseHealthScale>1.0</baseHealthScale>
<foodType>CarnivoreAnimal</foodType>
<leatherInsulation>1.0</leatherInsulation>
<gestationPeriodDays>22.5</gestationPeriodDays>
<nameOnTameChance>1</nameOnTameChance>
<trainableIntelligence>Advanced</trainableIntelligence>
<wildness>1.0</wildness>
<nuzzleMtbHours>120</nuzzleMtbHours>
<manhunterOnDamageChance>1</manhunterOnDamageChance>
<manhunterOnTameFailChance>0.018</manhunterOnTameFailChance>
<litterSizeCurve>
<points>
<li>(0.5, 0)</li>
<li>(1, 1)</li>
<li>(2, 1.7)</li>
<li>(3, 0.7)</li>
<li>(3.5, 0)</li>
</points>
</litterSizeCurve>
<lifeExpectancy>12</lifeExpectancy>
<lifeStageAges>
<li>
<def>AnimalBaby</def>
<minAge>0</minAge>
</li>
<li>
<def>AnimalJuvenile</def>
<minAge>0.2</minAge>
</li>
<li>
<def>AnimalAdult</def>
<minAge>0.45</minAge>
</li>
</lifeStageAges>
<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
</race>
</ThingDef>
<ThingDef Name="ROMV_ThingBaseAbyssalArm" ParentName="AnimalThingBase" Abstract="True">
<statBases>
<MoveSpeed>0.55</MoveSpeed>
<ComfyTemperatureMin>-50</ComfyTemperatureMin>
<MarketValue>0</MarketValue>
</statBases>
<tools>
<li>
<label>tentacle</label>
<capacities>
<li>Blunt</li>
</capacities>
<cooldownTime>1.0</cooldownTime>
<power>9</power>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>20</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
</li>
</tools>
<race>
<thinkTreeMain>ROMV_TemporaryPawnAI</thinkTreeMain>
<thinkTreeConstant>ROMV_TemporaryPawnAI_Constant</thinkTreeConstant>
<body>Snake</body>
<predator>true</predator>
<petness>0</petness>
<baseBodySize>2.0</baseBodySize>
<baseHungerRate>0.0001</baseHungerRate>
<baseHealthScale>1.0</baseHealthScale>
<foodType>CarnivoreAnimal</foodType>
<leatherInsulation>1.0</leatherInsulation>
<gestationPeriodDays>22.5</gestationPeriodDays>
<nameOnTameChance>1</nameOnTameChance>
<trainableIntelligence>Advanced</trainableIntelligence>
<wildness>1.0</wildness>
<nuzzleMtbHours>120</nuzzleMtbHours>
<manhunterOnDamageChance>1</manhunterOnDamageChance>
<manhunterOnTameFailChance>0.018</manhunterOnTameFailChance>
<litterSizeCurve>
<points>
<li>(0.5, 0)</li>
<li>(1, 1)</li>
<li>(2, 1.7)</li>
<li>(3, 0.7)</li>
<li>(3.5, 0)</li>
</points>
</litterSizeCurve>
<lifeExpectancy>12</lifeExpectancy>
<lifeStageAges>
<li>
<def>AnimalBaby</def>
<minAge>0</minAge>
</li>
<li>
<def>AnimalJuvenile</def>
<minAge>0.2</minAge>
</li>
<li>
<def>AnimalAdult</def>
<minAge>0.45</minAge>
</li>
</lifeStageAges>
<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
</race>
</ThingDef>



Expand Down
Loading

0 comments on commit a2500f4

Please sign in to comment.