/tg/ Station 13 - Modules - TypesDefine Details

code/modules/unit_tests/ensure_subtree_operational_datum.dm

REQUIRED_SUBTREEThe subtree that requires the operational datum.
REQUIRED_OPERATIONAL_DATUMSThe list of typepaths of applicable operational datums that would satisfy the requirement.
/datum/unit_test/ensure_subtree_operational_datumUnit Test that ensure that if we add a specific planning subtree to a basic mob's planning tree, that we also have the operational datum needed for it (component/element). This can be extended to other "mandatory" operational datums for certain subtrees to work.

Define Details

REQUIRED_OPERATIONAL_DATUMS

The list of typepaths of applicable operational datums that would satisfy the requirement.

REQUIRED_SUBTREE

The subtree that requires the operational datum.