SlashCo.CurRound
Description
A table holding all state for the currently running (or upcoming) round, reset by SlashCo.ResetCurRoundData at the start of every round.
For backwards compatibility, reading/writing the field SlashCo.CurRound.Helicopter actually redirects to the entity index of SlashCo.Helicopter, and the old Offering field names SO/DO/SatO are redirected to Singularity/Duality/Satiation on SlashCo.CurRound.OfferingData.
Parameters
Safety flag used while selecting spawn points, to avoid infinite loops when no valid spawn can be found.
Default: false
Data about the currently selected Offering, with the fields CurrentOffering (the Offering ID), OfferingName, OFFERING.GasCanMod, Singularity, Duality and Satiation (Offering-specific modifiers) and ItemMod (extra/fewer items to spawn).
Tracks who is playing, with the fields AllSurvivors and AllSlashers (all players loaded for the round, dead or alive) and GameReadyToBegin.
How much fuel/batteries have been put into the generators, from 0 to 10. -1 means the round hasn't started tracking progress yet.
Default: -1
Round-wide Survivor data, currently only GasCanMod (decremented when a Survivor picks a gas can as their starting item).
SteamID64-keyed table of the round's Slasher assignments, each entry having SlasherID and SLASHER.GasCanMod - see SlashCo.SelectSlasher.
Default: {}
Where the helicopter spawns for the round's escape sequence.
Default: vector_origin
The helicopter's spawn position before any adjustments.
Default: vector_origin
Where the helicopter is currently flying towards.
Default: vector_origin
Whether the distress beacon has already been used this round.
Default: false
Entity index of the current round's helicopter, or 0 if none exists. This is a virtual field backed by SlashCo.Helicopter.