Starbase – Automatic generator output with basic YOLOL

Starbase – Automatic generator output with basic YOLOL 1 - steamlists.com
Starbase – Automatic generator output with basic YOLOL 1 - steamlists.com

A super simple way to modify your ship for automated energy/fuel management with YOLOL code in Starbase.
 
 

Introduction

You can easily modify your ship to save tons of energy and avoid replacing fuel rods every so often.
 
 
With a basic script coded in YOLOL, Starbase’s programming language, your ship generator will turn off and on automatically depending on battery charge and regulate how much output is currently necessary.
 
 
It’s a simple solution to avoid having to turn the generator on and off manually every time the ship stops moving.
 
 
 

What you need

  • A ship equipped with a generator and battery.
  • A YOLOL Chip Socket
  • A Basic YOLOL Chip
  • Cable and bolt tools.

You can get these from the auction house or craft them yourself at a crafting bench.
 
 
Starbase - Automatic generator output with basic YOLOL - What you need - BA27C8D
 
 
Starbase - Automatic generator output with basic YOLOL - What you need - 3B981E2
 
 
 

Install the YOLOL Chip

Simply bolt the YOLOL Chip Socket to a beam on your ship using the bolt tool.
 
 
Then, put the Basic YOLOL Chip inside the Socket.
 
 
Finally, link the Socket to the generator network using the cable tool.
 
 
Starbase - Automatic generator output with basic YOLOL - Install the YOLOL Chip - DC6FBF7
 
 
 

Program the YOLOL Chip

To edit the YOLOL script inside the chip, press the center lock and slide it down.
 
 
Put the following line of code inside on the first line.
 
 
:FuelChamberUnitRateLimit=100-:StoredBatteryPower/100 goto 1
 
 
Starbase - Automatic generator output with basic YOLOL - Program the YOLOL Chip - E4FC0EA
 
 
 

Debugging

You can always rename the device fields FuelChamberUnitRateLimit as GeneratorOutput and StoredBatteryPower as BatteryCharge for example if you want to.
 
 
In fact, they should have similar names in the YOLOL script and the battery and the generator fuel chamber installed on your ship.
 
 
To rename device fields, use the universal tool. Press u pointing at the device, then go to the data tab to edit.
 
 
Starbase - Automatic generator output with basic YOLOL - Debugging - C1366AE
 
 

Written by Nukyo

 
 
This is all about Starbase – Automatic generator output with basic YOLOL; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, also you can check the original article here, and thanks! See you soon!
 
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*