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

changeling

Vars

activeused by a few powers that toggle
chemical_costHow many changeling chems it costs to use
disabled_by_fireDoes this ability stop working if you are burning?
dna_costCost of the ability in dna points, negative values are not valid
helptextDetails displayed in fine print within the changling emporium
ignores_fakedeathusable when the changeling is in death coma
req_absorbsSimilar to req_dna, but only gained from absorbing, not DNA sting
req_dnaAmount of dna needed to use this ability. Note, changelings always have atleast 1
req_humanIf you need to be humanoid to use this ability (disincludes monkeys)
req_statMaximum stat before the ability is blocked. For example, UNCONSCIOUS prevents it from being used when in hard crit or dead, while DEAD allows the ability to be used on any stat values.

Procs

try_to_stingContrary to the name, this proc isn't just used by changeling stings. It handles the activation of the action and the deducation of its cost. The order of the proc chain is: can_sting(). Should this fail, the process gets aborted early. sting_action(). This proc usually handles the actual effect of the action. Should sting_action succeed the following will be done: sting_feedback(). Produces feedback on the performed action. Don't ask me why this isn't handled in sting_action() The deduction of the cost of this power. Returns TRUE on a successful activation.

Var Details

active

used by a few powers that toggle

chemical_cost

How many changeling chems it costs to use

disabled_by_fire

Does this ability stop working if you are burning?

dna_cost

Cost of the ability in dna points, negative values are not valid

Special numbers include CHANGELING_POWER_INNATE, which are given to changeling for free without bring prompted and CHANGELING_POWER_UNOBTAINABLE, which are not available for purchase in the changeling emporium

helptext

Details displayed in fine print within the changling emporium

ignores_fakedeath

usable when the changeling is in death coma

req_absorbs

Similar to req_dna, but only gained from absorbing, not DNA sting

req_dna

Amount of dna needed to use this ability. Note, changelings always have atleast 1

req_human

If you need to be humanoid to use this ability (disincludes monkeys)

req_stat

Maximum stat before the ability is blocked. For example, UNCONSCIOUS prevents it from being used when in hard crit or dead, while DEAD allows the ability to be used on any stat values.

Proc Details

try_to_sting

Contrary to the name, this proc isn't just used by changeling stings. It handles the activation of the action and the deducation of its cost. The order of the proc chain is: can_sting(). Should this fail, the process gets aborted early. sting_action(). This proc usually handles the actual effect of the action. Should sting_action succeed the following will be done: sting_feedback(). Produces feedback on the performed action. Don't ask me why this isn't handled in sting_action() The deduction of the cost of this power. Returns TRUE on a successful activation.