Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/special_order

Vars

namename of the order - used for manually calling event
order_itemslist of items needed to fill order - not used when check_order is overridden
pricecredit value for filling the order
requisitionpiece of paper (subtypes) with order info etc
rewardsbonus rewards shipped when order is filled
sendingCratespecify a crate to be sent - pack_crate proc generally to fill it
weightweighting for event pick

Procs

check_ordercheck if order is filled by a given crate
get_rewards_listformats src.rewards for being put on paper
get_shopping_listformats src.order_items for being put onto paper
pack_crateproc stub. Override this with code for filling sendingCrate during event setup
send_rewardsif we have item rewards to send upon order fulfillment, shove them in a crate and ship it off to cargo
update_requisitionupdates requisition paper with shopping list, and appends the price reward for the order

Var Details

name

name of the order - used for manually calling event

order_items

list of items needed to fill order - not used when check_order is overridden

price

credit value for filling the order

requisition

piece of paper (subtypes) with order info etc

rewards

bonus rewards shipped when order is filled

sendingCrate

specify a crate to be sent - pack_crate proc generally to fill it

weight

weighting for event pick

Proc Details

check_order

check if order is filled by a given crate

get_rewards_list

formats src.rewards for being put on paper

get_shopping_list

formats src.order_items for being put onto paper

pack_crate

proc stub. Override this with code for filling sendingCrate during event setup

send_rewards

if we have item rewards to send upon order fulfillment, shove them in a crate and ship it off to cargo

update_requisition

updates requisition paper with shopping list, and appends the price reward for the order