SS1984 - Modules - TypesVar Details - Proc Details

bingle_hole

Vars

aura_healingWe store the component in order to increase it's range later
bingle_teamAntag team datum used for sending signals to
bingles_evolvedHave we evolved our current bingles or not
bomb_cooldownCooldown for taking bomb damage - basically a cheat solution to handle it taking damage for each tile from one bomb.
current_pit_sizeCurrent pit size (1x1, 2x2, etc.)
grow_pit_valueHow many items are required right now to grow the pit by a size of 1
inside_pit_turfsList of all bingle turfs used in pit reservation
item_value_consumedValues of all consumed items combined
last_bingle_spawn_valueUsed to compare current and last item values for bingle spawning in processing
last_grow_item_valueLast item_value_consumed value of pit grow
loc_connectionsConnect loc element
pit_overlaysList of all used pit overlays
pit_reservationThe bingle pit turf reservation. Used for getting things in and out

Procs

check_spaceturf_sizeProc to check for big spaceturf spaces around a spaceturf
finish_swallow_mobTransfers the swallowed mob into the hole, if the reservation is loaded.
finish_swallow_objTransfers the swallowed object into the hole, if the reservation exists.
grow_pitGrows a pit to a certain size. Can't grow to a smaller size.
grow_pit_by_set_amountProc to force grow a hole by a set amount.
swallowProc called when someone falls into the hole.
swallow_mobMob and objects falling into the hole procs are separated. This one is for mobs.
swallow_objMob and objects falling into the hole procs are separated. This one is for objects.

Var Details

aura_healing

We store the component in order to increase it's range later

bingle_team

Antag team datum used for sending signals to

bingles_evolved

Have we evolved our current bingles or not

bomb_cooldown

Cooldown for taking bomb damage - basically a cheat solution to handle it taking damage for each tile from one bomb.

current_pit_size

Current pit size (1x1, 2x2, etc.)

grow_pit_value

How many items are required right now to grow the pit by a size of 1

inside_pit_turfs

List of all bingle turfs used in pit reservation

item_value_consumed

Values of all consumed items combined

last_bingle_spawn_value

Used to compare current and last item values for bingle spawning in processing

last_grow_item_value

Last item_value_consumed value of pit grow

loc_connections

Connect loc element

pit_overlays

List of all used pit overlays

pit_reservation

The bingle pit turf reservation. Used for getting things in and out

Proc Details

check_spaceturf_size

Proc to check for big spaceturf spaces around a spaceturf

Looks for any spaceturf neighbours, and if there are more than 4, returns FALSE.

Why 4? Counting for all cardinal directions. Works pretty much fine

finish_swallow_mob

Transfers the swallowed mob into the hole, if the reservation is loaded.

finish_swallow_obj

Transfers the swallowed object into the hole, if the reservation exists.

grow_pit

Grows a pit to a certain size. Can't grow to a smaller size.

grow_pit_by_set_amount

Proc to force grow a hole by a set amount.

swallow

Proc called when someone falls into the hole.

Currently checks for abstract objects, blacklist objects, and thrown objects.

Handling is separated into two procs, swallow_mob and swallow_obj.

swallow_mob

Mob and objects falling into the hole procs are separated. This one is for mobs.

swallow_obj

Mob and objects falling into the hole procs are separated. This one is for objects.