Skip to content
Closed

1.6 #47

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
89 changes: 89 additions & 0 deletions 1.5/Mods/Ideology/Patches/tier1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="BeyondOurReachModSettings.PatchOperationModSettings">
<modSettingDef>BOR_Setting_Ideology_TODO</modSettingDef>
<enabled Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>

<ThingDef ParentName="BuildingBase">
<defName>BOR_Solar_SleepAccelerator</defName>
<label>solarite sleep accelerator</label>
<description>A solarite bedside device that accelerates the sleeper's circadian rhythm. This speeds up sleep, but consumes a lot of electricity and also causes increased hunger. It must be placed directly adjacent to and facing the head of the bed. Placing more than one sleep accelerator near the same bed has no effect.</description>
<graphicData>
<texPath>Ideo/Tier1/SleepAccelerator</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<shadowData>
<volume>(0.55, 0.30, 0.40)</volume>
</shadowData>
<damageData>
<rectN>(0.078125,0.46875,0.859375,0.53125)</rectN>
<rectS>(0.078125,0.46875,0.859375,0.53125)</rectS>
<rectE>(0.125,0.46875,0.625,0.296875)</rectE>
<rectW>(0.25,0.46875,0.625,0.296875)</rectW>
<cornerTR>Damage/Corner</cornerTR>
</damageData>
</graphicData>
<designatorDropdown>BOR_Sleep</designatorDropdown>
<uiIconScale>0.7</uiIconScale>
<defaultPlacingRot>South</defaultPlacingRot>
<researchPrerequisites>
<li>BOR_Research_Medicine_I</li>
</researchPrerequisites>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<fillPercent>0.2</fillPercent>
<statBases>
<MaxHitPoints>150</MaxHitPoints>
<WorkToBuild>9000</WorkToBuild>
<Mass>20</Mass>
<Flammability>0.5</Flammability><!---->
</statBases>
<size>(1,1)</size>
<costList>
<BOR_Sunsteel>50</BOR_Sunsteel>
<ComponentSpacer>5</ComponentSpacer>
</costList>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<designationCategory>BOR</designationCategory>
<uiOrder>2510</uiOrder>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>100</basePowerConsumption>
</li>
<li Class="CompProperties_FacilityInUse">
<inUsePowerConsumption>600</inUsePowerConsumption>
<effectInUse>SleepAcceleratorActive</effectInUse>
</li>
<li Class="CompProperties_Flickable" />
<li Class="CompProperties_Facility">
<statOffsets>
<BedRestEffectiveness>0.525</BedRestEffectiveness>
<BedHungerRateFactor>0.30</BedHungerRateFactor>
</statOffsets>
<maxSimultaneous>1</maxSimultaneous>
<mustBePlacedAdjacent>true</mustBePlacedAdjacent>
<mustBePlacedAdjacentCardinalToAndFacingBedHead>true</mustBePlacedAdjacentCardinalToAndFacingBedHead>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_ShowFacilitiesConnections</li>
</placeWorkers>
</ThingDef>

</value>
</enabled>
</Operation>

</Patch>
88 changes: 88 additions & 0 deletions 1.5/Mods/Ideology/Patches/tier2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="BeyondOurReachModSettings.PatchOperationModSettings">
<modSettingDef>BOR_Setting_Ideology_TODO</modSettingDef>
<enabled Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>

<ThingDef ParentName="BuildingBase">
<defName>BOR_Quasar_SleepAccelerator</defName>
<label>quasarite sleep accelerator</label>
<description>A quasarite bedside device that accelerates the sleeper's circadian rhythm. This speeds up sleep, but consumes a lot of electricity and also causes increased hunger. It must be placed directly adjacent to and facing the head of the bed. Placing more than one sleep accelerator near the same bed has no effect.</description>
<graphicData>
<texPath>Ideo/Tier2/SleepAccelerator</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<shadowData>
<volume>(0.55, 0.30, 0.40)</volume>
</shadowData>
<damageData>
<rectN>(0.078125,0.46875,0.859375,0.53125)</rectN>
<rectS>(0.078125,0.46875,0.859375,0.53125)</rectS>
<rectE>(0.125,0.46875,0.625,0.296875)</rectE>
<rectW>(0.25,0.46875,0.625,0.296875)</rectW>
<cornerTR>Damage/Corner</cornerTR>
</damageData>
</graphicData>
<designatorDropdown>BOR_Sleep</designatorDropdown>
<uiIconScale>0.7</uiIconScale>
<defaultPlacingRot>South</defaultPlacingRot>
<researchPrerequisites>
<li>BOR_Research_Medicine_II</li>
</researchPrerequisites>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<fillPercent>0.2</fillPercent>
<statBases>
<MaxHitPoints>150</MaxHitPoints>
<WorkToBuild>9000</WorkToBuild>
<Mass>20</Mass>
<Flammability>0.5</Flammability>
</statBases>
<size>(1,1)</size>
<costList>
<BOR_QuasarAlloy>50</BOR_QuasarAlloy>
<BOR_ComponentII>5</BOR_ComponentII>
</costList>
<constructionSkillPrerequisite>12</constructionSkillPrerequisite>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<designationCategory>BOR</designationCategory>
<uiOrder>2510</uiOrder>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>500</basePowerConsumption>
</li>
<li Class="CompProperties_FacilityInUse">
<inUsePowerConsumption>1200</inUsePowerConsumption>
<effectInUse>SleepAcceleratorActive</effectInUse>
</li>
<li Class="CompProperties_Flickable" />
<li Class="CompProperties_Facility">
<statOffsets>
<BedRestEffectiveness>0.787</BedRestEffectiveness>
<BedHungerRateFactor>0.2</BedHungerRateFactor>
</statOffsets>
<maxSimultaneous>1</maxSimultaneous>
<mustBePlacedAdjacent>true</mustBePlacedAdjacent>
<mustBePlacedAdjacentCardinalToAndFacingBedHead>true</mustBePlacedAdjacentCardinalToAndFacingBedHead>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_ShowFacilitiesConnections</li>
</placeWorkers>
</ThingDef>
</value>
</enabled>
</Operation>

</Patch>
88 changes: 88 additions & 0 deletions 1.5/Mods/Ideology/Patches/tier3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="BeyondOurReachModSettings.PatchOperationModSettings">
<modSettingDef>BOR_Setting_Ideology_TODO</modSettingDef>
<enabled Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>

<ThingDef ParentName="BuildingBase">
<defName>BOR_Tenebral_SleepAccelerator</defName>
<label>tenebralite sleep accelerator</label>
<description>A tenebral bedside device that accelerates the sleeper's circadian rhythm. This speeds up sleep, but consumes a lot of electricity and also causes increased hunger. It must be placed directly adjacent to and facing the head of the bed. Placing more than one sleep accelerator near the same bed has no effect.</description>
<graphicData>
<texPath>Ideo/Tier3/SleepAccelerator</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shaderType>CutoutComplex</shaderType>
<shadowData>
<volume>(0.55, 0.30, 0.40)</volume>
</shadowData>
<damageData>
<rectN>(0.078125,0.46875,0.859375,0.53125)</rectN>
<rectS>(0.078125,0.46875,0.859375,0.53125)</rectS>
<rectE>(0.125,0.46875,0.625,0.296875)</rectE>
<rectW>(0.25,0.46875,0.625,0.296875)</rectW>
<cornerTR>Damage/Corner</cornerTR>
</damageData>
</graphicData>
<designatorDropdown>BOR_Sleep</designatorDropdown>
<uiIconScale>0.7</uiIconScale>
<defaultPlacingRot>South</defaultPlacingRot>
<researchPrerequisites>
<li>BOR_Research_Medicine_III</li>
</researchPrerequisites>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<fillPercent>0.2</fillPercent>
<statBases>
<MaxHitPoints>225</MaxHitPoints>
<WorkToBuild>1350</WorkToBuild>
<Mass>18</Mass>
<Flammability>0.3</Flammability>
</statBases>
<size>(1,1)</size>
<costList>
<BOR_Tenebrite>50</BOR_Tenebrite>
<BOR_ComponentIII>5</BOR_ComponentIII>
</costList>
<constructionSkillPrerequisite>16</constructionSkillPrerequisite>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<designationCategory>BOR</designationCategory>
<uiOrder>2510</uiOrder>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>1000</basePowerConsumption>
</li>
<li Class="CompProperties_FacilityInUse">
<inUsePowerConsumption>2000</inUsePowerConsumption>
<effectInUse>SleepAcceleratorActive</effectInUse>
</li>
<li Class="CompProperties_Flickable" />
<li Class="CompProperties_Facility">
<statOffsets>
<BedRestEffectiveness>1.1805</BedRestEffectiveness>
<BedHungerRateFactor>0.15</BedHungerRateFactor>
</statOffsets>
<maxSimultaneous>1</maxSimultaneous>
<mustBePlacedAdjacent>true</mustBePlacedAdjacent>
<mustBePlacedAdjacentCardinalToAndFacingBedHead>true</mustBePlacedAdjacentCardinalToAndFacingBedHead>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_ShowFacilitiesConnections</li>
</placeWorkers>
</ThingDef>
</value>
</enabled>
</Operation>

</Patch>
File renamed without changes.
Loading