Difference between revisions of "Common YOLOL"
Jump to navigation
Jump to search
m (Added chip "levels" to the two existing scripts) |
(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 8: | Line 8: | ||
:limit=100-:bat/100 goto 1 | :limit=100-:bat/100 goto 1 | ||
===Tutorial Laborer=== | |||
:Generator=100-:Battery_1/100 | |||
''The Laborer has renamed field names by default so this version will work for the tutorial ship'' | |||
''Note: It is recommended that you change the fuel chamber, not the generator unit, so the generator doesn't need to slowly spool up.'' | ''Note: It is recommended that you change the fuel chamber, not the generator unit, so the generator doesn't need to slowly spool up.'' |
Revision as of 23:12, 19 June 2021
Standard Generator Script (Basic YOLOL Chip)
Default Fields
:FuelChamberUnitRateLimit=100-:StoredBatteryPower/100 goto 1
Non Default Fields
:limit=100-:bat/100 goto 1
Tutorial Laborer
:Generator=100-:Battery_1/100
The Laborer has renamed field names by default so this version will work for the tutorial ship
Note: It is recommended that you change the fuel chamber, not the generator unit, so the generator doesn't need to slowly spool up.
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!