Actually it is already in
In the v0.9.5. It was very easy to do, so we implemented it with the last patch.
In the v0.9.5. It was very easy to do, so we implemented it with the last patch.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
OnStart:
if (ship has enough energy)
{
decrease energy as needed
set duration/cooldown time as normal
set mining status (create a new variable) as "1" - meaning everything is okay
} else {
set duration as 1 frame (instant)
set mining status as "0", meaning fail
}
OnFinished:
if (mining status is "1")
{
//then everything is okay
add resources as normal
} else {
notify user that mining failed because there is not enough energy
}
if (has enough energy) {
remove energy
start mining
}
Page created in 0.065 seconds with 12 queries.