Skip to content

Commit

Permalink
Merge pull request #777 from zymex22/issue773
Browse files Browse the repository at this point in the history
1.5 Update
  • Loading branch information
Sn1p3rr3c0n authored Apr 28, 2024
2 parents aa32c75 + 7c7e778 commit 2807a2c
Show file tree
Hide file tree
Showing 120 changed files with 14,727 additions and 89 deletions.
Binary file added 1.4/Assemblies/ProjectRimFactory.dll
Binary file not shown.
101 changes: 101 additions & 0 deletions 1.4/Defs/AchievementsExpanded/Achievements.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<!--===================== Achievement Tab =====================-->
<!-- <AchievementsExpanded.AchievementTabDef>
<defName>PRF_Achievement</defName>
<label>Project RimFactory</label>
</AchievementsExpanded.AchievementTabDef> -->

<!--===================== example =====================-->
<!-- <AchievementsExpanded.AchievementDef>
<defName></defName>
<tab>PRF_Achievement</tab>
<label></label>
<description></description>
<tracker Class=""></tracker>
<texPath></texPath>
<points></points>
</AchievementsExpanded.AchievementDef> -->

<!-- Find more tracker examples here:
https://github.com/AndroidQuazar/VanillaAchievementsExpanded/wiki/Available-Trackers-for-XML
-->
<!--======================== Getting started ========================-->
<!-- Tier 0-->
<!--<AchievementsExpanded.AchievementDef>
<defName>PRF_GettingStarted</defName>
<tab>PRF_Achievement</tab>
<label>Getting Started</label>
<description>Get your factory research going.</description>
<tracker Class="AchievementsExpanded.ResearchTracker">
<def>PRF_CoreTierO</def>
</tracker>
<texPath>Achievements/OutOfTheDarkAge</texPath>
<points>5</points>
</AchievementsExpanded.AchievementDef> -->

<!-- Tier 1-->
<!--<AchievementsExpanded.AchievementDef>
<defName>PRF_A_TierI</defName>
<tab>PRF_Achievement</tab>
<label>Early Automation</label>
<description>Get your factory research going.</description>
<tracker Class="AchievementsExpanded.ResearchTracker">
<def>PRF_CoreTierI</def>
</tracker>
<texPath>Achievements/OutOfTheDarkAge</texPath>
<points>10</points>
</AchievementsExpanded.AchievementDef> -->

<!-- Tier 2-->
<!--<AchievementsExpanded.AchievementDef>
<defName>PRF_A_TierII</defName>
<tab>PRF_Achievement</tab>
<label>Getting Advanced</label>
<description>Get your factory research going.</description>
<tracker Class="AchievementsExpanded.ResearchTracker">
<def>PRF_CoreTierII</def>
</tracker>
<texPath>Achievements/OutOfTheDarkAge</texPath>
<points>15</points>
</AchievementsExpanded.AchievementDef> -->

<!-- Tier 3-->
<!--<AchievementsExpanded.AchievementDef>
<defName>PRF_A_TierIII</defName>
<tab>PRF_Achievement</tab>
<label>Self Learning</label>
<description>Get your factory research going.</description>
<tracker Class="AchievementsExpanded.ResearchTracker">
<def>PRF_CoreTierIII</def>
</tracker>
<texPath>Achievements/OutOfTheDarkAge</texPath>
<points>25</points>
</AchievementsExpanded.AchievementDef> -->

<!-- Tier 4-->
<!--<AchievementsExpanded.AchievementDef>
<defName>PRF_A_TierIV</defName>
<tab>PRF_Achievement</tab>
<label>Now Its Getting Crazy</label>
<description>Get your factory research going.</description>
<tracker Class="AchievementsExpanded.ResearchTracker">
<def>PRF_CoreTierIV</def>
</tracker>
<texPath>Achievements/OutOfTheDarkAge</texPath>
<points>50</points>
</AchievementsExpanded.AchievementDef> -->
</Defs>
141 changes: 141 additions & 0 deletions 1.4/Defs/BodyDefs/Bodies_Drone.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<BodyDef>
<defName>PRFDrone</defName>
<label>drone</label>
<corePart>
<def>MechanicalThorax</def>
<height>Middle</height>
<depth>Outside</depth>
<parts>
<li>
<def>MechanicalNeck</def>
<coverage>0.10</coverage>
<height>Top</height>
<parts>
<li>
<def>MechanicalHead</def>
<coverage>0.80</coverage>
<groups>
<li>HeadAttackTool</li>
</groups>
<parts>
<li>
<def>ArtificialBrain</def>
<coverage>0.10</coverage>
<depth>Inside</depth>
</li>
<li>
<def>SightSensor</def>
<customLabel>left sight sensor</customLabel>
<coverage>0.13</coverage>
</li>
<li>
<def>SightSensor</def>
<customLabel>right sight sensor</customLabel>
<coverage>0.13</coverage>
</li>
<li>
<def>HearingSensor</def>
<customLabel>left hearing sensor</customLabel>
<coverage>0.10</coverage>
</li>
<li>
<def>HearingSensor</def>
<customLabel>right hearing sensor</customLabel>
<coverage>0.10</coverage>
</li>
<li>
<def>SmellSensor</def>
<coverage>0.10</coverage>
</li>
</parts>
</li>
</parts>
</li>
<li>
<def>MechanicalShoulder</def>
<customLabel>left arm joint</customLabel>
<coverage>0.17</coverage>
<parts>
<li>
<def>MechanicalArm</def>
<customLabel>left arm</customLabel>
<coverage>0.85</coverage>
<parts>
<!--li>
<def>LeftBlade</def>
<coverage>0.3</coverage>
<groups>
<li>LeftBlade</li>
</groups>
</li-->
<li>
<def>MechanicalHand</def>
<coverage>0.2</coverage>
<height>Bottom</height>
<customLabel>left vice</customLabel>
</li>
</parts>
</li>
</parts>
</li>
<li>
<def>MechanicalShoulder</def>
<coverage>0.17</coverage>
<customLabel>right arm joint</customLabel>
<parts>
<li>
<def>MechanicalArm</def>
<customLabel>right arm</customLabel>
<coverage>0.85</coverage>
<parts>
<!--li>
<def>RightBlade</def>
<coverage>0.3</coverage>
<groups>
<li>RightBlade</li>
</groups>
</li-->
<li>
<def>MechanicalHand</def>
<coverage>0.2</coverage>
<height>Bottom</height>
<customLabel>right vice</customLabel>
</li>
</parts>
</li>
</parts>
</li>
<li>
<def>PRFPropeller</def>
<customLabel>left propeller</customLabel>
<coverage>0.2</coverage>
<height>Bottom</height>
<parts>
<li>
<def>PRFPropellerBlade</def>
<customLabel>left propeller blade</customLabel>
<coverage>0.2</coverage>
</li>
</parts>
</li>
<li>
<def>PRFPropeller</def>
<customLabel>right propeller</customLabel>
<coverage>0.2</coverage>
<height>Bottom</height>
<parts>
<li>
<def>PRFPropellerBlade</def>
<customLabel>right propeller blade</customLabel>
<coverage>0.2</coverage>
</li>
</parts>
</li>
</parts>
</corePart>
</BodyDef>

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

<BodyPartDef>
<defName>PRFPropeller</defName>
<label>propeller</label>
<hitPoints>30</hitPoints>
<permanentInjuryChanceFactor>0</permanentInjuryChanceFactor>
<skinCovered>false</skinCovered>
<solid>true</solid>
<alive>false</alive>
<tags>
<li>MovingLimbCore</li>
</tags>
<bleedRate>0</bleedRate>
</BodyPartDef>

<BodyPartDef>
<defName>PRFPropellerBlade</defName>
<label>propeller blade</label>
<hitPoints>20</hitPoints>
<frostbiteVulnerability>2</frostbiteVulnerability>
<permanentInjuryChanceFactor>0</permanentInjuryChanceFactor>
<skinCovered>false</skinCovered>
<solid>true</solid>
<alive>false</alive>
<tags>
<li>MovingLimbSegment</li>
</tags>
<bleedRate>0</bleedRate>
</BodyPartDef>

</Defs>
13 changes: 13 additions & 0 deletions 1.4/Defs/DesignationCategoryDefs/DesignationCategories.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<DesignationCategoryDef>
<defName>Industrial</defName>
<label>industrial</label>
<description>Industrial rollers structures and machines.</description>
<specialDesignatorClasses>
<li>Designator_Cancel</li>
<li>Designator_Deconstruct</li>
</specialDesignatorClasses>
<order>250</order>
</DesignationCategoryDef>
</Defs>
14 changes: 14 additions & 0 deletions 1.4/Defs/DesignationCategoryDefs/DesignationGroups.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<!--Clean up Industrial rollers -->
<DesignatorDropdownGroupDef>
<defName>Underground_gr</defName>
</DesignatorDropdownGroupDef>

<DesignatorDropdownGroupDef>
<defName>Rails_gr</defName>
</DesignatorDropdownGroupDef>


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

<!--======================================= Effect ===============================================-->
<!-- Effects. Should change xml location. -->
<EffecterDef>
<defName>AutoMachineTool_Effect_ProgressBar</defName>
<children>
<li>
<subEffecterClass>SubEffecter_ProgressBar</subEffecterClass>
<moteDef>AutoMachineTool_Mote_ProgressBar</moteDef>
</li>
</children>
</EffecterDef>

<ThingDef ParentName="MoteBase">
<defName>AutoMachineTool_Mote_ProgressBar</defName>
<graphicData>
<texPath>Things/Mote/Transparent</texPath>
</graphicData>
<thingClass>ProjectRimFactory.AutoMachineTool.MoteProgressBar2</thingClass>
<altitudeLayer>MetaOverlays</altitudeLayer>
<mote>
<solidTime>240</solidTime>
</mote>
</ThingDef>

</Defs>
13 changes: 13 additions & 0 deletions 1.4/Defs/JobDefs/JobDefs_Drones.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<JobDef>
<defName>PRFDrone_ReturnToStation</defName>
<driverClass>ProjectRimFactory.Drones.AI.JobDriver_ReturnToStation</driverClass>
<reportString>returning to station.</reportString>
</JobDef>
<JobDef>
<defName>PRFDrone_SelfTerminate</defName>
<driverClass>ProjectRimFactory.Drones.AI.JobDriver_SelfTerminate</driverClass>
<reportString>self-terminating.</reportString>
</JobDef>
</Defs>
8 changes: 8 additions & 0 deletions 1.4/Defs/JobDefs/JobDefs_Static.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<JobDef>
<defName>PRFStaticJob</defName>
<driverClass>ProjectRimFactory.AutoMachineTool.JobDriver_StaticJob</driverClass>
<reportString>S.A.L Working</reportString>
</JobDef>
</Defs>
Loading

0 comments on commit 2807a2c

Please sign in to comment.