lib\utility.lua

(?) GetRelationChangeFromMoney ( money )

(?) anynils ( ... )

(?) createReadableTimeString ( seconds )

(?) directionalDistance ( d, coords )

(?) execute ( code, ... )

(?) findMaximum ( array, eval )

(?) findMinimum ( array, eval )

(?) getDistribution ( numElements, variation )

(?) getRandomEntry ( tbl )

(?) getReadableNumber ( value )

(?) getReadableValue ( value )

(?) getValueFromDistribution ( distribution )

(?) lerp ( factor, lowerBound, upperBound, lowerValue, upperValue, allowOverstepping )

(?) makeReadOnlyTable ( table )

(?) nonils ( ... )

(?) pairsByKeys ( t, f )

(?) printEntityDebugInfo ( entity )

(?) printTable ( tbl, prefix )

(?) renderPrices ( pos, caption, money, resources )

(?) round ( num, idp )

(?) string:split ( sep )

(?) table.first ( tbl )

(?) tablelength ( T )

(?) toReadableValue ( value, unit )

(?) toRomanLiterals ( number )