/tg/ Station 13 - Modules - TypesVar Details - Proc Details

Explosive compressor machines

The explosive compressor machine used in anomaly core production.

Uses the standard toxins/tank explosion scaling to compress raw anomaly cores into completed ones. The required explosion radius increases as more cores of that type are created.

Vars

inserted_bombThe TTV inserted in the machine.
inserted_coreThe raw core inserted in the machine.
last_requirements_sayThe last time we did say_requirements(), because someone will inevitably click spam this.
test_statusThe message produced by the explosive compressor at the end of the compression test.
testingWhether we are currently testing a bomb and core.
timeout_timerThe timer that lets us timeout the test.

Procs

check_testChecks whether an internal explosion was sufficient to compress the core.
end_testEnds a compression test.
get_required_radiusDetermines how much explosive power (last value, so light impact theoretical radius) is required to make a certain anomaly type.
say_requirementsSays (no, literally) the data of required explosive power for a certain anomaly type.
start_testStarts a compression test.
timeout_testHandles timing out the test after a while.

Var Details

inserted_bomb

The TTV inserted in the machine.

inserted_core

The raw core inserted in the machine.

last_requirements_say

The last time we did say_requirements(), because someone will inevitably click spam this.

test_status

The message produced by the explosive compressor at the end of the compression test.

testing

Whether we are currently testing a bomb and core.

timeout_timer

The timer that lets us timeout the test.

Proc Details

check_test

Checks whether an internal explosion was sufficient to compress the core.

end_test

Ends a compression test.

Arguments:

get_required_radius

Determines how much explosive power (last value, so light impact theoretical radius) is required to make a certain anomaly type.

Returns null if the max amount has already been reached.

Arguments:

say_requirements

Says (no, literally) the data of required explosive power for a certain anomaly type.

start_test

Starts a compression test.

timeout_test

Handles timing out the test after a while.