Skip to content

Commit

Permalink
1.4 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jecrell committed Oct 22, 2022
1 parent b1da880 commit 9d872e7
Show file tree
Hide file tree
Showing 40 changed files with 4,374 additions and 55 deletions.
Binary file added 1.4/Assemblies/ProjectJedi.dll
Binary file not shown.
737 changes: 737 additions & 0 deletions 1.4/Defs/AbilityAIDefs/AbilityUserAI_StarWars.xml

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions 1.4/Defs/AbilityDefs/Abilities_Base
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8" ?>

<ThingDefs>

<!-- ========================Vanilla Abstracts ======================= -->
<ThingDef Name="BaseBullet" Abstract="True">
<category>Projectile</category>
<tickerType>Normal</tickerType>
<altitudeLayer>Projectile</altitudeLayer>
<thingClass>Bullet</thingClass>
<label>bullet</label>
<useHitPoints>False</useHitPoints>
<neverMultiSelect>True</neverMultiSelect>
<graphicData>
<shaderType>Transparent</shaderType>
</graphicData>
</ThingDef>


<!-- ========================BaseDef================================== -->

<ThingDef Class="AbilityUser.AbilityDef" Name="BaseAbility" Abstract="True">
<category>None</category>
<uiIconPath>UI/Glow_Corrupt</uiIconPath>
<thingClass>ThingWithComps</thingClass>
<pathCost>0</pathCost>
<useHitPoints>False</useHitPoints>
<selectable>False</selectable>
<tickerType>Normal</tickerType>
<comps>
<li>
<compClass>CompEquippable</compClass>
</li>
</comps>

</ThingDef>

</ThingDefs>
7 changes: 7 additions & 0 deletions 1.4/Defs/AbilityDefs/Abilities_Base.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<AbilityUser.AbilityDef Name="BaseForceAbility" Abstract="True">
<abilityClass>ProjectJedi.ForceAbility</abilityClass>
<uiIconPath>UI/Glow_Corrupt</uiIconPath>
</AbilityUser.AbilityDef>
</Defs>
703 changes: 703 additions & 0 deletions 1.4/Defs/AbilityDefs/PJ_ForcePowers_Dark.xml

Large diffs are not rendered by default.

473 changes: 473 additions & 0 deletions 1.4/Defs/AbilityDefs/PJ_ForcePowers_Gray.xml

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions 1.4/Defs/AbilityDefs/PJ_ForcePowers_Light.xml

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions 1.4/Defs/DamageDefs/AbilityUser_Damages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<DamageDef>
<defName>Laser</defName>
<workerClass>DamageWorker_AddInjury</workerClass>
<label>burn</label>
<hasForcefulImpact>true</hasForcefulImpact>
<makesBlood>false</makesBlood>
<canInterruptJobs>false</canInterruptJobs>
<externalViolence>true</externalViolence>
<deathMessage>{0} has been shot to death.</deathMessage>
<hediff>Burn</hediff>
<armorCategory>Heat</armorCategory>
<explosionHeatEnergyPerCell>15</explosionHeatEnergyPerCell>
<explosionCellFleck>BlastFlame</explosionCellFleck>
<explosionColorCenter>(1, 0.7, 0.7)</explosionColorCenter>
<explosionColorEdge>(1, 1, 0.7)</explosionColorEdge>
<soundExplosion>Explosion_Flame</soundExplosion>
</DamageDef>
</Defs>
142 changes: 142 additions & 0 deletions 1.4/Defs/DamageDefs/PJ_ForcePowerDamages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<HediffDef ParentName="InjuryBase">
<defName>PJ_ForceBurn</defName>
<label>force burn</label>
<labelNoun>a force burn wound</labelNoun>
<description>a force-burn wound</description>
<comps>
<li Class="HediffCompProperties_TendDuration">
<labelTendedWell>bandaged</labelTendedWell>
<labelTendedWellInner>sutured</labelTendedWellInner>
<labelSolidTendedWell>set</labelSolidTendedWell>
</li>
<li Class="HediffCompProperties_Infecter">
<infectionChance>0.15</infectionChance>
</li>
<li Class="HediffCompProperties_GetsPermanent">
<permanentLabel>scar</permanentLabel>
</li>
</comps>
<injuryProps>
<painPerSeverity>0.0125</painPerSeverity>
<averagePainPerSeverityPermanent>0.00625</averagePainPerSeverityPermanent>
<bleedRate>0.015</bleedRate>
<canMerge>true</canMerge>
<destroyedLabel>Burned</destroyedLabel>
</injuryProps>
</HediffDef>
<DamageDef>
<defName>PJ_ForceHealDamage</defName>
<label>force heal</label>
<workerClass>ProjectJedi.DamageWorker_ForceHeal</workerClass>
<hasForcefulImpact>false</hasForcefulImpact>
<harmsHealth>false</harmsHealth>
<makesBlood>false</makesBlood>
<canInterruptJobs>false</canInterruptJobs>
</DamageDef>
<DamageDef>
<defName>PJ_FDrainDamage</defName>
<label>force drain</label>
<workerClass>ProjectJedi.DamageWorker_ForceDrain</workerClass>
<externalViolence>true</externalViolence>
<deathMessage>{0} has succumbed to the power of the dark side.</deathMessage>
<hediff>PJ_ForceBurn</hediff>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<armorCategory>Heat</armorCategory>
</DamageDef>
<DamageDef>
<defName>PJ_FLightning</defName>
<label>lightning</label>
<externalViolence>true</externalViolence>
<workerClass>DamageWorker_AddInjury</workerClass>
<deathMessage>{0} has succumbed to the power of the dark side.</deathMessage>
<hediff>PJ_ForceBurn</hediff>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<armorCategory>Heat</armorCategory>
</DamageDef>
<DamageDef>
<defName>PJ_FStorm</defName>
<label>Force storm</label>
<externalViolence>true</externalViolence>
<workerClass>DamageWorker_AddInjury</workerClass>
<deathMessage>{0} was caught in a force storm.</deathMessage>
<hediff>PJ_ForceBurn</hediff>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<impactSoundType>Electric</impactSoundType>
<armorCategory>Heat</armorCategory>
<explosionSnowMeltAmount>0</explosionSnowMeltAmount>
<explosionCellFleck>BlastEMP</explosionCellFleck>
<explosionColorEdge>(0.8, 0.7, 1.0, 0.8)</explosionColorEdge>
<explosionInteriorFleck>ElectricalSpark</explosionInteriorFleck>
<soundExplosion>PJ_LightningSound</soundExplosion>
</DamageDef>
<DamageDef>
<defName>PJ_MindTrickDam</defName>
<label>Mind trick</label>
<makesBlood>false</makesBlood>
<externalViolence>true</externalViolence>
<workerClass>DamageWorker_AddInjury</workerClass>
<deathMessage>{0} has succumbed to mental force damage.</deathMessage>
<hediff>Crack</hediff>
<armorCategory>Heat</armorCategory>
<additionalHediffs>
<li>
<hediff>PJ_MindTrick</hediff>
<severityPerDamageDealt>1.50</severityPerDamageDealt>
</li>
</additionalHediffs>
</DamageDef>
<DamageDef>
<defName>PJ_RageDam</defName>
<label>Force Rage</label>
<makesBlood>false</makesBlood>
<externalViolence>true</externalViolence>
<workerClass>DamageWorker_AddInjury</workerClass>
<deathMessage>{0} has succumbed to mental force damage.</deathMessage>
<hediff>Crack</hediff>
<armorCategory>Heat</armorCategory>
<additionalHediffs>
<li>
<hediff>PJ_Rage</hediff>
<severityPerDamageDealt>1.80</severityPerDamageDealt>
</li>
</additionalHediffs>
</DamageDef>
<DamageDef>
<defName>PJ_FChoke</defName>
<label>choke</label>
<workerClass>ProjectJedi.DamageWorker_ForceChoke</workerClass>
<externalViolence>false</externalViolence>
<deathMessage>{0} has succumbed to the power of the dark side.</deathMessage>
<hediff>PJ_ChokeCrush</hediff>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<armorCategory>Heat</armorCategory>
<additionalHediffs>
<li>
<hediff>PJ_NoAir</hediff>
<severityPerDamageDealt>0.08</severityPerDamageDealt>
</li>
</additionalHediffs>
</DamageDef>
<!-- Force Pull -->
<DamageDef>
<defName>PJ_DForcePull</defName>
<label>pull</label>
<workerClass>ProjectJedi.DamageWorker_ForcePull</workerClass>
<externalViolence>false</externalViolence>
<harmsHealth>false</harmsHealth>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<armorCategory>Heat</armorCategory>
</DamageDef>
<!-- Force Push -->
<DamageDef>
<defName>PJ_DForcePush</defName>
<label>push</label>
<workerClass>ProjectJedi.DamageWorker_ForcePush</workerClass>
<externalViolence>false</externalViolence>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<harmsHealth>false</harmsHealth>
<armorCategory>Heat</armorCategory>
</DamageDef>
</Defs>
119 changes: 119 additions & 0 deletions 1.4/Defs/FactionDefs/Factions_Hidden.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<FactionDef Abstract="True" Name="PJ_GhostFacBase">
<label>Force Ghost</label>
<description>Former jedi masters who have become one with the force, yet retained their persona.\n\n(Star Wars - The Force)</description>
<pawnsPlural>Force ghosts</pawnsPlural>
<requiredCountAtGameStart>1</requiredCountAtGameStart>
<fixedName>Force ghosts</fixedName>
<techLevel>Ultra</techLevel>
<backstoryCategories>
<li>Outlander</li>
</backstoryCategories>
<hidden>true</hidden>
<rescueesCanJoin>false</rescueesCanJoin>
<autoFlee>false</autoFlee>
<raidLootValueFromPointsCurve>
<points>
<li>(35, 15)</li>
<li>(100, 120)</li>
<li>(1000, 500)</li>
<li>(2000, 800)</li>
<li>(4000, 1000)</li>
</points>
</raidLootValueFromPointsCurve>
</FactionDef>
<FactionDef ParentName="PJ_GhostFacBase">
<defName>PJ_GhostFaction</defName>
</FactionDef>
<!--
<FactionDef Abstract="True" Name="PJ_AffiliateFaction">
<label>Force Ghost</label>
<description>Former jedi masters who have become one with the force, yet retained their persona.\n\n(Star Wars - The Force)</description>
<pawnsPlural>Force ghosts</pawnsPlural>
<settlementSelectionWeight>0.00001</settlementSelectionWeight>
<requiredCountAtGameStart>1</requiredCountAtGameStart>
<hidden>true</hidden>
<earliestRaidDays>2147483</earliestRaidDays>
<canMakeRandomly>False</canMakeRandomly>
<autoFlee>false</autoFlee>
<canSiege>false</canSiege>
<canStageAttacks>false</canStageAttacks>
<fixedName>Force ghosts</fixedName>
<techLevel>Ultra</techLevel>
<backstoryCategories><li>Outlander</li></backstoryCategories>
<rescueesCanJoin>false</rescueesCanJoin>
<autoFlee>false</autoFlee>
<hairTags>
<li>Urban</li>
</hairTags>
<startingGoodwill>
<min>99</min>
<max>90</max>
</startingGoodwill>
<naturalColonyGoodwill>
<min>99</min>
<max>99</max>
</naturalColonyGoodwill>
<allowedArrivalTemperatureRange>
<min>-45</min>
<max>60</max>
</allowedArrivalTemperatureRange>
</FactionDef>
<FactionDef ParentName="PJ_AffiliateFaction">
<defName>PJ_Affiliate_JediOrder</defName>
<label>Jedi Order</label>
<description>An ancient monastic peacekeeping organization unified by its belief and observance of the light side of the Force.\n\n(Star Wars - The Force)</description>
<fixedName>The Jedi Order</fixedName>
<pawnsPlural>Jedi</pawnsPlural>
<leaderTitle>Grand Master</leaderTitle>
<caravanTraderKinds>
<li>Caravan_Outlander_PirateMerchant</li>
</caravanTraderKinds>
<pawnGroupMakers>
<li>
<kindDef>Combat</kindDef>
<commonality>100</commonality>
<options>
<PJ_ScoutTrooper>20</PJ_ScoutTrooper>
</options>
</li>
<li>
<kindDef>Trader</kindDef>
<traders>
<Town_Trader>1</Town_Trader>
</traders>
<carriers>
<Muffalo>1</Muffalo>
<Dromedary>1</Dromedary>
</carriers>
<guards>
<TownGuard>250</TownGuard>
<GrenadierDestructive>50</GrenadierDestructive>
<MercenaryGunner>100</MercenaryGunner>
<MercenarySlasher>100</MercenarySlasher>
</guards>
</li>
<li>
<kindDef>Settlement</kindDef>
<options>
<PJ_ImpSoldier>200</PJ_ImpSoldier>
<PJ_ImpCommander>5</PJ_ImpCommander>
<PJ_Stormtrooper>150</PJ_Stormtrooper>
<PJ_Stormtrooper>100</PJ_Stormtrooper>
<PJ_Stormtrooper>150</PJ_Stormtrooper>
<PJ_ScoutTrooper>10</PJ_ScoutTrooper>
</options>
</li>
</pawnGroupMakers>
<settlementTexturePath>World/EmpLogo</settlementTexturePath>
</FactionDef>
-->
</Defs>
8 changes: 8 additions & 0 deletions 1.4/Defs/ForceGhost_Test/GhostLifestages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<LifeStageDef>
<defName>PJ_FGhostLifestage</defName>
<label>adult stage</label>
<visible>false</visible>
</LifeStageDef>
</Defs>
Loading

0 comments on commit 9d872e7

Please sign in to comment.