Data:Instruction:Get Battery: Difference between revisions

From Desynced Wiki
No edit summary
m (Pywikibot 10.3.1)
 
Line 8: Line 8:
|category = Math
|category = Math
|icon = Check Battery.png
|icon = Check Battery.png
|explaination = Returns the unit and current battery level percentage as a number in the <hl>Result</> parameter.
When multiple batteries are equipped, all batteries will be calculated.
A unit that has no batteries equipped will always return zero, even while inside a power grid that has <bl>Unused</> power.
|argsType1 = Output
|argsType1 = Output
|argsName1 = Result
|argsName1 = Result
Line 52: Line 57:
|argsDescription11 =  
|argsDescription11 =  
|argsDataType11 =  
|argsDataType11 =  
|explaination = Returns the unit and current battery level percentage as a number in the <hl>Result</> parameter.
When multiple batteries are equipped, all batteries will be calculated.
A unit that has no batteries equipped will always return zero, even while inside a power grid that has <bl>Unused</> power.
}}{{DataTableIndex
}}{{DataTableIndex
|storedTable=instruction
|storedTable=instruction
|name=Get Battery
|name=Get Battery
}}</noinclude>
}}</noinclude>

Latest revision as of 07:09, 12 August 2025

Redirect to: