maptest_required_map_items 
Tests that all expected items are mapped in roundstart.
How to add an item to this test:
- Add the typepath(s) to setup_expected_types
- In the type's initialize, REGISTER_REQUIRED_MAP_ITEM() a minimum and maximum
How to ban an item from being mapped in:
- Add the typepath(s) to setup_banned_types
- In the type's initialize, REGISTER_REQUIRED_MAP_ITEM(0, 0)
Vars | |
| 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 |
Procs | |
| 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 |
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