SlashCo Wiki

SlashCo.GetGasCansToSpawn

 number SlashCo.GetGasCansToSpawn( )

Description

Returns the value set by SlashCo.SetGasCansToSpawn.
A negative value (the default) means no override is set, and SlashCo.SpawnGasCans instead calculates the amount automatically from SlashCo.GetGeneratorsToSpawn and SlashCo.GetGasCansPerGenerator.

Returns

1number amount = -1

The overridden number of gas cans to spawn, or a negative number if unset