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

targeted

Vars

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?)
FireSecondaryTargetedPowerCalled on right click
PowerActivatedSuccesfullyThe power went off! We now pay the cost of the power.
PreActivateClick Target
get_power_descModify description to add notice that this is aimed.

Var Details

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?)

FireSecondaryTargetedPower

Called on right click

PowerActivatedSuccesfully

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

PreActivate

Click Target

get_power_desc

Modify description to add notice that this is aimed.