Skip to content

Commit

Permalink
1.4 Update Initial Update
Browse files Browse the repository at this point in the history
Debug Inspector patch disabled for now as the debug settings menus have been changed in 1.4
  • Loading branch information
jecrell committed Oct 12, 2022
1 parent b1d26eb commit b0a23a6
Show file tree
Hide file tree
Showing 64 changed files with 2,482 additions and 18 deletions.
Binary file added 1.4/Assemblies/DoorsExpanded.dll
Binary file not shown.
12 changes: 12 additions & 0 deletions 1.4/Defs/JobDefs/PH_Jobs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<JobDef>
<defName>PH_UseRemoteButton</defName>
<driverClass>DoorsExpanded.JobDriver_UseRemoteButton</driverClass>
<reportString>using TargetA.</reportString>
<casualInterruptible>false</casualInterruptible>
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
</JobDef>

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

<ResearchProjectDef Name="ProjectHeronResearch" Abstract="True">
<tab>Heron_ResearchTab</tab>
</ResearchProjectDef>

<ResearchProjectDef ParentName="ProjectHeronResearch">
<defName>ProjectHeron_Curtains</defName>
<label>simple curtains</label>
<description>Unlocks simple construction techniques to make rings, simple hooks, and poles for the production of curtains, which open far faster than standard doors, but slowly vent temperatures between rooms.</description>
<techLevel>Neolithic</techLevel>
<baseCost>200</baseCost>
<researchViewX>0</researchViewX>
<researchViewY>2</researchViewY>
<tags>
<li>ClassicStart</li>
<li>TribalStart</li>
</tags>
</ResearchProjectDef>

<ResearchProjectDef ParentName="ProjectHeronResearch">
<defName>ProjectHeron_PrisonDoors</defName>
<label>prisoner containment</label>
<description>Provides simple prison doors to keep inmates safe, well, mostly.</description>
<baseCost>500</baseCost>
<techLevel>Medieval</techLevel>
<researchViewX>1</researchViewX>
<researchViewY>2</researchViewY>
</ResearchProjectDef>

<ResearchProjectDef ParentName="ProjectHeronResearch">
<defName>ProjectHeron_RemoteDoors</defName>
<label>remote doors</label>
<description>Unlocks remote doors for remote containment as well as buttons and levers to manipulate them.</description>
<baseCost>800</baseCost>
<techLevel>Industrial</techLevel>
<researchViewX>1</researchViewX>
<researchViewY>3</researchViewY>
</ResearchProjectDef>

<ResearchProjectDef ParentName="ProjectHeronResearch">
<defName>ProjectHeron_Gates</defName>
<label>hinges and gates</label>
<description>Hinges and fastening techniques allow for the construction of swinging doors, such as large gates.</description>
<baseCost>200</baseCost>
<techLevel>Neolithic</techLevel>
<researchViewX>0</researchViewX>
<researchViewY>3</researchViewY>
<tags>
<li>ClassicStart</li>
</tags>
</ResearchProjectDef>

<ResearchProjectDef ParentName="ProjectHeronResearch">
<defName>ProjectHeron_BlastDoors</defName>
<label>blast doors</label>
<description>Allows for the production of blast absorbing pressurized blast doors.</description>
<baseCost>3000</baseCost>
<techLevel>Industrial</techLevel>
<requiredResearchBuilding>HiTechResearchBench</requiredResearchBuilding>
<researchViewX>2</researchViewX>
<researchViewY>2</researchViewY>
</ResearchProjectDef>

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

<ResearchTabDef>
<defName>Heron_ResearchTab</defName>
<label>Doors Research</label>
</ResearchTabDef>

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

<SoundDef>
<defName>HeronGarageOpen</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/RemoteDoor/GarageOpen</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
<defName>HeronGarageClose</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/RemoteDoor/GarageClose</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
<defName>HeronCurtainOpen</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/Curtain/CurtainOpen</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
<defName>HeronCurtainClose</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/Curtain/CurtainClose</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>


<SoundDef>
<defName>HeronJailDoorOpen</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/JailDoor/JailDoorOpen</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
<defName>HeronJailDoorClose</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/JailDoor/JailDoorClose</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>


<SoundDef>
<defName>HeronBlastDoorOpen</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/BlastDoor/BlastDoorOpen</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
<defName>HeronBlastDoorClose</defName>
<context>MapOnly</context>
<maxSimultaneous>1</maxSimultaneous>
<subSounds>
<li>
<name>False</name>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Misc/BlastDoor/BlastDoorClose</clipPath>
</li>
</grains>
<volumeRange>3</volumeRange>
<pitchRange>0.85~1.15</pitchRange>
</li>
</subSounds>
</SoundDef>

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

<!-- *DoorOpenTime stats are shown instead of the DoorOpenSpeed stat -->
<StatDef>
<defName>DoorOpenTime</defName>
<workerClass>DoorsExpanded.StatWorker_DoorOpenTime</workerClass>
<label>door opening time</label>
<description>The amount of seconds it takes for the door to open.\n\nSlow doors will slow down everyone who uses them.</description>
<category>Building</category>
<toStringStyle>FloatMaxTwo</toStringStyle>
<formatString>{0} s</formatString>
<displayPriorityInCategory>3104</displayPriorityInCategory>
<forInformationOnly>true</forInformationOnly>
</StatDef>

<!-- This is hidden if DoorOpenTime stat would show the same value -->
<StatDef>
<defName>PoweredDoorOpenTime</defName>
<workerClass>DoorsExpanded.StatWorker_DoorOpenTime</workerClass>
<label>powered door opening time</label>
<description>The amount of seconds it takes for the door to open if powered.\n\nSlow doors will slow down everyone who uses them.</description>
<category>Building</category>
<toStringStyle>FloatMaxTwo</toStringStyle>
<formatString>{0} s</formatString>
<displayPriorityInCategory>3103</displayPriorityInCategory>
<forInformationOnly>true</forInformationOnly>
</StatDef>

<!-- This is hidden if DoorOpenTime stat would show the same value -->
<StatDef>
<defName>UnpoweredDoorOpenTime</defName>
<workerClass>DoorsExpanded.StatWorker_DoorOpenTime</workerClass>
<label>unpowered door opening time</label>
<description>The amount of seconds it takes for the door to open if unpowered.\n\nSlow doors will slow down everyone who uses them.</description>
<category>Building</category>
<toStringStyle>FloatMaxTwo</toStringStyle>
<formatString>{0} s</formatString>
<displayPriorityInCategory>3102</displayPriorityInCategory>
<forInformationOnly>true</forInformationOnly>
</StatDef>

</Defs>
Loading

0 comments on commit b0a23a6

Please sign in to comment.