Skip to content

Commit

Permalink
Merge pull request #765 from zymex22/issue493
Browse files Browse the repository at this point in the history
added darklight toggle to most lights
  • Loading branch information
Sn1p3rr3c0n authored Feb 23, 2024
2 parents 1d3c104 + 3686866 commit fdad91d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 144 deletions.
42 changes: 3 additions & 39 deletions Defs/ThingDefs_Buildings/Buildings_Drones.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,47 +291,11 @@

<rangeType>ProjectRimFactory.Common.RectRange</rangeType>
</li>
<li Class="ProjectRimFactory.Misc.CompProperties_Glower_ColorPick">
<li Class="CompProperties_Glower">
<glowRadius>7</glowRadius>
<glowColor>(252,199,139,0)</glowColor>
<key>PRF_Warm_White</key>
<moreColors>
<li>
<key>PRF_Cool_White</key>
<color>(140,200,250,0)</color>
</li>
<li>
<key>PRF_Red</key>
<color>(217,80,80,0)</color>
</li>
<li>
<key>PRF_Green</key>
<color>(80,217,80,0)</color>
</li>
<li>
<key>PRF_Blue</key>
<color>(80,80,217,0)</color>
</li>
<li>
<key>PRF_Cyan</key>
<color>(10,245,245,0)</color>
</li>
<li>
<key>PRF_Yellow</key>
<color>(240,240,20,0)</color>
</li>
<li>
<key>PRF_Magenta</key>
<color>(245,10,245,0)</color>
</li>
<li>
<key>PRF_None</key>
<color>(0,0,0,0)</color>
</li>
</moreColors>
<!-- <prerequisites>
<li>ColoredLights</li>
</prerequisites> -->
<colorPickerEnabled>true</colorPickerEnabled>
<darklightToggle>true</darklightToggle>
</li>
</comps>
<modExtensions>
Expand Down
114 changes: 9 additions & 105 deletions Defs/ThingDefs_Buildings/Buildings_Misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,43 +74,11 @@
<shortCircuitInRain>false</shortCircuitInRain>
</li>
<li Class="CompProperties_Flickable"/>
<li Class="ProjectRimFactory.Misc.CompProperties_Glower_ColorPick">
<li Class="CompProperties_Glower">
<glowRadius>15</glowRadius>
<glowColor>(252,199,139,0)</glowColor>
<key>PRF_Warm_White</key>
<moreColors>
<li>
<key>PRF_Cool_White</key>
<color>(140,200,250,0)</color>
</li>
<li>
<key>PRF_Red</key>
<color>(217,80,80,0)</color>
</li>
<li>
<key>PRF_Green</key>
<color>(80,217,80,0)</color>
</li>
<li>
<key>PRF_Blue</key>
<color>(80,80,217,0)</color>
</li>
<li>
<key>PRF_Cyan</key>
<color>(10,245,245,0)</color>
</li>
<li>
<key>PRF_Yellow</key>
<color>(240,240,20,0)</color>
</li>
<li>
<key>PRF_Magenta</key>
<color>(245,10,245,0)</color>
</li>
</moreColors>
<prerequisites>
<li>ColoredLights</li>
</prerequisites>
<colorPickerEnabled>true</colorPickerEnabled>
<darklightToggle>true</darklightToggle>
</li>
</comps>
<researchPrerequisites>
Expand Down Expand Up @@ -230,43 +198,11 @@
<compClass>CompHeatPusherPowered</compClass>
<heatPerSecond>1</heatPerSecond>
</li>
<li Class="ProjectRimFactory.Misc.CompProperties_Glower_ColorPick">
<li Class="CompProperties_Glower">
<glowRadius>20</glowRadius>
<glowColor>(252,199,139,0)</glowColor>
<key>PRF_Warm_White</key>
<moreColors>
<li>
<key>PRF_Cool_White</key>
<color>(140,200,250,0)</color>
</li>
<li>
<key>PRF_Red</key>
<color>(217,80,80,0)</color>
</li>
<li>
<key>PRF_Green</key>
<color>(80,217,80,0)</color>
</li>
<li>
<key>PRF_Blue</key>
<color>(80,80,217,0)</color>
</li>
<li>
<key>PRF_Cyan</key>
<color>(10,245,245,0)</color>
</li>
<li>
<key>PRF_Yellow</key>
<color>(240,240,20,0)</color>
</li>
<li>
<key>PRF_Magenta</key>
<color>(245,10,245,0)</color>
</li>
</moreColors>
<prerequisites>
<li>ColoredLights</li>
</prerequisites>
<colorPickerEnabled>true</colorPickerEnabled>
<darklightToggle>true</darklightToggle>
</li>
</comps>
<researchPrerequisites>
Expand Down Expand Up @@ -307,43 +243,11 @@
<basePowerConsumption>25</basePowerConsumption>
<shortCircuitInRain>false</shortCircuitInRain>
</li>
<li Class="ProjectRimFactory.Misc.CompProperties_Glower_ColorPick">
<li Class="CompProperties_Glower">
<glowRadius>12</glowRadius>
<glowColor>(140,200,250,0)</glowColor>
<key>PRF_Cool_White</key>
<moreColors>
<li>
<key>PRF_Warm_White</key>
<color>(252,199,139,0)</color>
</li>
<li>
<key>PRF_Red</key>
<color>(217,80,80,0)</color>
</li>
<li>
<key>PRF_Green</key>
<color>(80,217,80,0)</color>
</li>
<li>
<key>PRF_Blue</key>
<color>(80,80,217,0)</color>
</li>
<li>
<key>PRF_Cyan</key>
<color>(10,245,245,0)</color>
</li>
<li>
<key>PRF_Yellow</key>
<color>(240,240,20,0)</color>
</li>
<li>
<key>PRF_Magenta</key>
<color>(245,10,245,0)</color>
</li>
</moreColors>
<prerequisites>
<li>ColoredLights</li>
</prerequisites>
<colorPickerEnabled>true</colorPickerEnabled>
<darklightToggle>true</darklightToggle>
</li>
</comps>
<researchPrerequisites>
Expand Down

0 comments on commit fdad91d

Please sign in to comment.