screpl.plugins.trigger package

Submodules

Module contents

Trigger plugin

Enables condition checking on TRIG triggers

Log following TRIG triggers:

  1. It contains action: ‘Comment(“screpl-condcheck”)’

  2. No Wait() action.

For all checked triggers, it logs results of conditions for each players P1 through P8. For comparison conditions in the trigger, it additionally logs the exact value for the condition.

screpl.plugins.trigger. _condcheck_trigger ( trigdb_epd , entry_table ) [source]

EUDFuncN

screpl.plugins.trigger. f_get_exact_amount ( cond_epd ) [source]

EUDFuncN

class screpl.plugins.trigger. CondCheckTriggerManager [source]

Bases: object

condcheck_inline ( trig_id ) [source]
find_signature_and_update ( ) [source]

Find trigger with debugging signature

Iterate over TRIG triggers. find triggers with action Comment(“screpl-condcheck”).

register_trigger ( trigger ) [source]
screpl.plugins.trigger. get_string_from_id ( sid ) [source]
screpl.plugins.trigger. plugin_get_dependency ( ) [source]
screpl.plugins.trigger. plugin_setup ( ) [source]