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

syndicate_contract

Vars

contractThe related Objective datum for the contract, holding the target and such.
idThe 'id' of this particular contract. Used to keep track of statuses from TGUI.
payout_typeThe level of payout, which affects the TC we get paid on completion.
ransomHow much we will pay out upon completion. This is not the TC completion, it's typically credits.
statusThe current status of the contract. Starts off by default.
target_rankThe job position of the target.
victim_belongingsList of everything found on the victim at the time of contracting, used to return their stuff afterwards.
victim_timeridtimerid for stuff that handles victim chat messages, effects and returnal
wanted_messageFlavortext wanted message for the person we're after.

Procs

handle_victim_experiencehandle_victim_experience
on_victim_shippedCalled if the victim is being returned to the station early, when from the black market.
return_victimWe're returning the victim to the station
returnal_side_effectsThe annoying negative effects applied to the victim when returned to the station.

Var Details

contract

The related Objective datum for the contract, holding the target and such.

id

The 'id' of this particular contract. Used to keep track of statuses from TGUI.

payout_type

The level of payout, which affects the TC we get paid on completion.

ransom

How much we will pay out upon completion. This is not the TC completion, it's typically credits.

status

The current status of the contract. Starts off by default.

target_rank

The job position of the target.

victim_belongings

List of everything found on the victim at the time of contracting, used to return their stuff afterwards.

victim_timerid

timerid for stuff that handles victim chat messages, effects and returnal

wanted_message

Flavortext wanted message for the person we're after.

Proc Details

handle_victim_experience

handle_victim_experience

Handles the effects given to victims upon being contracted. We heal them up and cause them immersive effects, just for fun. Args: victim - The person we're harassing level - The current stage of harassement they are facing. This increases by itself, looping until finished.

on_victim_shipped

Called if the victim is being returned to the station early, when from the black market.

return_victim

We're returning the victim to the station

returnal_side_effects

The annoying negative effects applied to the victim when returned to the station.