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
Vars | |
expected_types | A list of all typepaths that we expect to be in the required items list |
---|---|
Procs | |
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
expected_types
A list of all typepaths that we expect to be in the required items list
Proc Details
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