-
Notifications
You must be signed in to change notification settings - Fork 394
Event hooks
Noah edited this page Feb 13, 2019
·
10 revisions
This is a list of event hooks that can be found in the code, taken from uses in cards
.
Events related to click actions taken on Corp or Runner's turn.
:corp-click-credit
:corp-click-draw
:pre-corp-draw
:corp-draw
:post-corp-draw
:advance
:pre-corp-install
:corp-install
:server-created
:pre-purge
:purge
:pre-play-instant
:play-operation
:runner-click-draw
:pre-runner-draw
:runner-draw
:post-runner-draw
:runner-spent-click
:pre-install
:runner-install
:pre-play-instant
:play-event
Events related to runs
:run
:begin-run
:run-big
:approach-ice
:encounter-ice
:no-action
:continue
:jack-out
:pass-ice
:approach-server
:no-action
:pre-jack-out
:jack-out
:pre-access
:access
:pre-access-card
:post-access-card
:end-access-phase
:pre-successful-run
:successful-run
:post-successful-run
:successful-run-ends
:unsuccessful-run
:unsuccessful-run-ends
:run-ends
Events related to the start and end of player turns
:pre-start-game
:pre-first-turn
:corp-phase-12 -- when corp enters Step 1.2 between Start Turn and Mandatory Draw
:corp-turn-begins -- when corp ends Step 1.2
:corp-mandatory-draw
:corp-turn-ends
:runner-phase-12 -- when runner enters Step 1.2 between Start Turn and Take Clicks
:runner-turn-begins -- when runner ends Step 1.2
:runner-turn-ends
:post-runner-turn-ends
:pre-init-trace
:trace
:successful-trace
:unsuccessful-trace
:pre-tag
:pre-resolve-tag
:runner-gain-tag
:runner-lose-tag
:avoided-tag
:pre-bad-publicity
:pre-resolve-bad-publicity
:corp-gain-bad-publicity
:pre-advancement-cost
:agenda-counter-spent
:pre-steal-cost
:agenda-stolen
:agenda-scored
:corp-forfeit-agenda
:runner-forfeit-agenda
:no-trash
:no-steal
:pre-ice-strength
:ice-strength-changed
:ice-subtype-changed
:pre-breaker-strength
:breaker-strength-changed
:pump-breaker
:corp-loss
:runner-loss
:pre-rez
:pre-rez-cost
:rez
:pre-damage
:prevented-damage
:pre-resolve-damage
:damage
:pre-trash
:corp-trash
:runner-trash
:pre-purge
:purge
:pre-expose
:expose
:advancement-placed
:agenda-counter-spent
:counter-added
:psi-game
:psi-bet-corp
:psi-bet-runner
:psi-game-done
:card-moved
:as-agenda
:corp-shuffle-deck
:runner-shuffle-deck