-
-
Notifications
You must be signed in to change notification settings - Fork 101
ScriptAlter
Divided by Zer0 edited this page Mar 9, 2022
·
6 revisions
Extends: ScriptObject < Reference
This contains information about one specific alteration requested by the card automation
var trigger_details: Dictionary
Stores the details arg passed the signal to use for filtering
var is_accepted: bool
Stores the details arg passed the signal to use for filtering If true if this task has been confirmed to run by the player Only relevant for optional tasks (see SP.KEY_IS_OPTIONAL)
func _init(alteration_script: Dictionary, trigger_object: Card, alterant_object, task_details: Dictionary) -> var
Prepares the script_definition needed by the alteration to function and checks the ongoing task and its owner_card against defined filters.