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

civilian

Computer for assigning new civilian bounties, and sending bounties for collection.

Vars

inserted_scan_idTypecast of an inserted, scanned ID card inside the console, as bounties are held within the ID card.

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. @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.
id_ejectRemoves A stored ID card.
id_insertSelf explanitory, holds the ID card in the console for bounty payout and manipulation.
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.
sendThis fully rewrites base behavior in order to only check for bounty objects, and no other types of objects like pirate-pads do.

Var Details

inserted_scan_id

Typecast of an inserted, scanned ID card inside the console, as bounties are held within the ID card.

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. @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.

id_eject

Removes A stored ID card.

id_insert

Self explanitory, holds the ID card in the console for bounty payout and manipulation.

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.

send

This fully rewrites base behavior in order to only check for bounty objects, and no other types of objects like pirate-pads do.