TriggerCeLock
Classes¶
            TriggerCELock
¶
    Object used to identify which conditions and effects should be locked from change
Source code in AoE2ScenarioParser/objects/support/trigger_ce_lock.py
                6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40  |  | 
Attributes¶
Functions¶
def __init__(...)
¶
        Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
lock_conditions | 
            
                  bool
             | 
            
               Lock all conditions  | 
            
                  False
             | 
          
lock_effects | 
            
                  bool
             | 
            
               Lock all effects  | 
            
                  False
             | 
          
lock_condition_type | 
            
                  List[int] | None
             | 
            
               Lock certain condition types. Example:   | 
            
                  None
             | 
          
lock_effect_type | 
            
                  List[int] | None
             | 
            
               Lock certain effect types. Example:   | 
            
                  None
             | 
          
lock_condition_ids | 
            
                  List[int] | None
             | 
            
               Lock certain conditions by their id  | 
            
                  None
             | 
          
lock_effect_ids | 
            
                  List[int] | None
             | 
            
               Lock certain effects by their id  | 
            
                  None
             | 
          
Source code in AoE2ScenarioParser/objects/support/trigger_ce_lock.py
                    8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40  |  |