Goonstation 13 - Modules - TypesVar Details - Proc Details

something

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.

Rewards are only physically created once the contract is successfully fulfilled, so time-sensitive rewards should be feasible if desired.

Vars

countHow many of the reward you'll get; optional, used for more flexibility in front end descriptions
nameWhat the reward is, as shown in front-end if showing item rewards is not disabled

Procs

build_rewardThis should return an item or list of items (NOT A PATH) for the requisition handler to physically pack.

Var Details

count

How many of the reward you'll get; optional, used for more flexibility in front end descriptions

name

What the reward is, as shown in front-end if showing item rewards is not disabled

Proc Details

build_reward

This should return an item or list of items (NOT A PATH) for the requisition handler to physically pack.