Power-Saving DeepMiner Control

⭐ — (0 endorsements) 📥 43 downloads 📅 7/20/2024
⚪ Last updated 2024

By 76561198115327996 · IC Code

⬇ Download Mod Source: Steam Workshop ↗ 📅 Updated: 7/20/2024 📅 Created: 7/20/2024

🔍 Analysis

  • 🏆 #923 of 1087 IC Code mods in this game by downloads

📋 About This Mod

This script provides power-conscious control of deep miners and up to six accompanying electric centrifuges.​ Designed to take full advantage of the abundant wind power on Europa, this script will work efficiently even with very unreliable power generation because of the four power states it switches between: using full power, just mining, just processing, and power recovery. alias spinner0 d0 #all centrifuges are optional. Of course, you won't process any ore alias spinner1 d1 #with 0 centrifuges, but the script won't produce an error. alias spinner2 d2 alias spinner3 d3 alias spinner4 d4 alias spinner5 d5 define minerId HASH("StructureDeepMiner") #On Europa at least, 1 wind turbine for 1 large define batteryID HASH("StructureBatteryLarge") #battery can run 1 deep miner with 2 #regular centrifuges for ~90% of the time between storms. For when its low on power, #it has power handling logic to ensure its always running a machine long enough #for it to do produce something, and not just flicker on and off uselessly. The ratio #definitions below determine when the power state changes: define useFullPower 0. 30 define endFullPower 0. 15 define useOnlyLogic 0. 01 alias charge r15 alias usingFullPower r14 alias cIndex r13 alias spinnersAreOn r12 move usingFullPower 1 #assume full power to start DeterminePowerState: lb charge batteryID Ratio Average sgt r0 charge endFullPower and r0 r0 usingFullPower beqz r0 UseLessPower #if power hits lower bound then use less power sb minerId On 1 #else, UseFullPower: move spinnersAreOn 1 j HandleCentrifuges UseLessPower: sgt usingFullPower charge useFullPower #allow UseFullPower for next tick if recharged bgt charge useOnlyLogic PickMiningOrSpinning #use less power while not sb minerId On 0 #critically low. otherwise, UseOnlyLogic: move spinnersAreOn 0 j HandleCentrifuges PickMiningOrSpinning: jal CheckSpinnersForOre beqz r0 PickMining #PickMining if no spinners have ore to process sb minerId On 0 #else, PickSpinning: move spinnersAreOn 1

📊 Mod Details

Game
Stationeers Mods
Author
76561198115327996
Version
N/A
Downloads
43
Endorsements
0
Category
IC Code
Created
7/20/2024
Updated
7/20/2024

🔧 How to Install Stationeers Mods

Subscribe on Steam Workshop. Mods auto-download and install. Launch the game to activate.

📖 Full step-by-step install guide for Stationeers →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Stationeers commands, item IDs, and more.

Keep browsing — more Stationeers mods await

📋 All Stationeers Mods 🏆 Top 25 📂 More IC Code 👤 More by 76561198115327996 🔎 Similar Mods 🌐 Best IC Code (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods