SS1984 - Modules - TypesVar Details - Proc Details

bingles

Vars

bingle_holesList of all bingle holes ingame. Added and removed privately.
gamma_timeridTimerid of gamma code up
goal_size_achievedHave we gotten a hole with max size reached?
made_announcementHave we made an announcement about bingles if pit got too large?
main_objectiveMain bingle objective. Given to all bingles.
sent_nuclear_codesHave we sent nuclear codes if the pit got even larger
win_grow_timeridsAssoc list (hole UID -> timerid) of all loop timer ids of holes growing
win_timeridTimerid of roundend countdown

Procs

bingle_winProc called to end the round (and win)
get_largest_bingle_pitProc used to get the largest bingle pit we have
gib_related_binglesProc used to gib all bingles connected to a hole given as an argument
handle_roundend_destroyProc used to stop the roundend timer if there are no more max size holes present
make_announcementProc to announce to the station about bingles and raise code to gamma
on_hole_destroySignal proc called on hole destroy
on_hole_evolveSignal proc that sends evolve signal to all bingles related to the hole
on_hole_growSignal proc called on hole grow
on_hole_initSignal proc called on hole initialization
send_nuclear_codesProc to send nuclear codes to the station
start_bingle_winProc to start bingle win.
start_growing_holeProc to grow a hole in a loop with a cooldown while win timer is active
try_remove_gammaProc used to lower gamma code if it was caused by any bingle holes

Var Details

bingle_holes

List of all bingle holes ingame. Added and removed privately.

gamma_timerid

Timerid of gamma code up

goal_size_achieved

Have we gotten a hole with max size reached?

made_announcement

Have we made an announcement about bingles if pit got too large?

main_objective

Main bingle objective. Given to all bingles.

sent_nuclear_codes

Have we sent nuclear codes if the pit got even larger

win_grow_timerids

Assoc list (hole UID -> timerid) of all loop timer ids of holes growing

win_timerid

Timerid of roundend countdown

Proc Details

bingle_win

Proc called to end the round (and win)

Makes all holes indestructible and calls the cinematic.

get_largest_bingle_pit

Proc used to get the largest bingle pit we have

Proc used to gib all bingles connected to a hole given as an argument

handle_roundend_destroy

Proc used to stop the roundend timer if there are no more max size holes present

make_announcement

Proc to announce to the station about bingles and raise code to gamma

on_hole_destroy

Signal proc called on hole destroy

Kills all bingles related to that hole (except for bingle lords), Unregisters some signals

on_hole_evolve

Signal proc that sends evolve signal to all bingles related to the hole

on_hole_grow

Signal proc called on hole grow

Does following things: Announce to the station and set gamma code if requirements are met; Send nuclear codes if requirements are met; End the round if requirements are met.

on_hole_init

Signal proc called on hole initialization

send_nuclear_codes

Proc to send nuclear codes to the station

start_bingle_win

Proc to start bingle win.

Starts a timer, after which lays the cinematic, sends an announce and ends the game.

start_growing_hole

Proc to grow a hole in a loop with a cooldown while win timer is active

try_remove_gamma

Proc used to lower gamma code if it was caused by any bingle holes