Lua Customizable Fuel Tank
Cralant - Custom level - Jan 16, 2014 from Android2 examples of Lua powered fuel tanks. Both have the same code except for the second example which has a extra amount for the digital display logic.
The first example shows the remaining fuel on a grapher. Something I think looks best for a rocket powered vehicle. To refill this tank just press the button.
The second example shows the remaining fuel as a percentage on 2 digital displays. To refill the tank drive up to the petrol station, when the magnetic socket and plug connect the car will refuel. You will need to stop using fuel if you want to refill.
In both examples you can edit the length of time the fuel lasts for, the amount of time the tank takes to refill and the starting fuel tank amount.
Downloads: 402 - Level ID: 2170