/tg/ Station 13 - Modules - TypesProc Details

civilianbounties

Procs

add_bountiesHere is where cargo bounties are added to the player's bank accounts, then adjusted and scaled into a civilian bounty.
generate_bounty_listGenerates a list of bounties for use with the civilian bounty pad, this is virtually identical to the stuff contained within: code/game/machinery/civilian_bounties.dm @param bounty_types the define taken from a job for selection of a random_bounty() proc. @param bounty_rolls the number of bounties to be selected from. @param assistant_failsafe Do we guarentee one assistant bounty per generated list? Used for non-assistant jobs to give an easier alternative to that job's default bounties.
pick_bountyProc that assigned a civilian bounty to an ID card, from the list of potential bounties that that bank account currently has available. Available choices are assigned during add_bounties, and one is locked in here.

Proc Details

add_bounties

Here is where cargo bounties are added to the player's bank accounts, then adjusted and scaled into a civilian bounty.

generate_bounty_list

Generates a list of bounties for use with the civilian bounty pad, this is virtually identical to the stuff contained within: code/game/machinery/civilian_bounties.dm @param bounty_types the define taken from a job for selection of a random_bounty() proc. @param bounty_rolls the number of bounties to be selected from. @param assistant_failsafe Do we guarentee one assistant bounty per generated list? Used for non-assistant jobs to give an easier alternative to that job's default bounties.

pick_bounty

Proc that assigned a civilian bounty to an ID card, from the list of potential bounties that that bank account currently has available. Available choices are assigned during add_bounties, and one is locked in here.

@param choice The index of the bounty in the list of bounties that the player can choose from.