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

bounty

Vars

claimedWhether or not the bounty has been claimed by cargo. Only applies to cargo list bounties.
contributionA list consisting of the accounts who sent several of the items required for a bounty payout. Used for distributing payout with the payment component.
descriptionA description for the bounty.
global_exemptCan this bounty be selected got a new global bounty?
high_priorityWhether or not the bounty is high priority. High priority bounties appear at the top of the list.
nameA name for the bounty. Displayed on the bounty console/Paper sheets.
rewardThe reward for completing the bounty in credits, before being split by cargo/the player.
uniqueIs this bounty considered unique? This is for weird, singleton bounties that we don't want to roll into randomly, and we provide one of these

Procs

applies_toIf an item in question can satisfy the bounty.
can_claimCan this bounty be claimed right now?
can_getIf the user can actually get this bounty as a selection.
contribution_amountWhen calculating the contribution breakdown of an object shipped, how much does that object increase that account's cut?
get_bounty_rewardReturns the adjusted reward for this bounty, taking into account any global modifiers.
get_maxProc that returns the current maximum quantity of this bounty.
get_totalProc that returns the current quantity of this bounty.
on_claimedCalled when this bounty is successfully claimed by the passed ID card
on_resetCalled when this bounty is reset from the passed ID card, either from successful claim or from being replaced by another bounty
on_selectedCalled when this bounty is selected by the passed ID card
print_requiredFormats the text for what is required to complete the bounty, for display purposes.
shipCalled when an object is sent on the bounty pad.

Var Details

claimed

Whether or not the bounty has been claimed by cargo. Only applies to cargo list bounties.

contribution

A list consisting of the accounts who sent several of the items required for a bounty payout. Used for distributing payout with the payment component.

description

A description for the bounty.

global_exempt

Can this bounty be selected got a new global bounty?

high_priority

Whether or not the bounty is high priority. High priority bounties appear at the top of the list.

name

A name for the bounty. Displayed on the bounty console/Paper sheets.

reward

The reward for completing the bounty in credits, before being split by cargo/the player.

unique

Is this bounty considered unique? This is for weird, singleton bounties that we don't want to roll into randomly, and we provide one of these

Proc Details

applies_to

If an item in question can satisfy the bounty.

can_claim

Can this bounty be claimed right now?

can_get

If the user can actually get this bounty as a selection.

contribution_amount

When calculating the contribution breakdown of an object shipped, how much does that object increase that account's cut?

get_bounty_reward

Returns the adjusted reward for this bounty, taking into account any global modifiers.

get_max

Proc that returns the current maximum quantity of this bounty.

get_total

Proc that returns the current quantity of this bounty.

on_claimed

Called when this bounty is successfully claimed by the passed ID card

on_reset

Called when this bounty is reset from the passed ID card, either from successful claim or from being replaced by another bounty

on_selected

Called when this bounty is selected by the passed ID card

print_required

Formats the text for what is required to complete the bounty, for display purposes.

ship

Called when an object is sent on the bounty pad.