<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] ===== SetShipEnergy ===== ^Arguments^Result^Notation^ | Ship Energy | | [ int float - ] | === Description === Set the internal energy reserve of a ship. This will later be clipped to the maximum energy allowed by the number of tanks present if required. Minimum of 0. === Examples === #Destroy energy reserves of any ship which allows to bridge to come too close. CurrentCoords 10 0 GetAllShipsInRange ->Ships <-Ships GetListCount 0 do <-Ships[I] ->SID <-SID 0 SetShipEnergy loop