syndicate_contract ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 1](git.png)
Vars | |
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. |
Procs | |
handle_victim_experience | handle_victim_experience |
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. |
Var Details
contract ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 7](git.png)
The related Objective datum for the contract, holding the target and such.
id ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 3](git.png)
The 'id' of this particular contract. Used to keep track of statuses from TGUI.
payout_type ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 13](git.png)
The level of payout, which affects the TC we get paid on completion.
ransom ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 11](git.png)
How much we will pay out upon completion. This is not the TC completion, it's typically credits.
status ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 5](git.png)
The current status of the contract. Starts off by default.
target_rank ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 9](git.png)
The job position of the target.
victim_belongings ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 17](git.png)
List of everything found on the victim at the time of contracting, used to return their stuff afterwards.
victim_timerid ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 21](git.png)
timerid for stuff that handles victim chat messages, effects and returnal
wanted_message ![code/modules/antagonists/traitor/contractor/syndicate_contract.dm 15](git.png)
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.