/proc/rc_buildentry | Small helper proc to simplify basic contract entry creation.
Accepts the path to the entry datum, and the count (in whatever unit it uses) to require. |
---|
/datum/rc_entry | Requisition contract entry: analyzes things passed to it, returns whether they were needed, and is checked for completion at end of analyses. |
---|
/datum/rc_entry/food | Food item entry, used to properly detect food integrity. |
---|
/datum/rc_entry/stack | Stackable item entry. Remarkably, used for items that can be stacked. |
---|
/_is_abstract/datum/rc_entry/reagent | Reagent entry. Searches for reagents in sent objects, consuming any suitable reagent containers until the quantity is satisfied. |
---|
/_is_abstract/datum/rc_entry/plant | Plant genetics entry. Searches for items of the correct crop name, typically matching a particular genetic makeup. |
---|
/_is_abstract/datum/rc_entry/artifact | Artifact entry. Evaluates provided handheld artifacts based on their artifact parameters. |
---|
/datum/rc_itemreward | Item reward datum optionally used in contract creation.
Should generally return an object, or set of objects that makes sense as a list entry (i.e. "fast food meal" for a burger, fries and soda).
To use: in a contract's New(), instantiate one of these and add it to src.item_rewarders. |
---|
/datum/req_contract | The primary datum for requisitions contracts.
Top level contains cargo handling data, payout data, item reward generators if present, and formatted descriptions for the QM requisitions menu. |
---|