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

maptest_required_map_items

Tests that all expected items are mapped in roundstart.

How to add an item to this test:

How to ban an item from being mapped in:

Vars

banned_typesA list of all typepaths that should never be mapped in
expected_typesA list of all typepaths that we expect to be in the required items list

Procs

setup_banned_typesTypes that must never be mapped in. Anything listed here is expected to be spawned by code instead.
setup_expected_typesUsed to fill the expected types list with all the types we look for on the map. This list will just be full of typepaths that we expect. More detailed information about each item (mainly, how much of each should exist) is set on a per item basis

Var Details

banned_types

A list of all typepaths that should never be mapped in

expected_types

A list of all typepaths that we expect to be in the required items list

Proc Details

setup_banned_types

Types that must never be mapped in. Anything listed here is expected to be spawned by code instead.

setup_expected_types

Used to fill the expected types list with all the types we look for on the map. This list will just be full of typepaths that we expect. More detailed information about each item (mainly, how much of each should exist) is set on a per item basis