Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/action/cooldown/bloodsucker/targeted

Vars

power_activates_immediatelyMost powers happen the moment you click. Some, like Mesmerize, require time and shouldn't cost you if they fail.
power_in_useIs this power LOCKED due to being used?
prefire_messageMessage sent to chat when clicking on the power, before you use it.
target_rangeIf set, how far the target has to be for the power to work.

Procs

CheckCanTargetCheck if valid target meets conditions
CheckValidTargetCheck if target is VALID (wall, turf, or character?)
FireTargetedPowerLike ActivatePower, but specific to Targeted (and takes an atom input). We don't use ActivatePower for targeted.
NewModify description to add notice that this is aimed.
click_with_powerClick Target
power_activated_sucessfullyThe power went off! We now pay the cost of the power.

Var Details

power_activates_immediately

Most powers happen the moment you click. Some, like Mesmerize, require time and shouldn't cost you if they fail.

power_in_use

Is this power LOCKED due to being used?

prefire_message

Message sent to chat when clicking on the power, before you use it.

target_range

If set, how far the target has to be for the power to work.

Proc Details

CheckCanTarget

Check if valid target meets conditions

CheckValidTarget

Check if target is VALID (wall, turf, or character?)

FireTargetedPower

Like ActivatePower, but specific to Targeted (and takes an atom input). We don't use ActivatePower for targeted.

New

Modify description to add notice that this is aimed.

click_with_power

Click Target

power_activated_sucessfully

The power went off! We now pay the cost of the power.