Difference between revisions of "Common YOLOL"
Jump to navigation
Jump to search
(I was informed that the tutorial ship has different variable names, this may be confusing for players with no programming experience and this should help clear up confusion. Please remove this edit if the tutorial ship changes.) |
|||
Line 6: | Line 6: | ||
===Non Default Fields=== | ===Non Default Fields=== | ||
''This version of the script assumes either "'''GeneratorUnitRateLimit'''" or "'''FuelChamberRateLimit'''" (preferably the latter) are renamed to "'''limit'''", and at least one battery exists on the network with it's "'''StoredBatteryPower'''" field renamed to "'''bat'''".'' | |||
:limit=100-:bat/100 goto 1 | :limit=100-:bat/100 goto 1 | ||
===Tutorial Laborer=== | ===Tutorial Laborer=== | ||
''The Laborer has renamed field names by default so this version will work for the tutorial ship.'' | |||
:Generator=100-:Battery_1/100 | :Generator=100-:Battery_1/100 | ||
==Single lever forward/backward script (Basic YOLOL Chip)== | ==Single lever forward/backward script (Basic YOLOL Chip)== |
Revision as of 02:15, 20 June 2021
Standard Generator Script (Basic YOLOL Chip)
Default Fields
:FuelChamberUnitRateLimit=100-:StoredBatteryPower/100 goto 1
Non Default Fields
This version of the script assumes either "GeneratorUnitRateLimit" or "FuelChamberRateLimit" (preferably the latter) are renamed to "limit", and at least one battery exists on the network with it's "StoredBatteryPower" field renamed to "bat".
:limit=100-:bat/100 goto 1
Tutorial Laborer
The Laborer has renamed field names by default so this version will work for the tutorial ship.
:Generator=100-:Battery_1/100
Single lever forward/backward script (Basic YOLOL Chip)
Default device fields
:FcuBackward=-:FcuForward goto 1
Note: This script assumes you have a center lever bound to FcuForward
This page is a WIP. Please contribute to it!