/tg/ Station 13 - Modules - Types — Proc Details

liquid_blood_color

Liquids must keep their blood type's colour, blend it by blood volume whichever order it's poured in, and carry it through flow.

Procs

check_colorFails the test unless two colours match on every RGB channel within a tolerance.
clear_roomDeletes every liquid and liquid group in the test room. The room's own cleanup qdels without force, which liquids ignore.
expected_mixReturns two colours mixed by volume, worked out apart from the code under test.

Proc Details

check_color

Fails the test unless two colours match on every RGB channel within a tolerance.

Returns:

clear_room

Deletes every liquid and liquid group in the test room. The room's own cleanup qdels without force, which liquids ignore.

expected_mix

Returns two colours mixed by volume, worked out apart from the code under test.