Script Options
The script contains the following configurable variables/functions to adapt the script to your ship configuration or needs:
EXCLUSION_TAG
Type: string
Current Default Value:
"NonDriveGravGen"
Gravity generators with this in their name will be ignored for the jump gate control.
FIND_DIRECTION_AUTOMATICALLY
Type: bool
Current Default Value:
false
Whether to automatically determine the direction of the gate by counting grav gens. If false, assumes directionality inline with the programmable block running this script.
RECHARGE_THRESHOLD
Type: float
Current Default Value:
0.8F
If the battery fill fraction drops below this, recharging mode will be enabled.
WAVE_SPEED
Type: float
Current Default Value:
1F
How fast the light wave should move down the gate.
Source Code
The source code for Jump Gate Control can be found here:
GitHub