Skip to content

Instantly share code, notes, and snippets.

@chewtoys
Last active August 24, 2021 14:53
Show Gist options
  • Save chewtoys/609dd7f57a2f4b450ae8ede4e6730788 to your computer and use it in GitHub Desktop.
Save chewtoys/609dd7f57a2f4b450ae8ede4e6730788 to your computer and use it in GitHub Desktop.
a=500 b=20 :FCL=:Gen_On+a-:Bat/b :FcuGM=(:Bat>2000)*100 goto 1+:MM
:FCL=100 goto 3-:MM
:FCL=100
d=600
:FcuGM=(:Bat>2000)*100 d-- if d>0 then goto 5 end goto 1+:MM
// :Gen_On - Button State Value On 55 - Off 0
// Battery / Only 1 Battery to :Bat all rest of batterys default
// Fuel Chamber / FuelChamberUnitRateLimit = FCL
// Fuel Chamber / FuelChamberFuel = R1 to R10 depends how many you have
// Flight COntrol Advanced / FcuGeneralMultiplier = FcuGM
// MM = Yolo Memory Chip Field MM
//This is 2nd Yolo chip to display Fuel
FuelTop=:r1+:r2+:r3+:r4+:r5+:r6+:r7+:r8
FuelBottom=:r9+:r10+:r11+:r12+:r13+:r14+:r15+:r16
:FuelRod=(FuelTop+FuelBottom) goto 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment