Hi, all! I'm starting this thread because I wanted to share a script I created in EDDI. Several people were posting scripts in the original EDDI thread which is now approaching 1000 posts. I figured it would be easier for the creative souls to share their scripts (and EDDI enabled VA profiles) here in one dedicated thread. Mods, if this is the wrong place to post this, let me know where to move it to! OK, Commanders, put on your coding caps and start those EDDI scripts flowing!
I created this script for the Jumped event. Its a simple script that reports fuel used, current fuel level, and reminds me to refuel if my tank is getting low:
Hope it is useful for others. See you in the black, Commanders!
I created this script for the Jumped event. Its a simple script that reports fuel used, current fuel level, and reminds me to refuel if my tank is getting low:
Code:
{set fuellevel to (event.fuelremaining/ship.fueltanktotalcapacity) * 100}
This jump used {Humanise(event.fuelused)} tons of fuel. You have {Humanise(fuellevel)} percent fuel remaining.
{if fuellevel <= 5:
Your fuel level is under 5%. If you do not refuel soon you risk being stranded.
|elif fuellevel <= 25:
You have a quarter tank of fuel remaining. Refuel soon.
|elif fuellevel <= 50:
Your tank is half empty. It is recommended you refuel soon.
}
Hope it is useful for others. See you in the black, Commanders!