Advertisement
Sigma88Mods

Untitled

Jun 24th, 2019
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. // This will allow all ModuleDeployableSolarPanel
  2. // to have proper support for multiple lightsources
  3. //
  4. // If you do not want this feature to be applied to your ModuleDeployableSolarPanel
  5. // add "useKopernicusSolarPanels = false" to the MODULE node
  6. //
  7. // That will stop Kopernicus from replacing it
  8.  
  9.  
  10. @PART:HAS[@MODULE[ModuleDeployableSolarPanel]]:FINAL
  11. {
  12. @MODULE[ModuleDeployableSolarPanel]:HAS[#useKopernicusSolarPanels[*]]
  13. {
  14. @useKopernicusSolarPanels,* ^= :F:f:
  15. @useKopernicusSolarPanels,* ^= :A:a:
  16. @useKopernicusSolarPanels,* ^= :L:l:
  17. @useKopernicusSolarPanels,* ^= :S:s:
  18. @useKopernicusSolarPanels,* ^= :E:e:
  19. }
  20. }
  21.  
  22. @PART:HAS[@MODULE[ModuleDeployableSolarPanel]:HAS[~useKopernicusSolarPanels[false]]]:FINAL
  23. {
  24. MODULE
  25. {
  26. name = KopernicusSolarPanel
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement