/tg/ Station 13 - Modules - TypesVar Details - Proc Details

surplus

Vars

crate_tc_valueValue of items inside the crate in TC
crate_typecrate that will be used for the surplus crate

Procs

fill_cratefills the crate that will be given to the traitor, edit this to change the crate and how the item is filled
generate_possible_itemsgenerates items that can go inside crates, edit this proc to change what items could go inside your specialized crate
pick_possible_itempicks items from the list given to proc and generates a valid uplink item that is less or equal to the amount of TC it can spend
purchaseoverwrites purchase for surplus items to instead spawn this crate and run the previous procs

Var Details

crate_tc_value

Value of items inside the crate in TC

crate_type

crate that will be used for the surplus crate

Proc Details

fill_crate

fills the crate that will be given to the traitor, edit this to change the crate and how the item is filled

generate_possible_items

generates items that can go inside crates, edit this proc to change what items could go inside your specialized crate

pick_possible_item

picks items from the list given to proc and generates a valid uplink item that is less or equal to the amount of TC it can spend

purchase

overwrites purchase for surplus items to instead spawn this crate and run the previous procs