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

bloodsucker

Vars

activeIf the Power is currently active, differs from action cooldown because of how powers are handled.
active_background_icon_stateBackground icon when the Power is active.
base_background_icon_stateBackground icon when the Power is NOT active.
bloodcostThe cost to ACTIVATE this Power
bloodsuckerdatum_powerThe text that appears when using the help verb, meant to explain how the Power changes when ranking up. The owner's stored Bloodsucker datum
check_flagsRequirement flags for checks
constant_bloodcostThe cost to MAINTAIN this Power - Only used for Constant Cost Powers
cooldown_timeCooldown you'll have to wait between each use, decreases depending on level.
level_currentCan increase to yield new capabilities - Each Power ranks up each Rank, with the oldest power being the highest rank.
power_activates_immediatelyMost powers happen the moment you click. Some, like Mesmerize, require time and shouldn't cost you if they fail.
power_flagsThe effects on this Power (Toggled/Single Use/Static Cooldown)
purchase_flagsWho can purchase the Power

Procs

ActivatePowerreturn TRUE if you want the ability to be considered activated, put your ability activate logic here
ContinueActiveChecks to make sure this power can stay active
StartCooldownNOTE: With this formula, you'll hit half cooldown at level 8 for that power.
can_useChecks if the Power is available to use.
processUsed by powers that are scontinuously active (That have BP_CONTINUOUS_EFFECT flag)
remove_after_useUsed to unlearn Single-Use Powers
upgrade_powerCalled when the Power is upgraded.

Var Details

active

If the Power is currently active, differs from action cooldown because of how powers are handled.

active_background_icon_state

Background icon when the Power is active.

base_background_icon_state

Background icon when the Power is NOT active.

bloodcost

The cost to ACTIVATE this Power

bloodsuckerdatum_power

The text that appears when using the help verb, meant to explain how the Power changes when ranking up. The owner's stored Bloodsucker datum

check_flags

Requirement flags for checks

constant_bloodcost

The cost to MAINTAIN this Power - Only used for Constant Cost Powers

cooldown_time

Cooldown you'll have to wait between each use, decreases depending on level.

level_current

Can increase to yield new capabilities - Each Power ranks up each Rank, with the oldest power being the highest rank.

power_activates_immediately

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

power_flags

The effects on this Power (Toggled/Single Use/Static Cooldown)

purchase_flags

Who can purchase the Power

Proc Details

ActivatePower

return TRUE if you want the ability to be considered activated, put your ability activate logic here

ContinueActive

Checks to make sure this power can stay active

StartCooldown

NOTE: With this formula, you'll hit half cooldown at level 8 for that power.

can_use

Checks if the Power is available to use.

process

Used by powers that are scontinuously active (That have BP_CONTINUOUS_EFFECT flag)

remove_after_use

Used to unlearn Single-Use Powers

upgrade_power

Called when the Power is upgraded.