Space Station 13 - Modules - TypesVar Details - Proc Details

changeling

Vars

activeIf this power is active or not. Used for toggleable abilities.
bypass_fake_deathIf this power can be used while the changeling has the TRAIT_FAKE_DEATH trait.
chemical_costChemical cost to use this power.
clingA reference to the changeling's changeling antag datum.
dna_costThe cost of purchasing the power.
genetic_damageGenetic damage caused by using the sting. Nothing to do with cloneloss.
helptextA description of what the power does.
max_genetic_damageHard counter for spamming abilities.
power_typeDetermines whether the power is always given to the changeling or if it must be purchased.
req_dnaThe amount of victims the changeling needs to absorb before they can use this power. Changelings always start with a value of 1.
req_humanIf you need to be in human form to activate this power.
req_statWhat stat value the changeling needs to have to use this power. Will be CONSCIOUS, UNCONSCIOUS or DEAD.

Procs

can_stingFairly important to remember to return TRUE on success >.<
on_purchaseChangeling code relies on on_purchase to grant powers. The same goes for Remove(). if you override Remove(), call parent or else your power wont be removed on respec
transform_dnaTransform the target to the chosen dna. Used in transform.dm and tiny_prick.dm (handy for changes since it's the same thing done twice)

Var Details

active

If this power is active or not. Used for toggleable abilities.

bypass_fake_death

If this power can be used while the changeling has the TRAIT_FAKE_DEATH trait.

chemical_cost

Chemical cost to use this power.

cling

A reference to the changeling's changeling antag datum.

dna_cost

The cost of purchasing the power.

genetic_damage

Genetic damage caused by using the sting. Nothing to do with cloneloss.

helptext

A description of what the power does.

max_genetic_damage

Hard counter for spamming abilities.

power_type

Determines whether the power is always given to the changeling or if it must be purchased.

req_dna

The amount of victims the changeling needs to absorb before they can use this power. Changelings always start with a value of 1.

req_human

If you need to be in human form to activate this power.

req_stat

What stat value the changeling needs to have to use this power. Will be CONSCIOUS, UNCONSCIOUS or DEAD.

Proc Details

can_sting

Fairly important to remember to return TRUE on success >.<

on_purchase

Changeling code relies on on_purchase to grant powers. The same goes for Remove(). if you override Remove(), call parent or else your power wont be removed on respec

transform_dna

Transform the target to the chosen dna. Used in transform.dm and tiny_prick.dm (handy for changes since it's the same thing done twice)