From d9e416be6e397a20d551befb0126e7b8028c0d3d Mon Sep 17 00:00:00 2001 From: nlsui <37106890+nlsui@users.noreply.github.com> Date: Wed, 21 Apr 2021 12:14:08 +0200 Subject: [PATCH] changed minRulesText to 0 --- cardSchema.json | 2 +- cardobject/validatePrimitives.go | 2 +- keywordedSchema.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cardSchema.json b/cardSchema.json index a7f3af4..1cc75d7 100644 --- a/cardSchema.json +++ b/cardSchema.json @@ -1 +1 @@ -{"Card":{"$ref":"#/definitions/Card"},"definitions":{"Abilities":{"type":"array","name":"Abilities","description":"Add some Abilities","children":{"Ability":{"$ref":"#/definitions/Ability"}},"max":3},"Ability":{"type":"interface","name":"Ability","description":"Choose a Ability","children":{"ActivatedAbility":{"$ref":"#/definitions/ActivatedAbility"},"TriggeredAbility":{"$ref":"#/definitions/TriggeredAbility"}}},"AbilityEffectOperator":{"type":"enum","name":"Ability Effect Operator","enum":["GAIN"]},"Action":{"type":"struct","name":"Action","description":"Build a Action","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Effects":{"$ref":"#/definitions/Effects"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Effects","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Effects §FlavourText §Tags §Keywords §RulesText"},"ActionCondition":{"type":"interface","name":"Action Condition","description":"Choose a Action Condition","children":{"ActionIntCondition":{"$ref":"#/definitions/ActionIntCondition"},"ActionStringCondition":{"$ref":"#/definitions/ActionStringCondition"},"ActionTagCondition":{"$ref":"#/definitions/ActionTagCondition"}}},"ActionConditions":{"type":"array","name":"Action Conditions","description":"Add some Action Conditions","children":{"ActionCondition":{"$ref":"#/definitions/ActionCondition"}},"max":3},"ActionEffectManipulation":{"type":"struct","name":"Action Effect Manipulation","description":"Build a Action Effect Manipulation","children":{"Effect":{"$ref":"#/definitions/Effect"},"EffectOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["EffectOperator"],"interactionText":"It §EffectOperator §Effect.(§Keyword)"},"ActionExtractor":{"type":"interface","name":"Action Extractor","description":"Choose a Action Extractor","children":{"ActionIntExtractor":{"$ref":"#/definitions/ActionIntExtractor"},"ActionStringExtractor":{"$ref":"#/definitions/ActionStringExtractor"},"ActionTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"ActionExtractors":{"type":"array","name":"Action Extractors","description":"Add some Action Extractors","children":{"ActionExtractor":{"$ref":"#/definitions/ActionExtractor"}},"max":3},"ActionIntCondition":{"type":"struct","name":"Action Int Condition","description":"Build a Action Int Condition","children":{"ActionIntProperty":{"$ref":"#/definitions/ActionIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["ActionIntProperty","IntValue","IntComparator"],"interactionText":"with §ActionIntProperty §IntComparator §IntValue"},"ActionIntExtractor":{"type":"struct","name":"Action Int Extractor","description":"Build a Action Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/ActionIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the actions §ExtractIntProperty."},"ActionIntManipulation":{"type":"struct","name":"Action Int Manipulation","description":"Build a Action Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/ActionIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"ActionIntProperty":{"type":"enum","name":"Action Int Property","enum":["BASECOSTSUM","COSTSUM"]},"ActionManipulation":{"type":"interface","name":"Action Manipulation","description":"Choose a Action Manipulation","children":{"ActionEffectManipulation":{"$ref":"#/definitions/ActionEffectManipulation"},"ActionIntManipulation":{"$ref":"#/definitions/ActionIntManipulation"},"ActionStringManipulation":{"$ref":"#/definitions/ActionStringManipulation"},"ActionTagManipulation":{"$ref":"#/definitions/ActionTagManipulation"},"ActionZoneChange":{"$ref":"#/definitions/ActionZoneChange"}}},"ActionManipulations":{"type":"array","name":"Action Manipulations","description":"Add some Action Manipulations","children":{"ActionManipulation":{"$ref":"#/definitions/ActionManipulation"}},"max":3},"ActionSelector":{"type":"struct","name":"Action Selector","description":"Build a Action Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"ActionConditions":{"$ref":"#/definitions/ActionConditions"},"ActionZone":{"$ref":"#/definitions/ActionZone"},"ActionExtractors":{"$ref":"#/definitions/ActionExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode","ActionZone"],"interactionText":"Choose §CardMode action §ActionConditions in the §ActionZone of §PlayerMode player §PlayerCondition. §ActionExtractors §AmountExtractor"},"ActionStringCondition":{"type":"struct","name":"Action String Condition","description":"Build a Action String Condition","children":{"ActionStringProperty":{"$ref":"#/definitions/ActionStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["ActionStringProperty","StringValue","StringComparator"],"interactionText":"with §ActionStringProperty §StringComparator §StringValue"},"ActionStringExtractor":{"type":"struct","name":"Action String Extractor","description":"Build a Action String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/ActionStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the actions §ExtractStringProperty."},"ActionStringManipulation":{"type":"struct","name":"Action String Manipulation","description":"Build a Action String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/ActionStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"ActionStringProperty":{"type":"enum","name":"Action String Property","enum":["NAME","TEXT"]},"ActionTagCondition":{"type":"struct","name":"Action Tag Condition","description":"Build a Action Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"ActionTagManipulation":{"type":"struct","name":"Action Tag Manipulation","description":"Build a Action Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"§TagOperator tag §TagValue.(§Keyword)"},"ActionTargetEffect":{"type":"struct","name":"Action Target Effect","description":"Build a Action Target Effect","children":{"ActionSelector":{"$ref":"#/definitions/ActionSelector"},"ActionManipulations":{"$ref":"#/definitions/ActionManipulations"}},"required":["ActionSelector","ActionManipulations"],"interactionText":"§ActionSelector §ActionManipulations"},"ActionZone":{"type":"enum","name":"Action Zone","enum":["DECK","DUSTPILE","HAND","VOID"]},"ActionZoneChange":{"type":"struct","name":"Action Zone Change","description":"Build a Action Zone Change","children":{"Zone":{"$ref":"#/definitions/ActionZone"},"Player":{"$ref":"#/definitions/PlayerMode"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["Zone","Player"],"interactionText":"Put it into §Player §Zone.(§Keyword)"},"ActivatedAbility":{"type":"struct","name":"Activated Ability","description":"Build a Activated Ability","children":{"AbilityCost":{"$ref":"#/definitions/Cost"},"Effects":{"$ref":"#/definitions/Effects"}},"required":["AbilityCost","Effects"],"interactionText":"Pay §AbilityCost: §Effects \n"},"ArithOperator":{"type":"enum","name":"Arith Operator","enum":["ADD","SUBTRACT"]},"Attack":{"type":"int","name":"Attack","max":32},"AttackEventListener":{"type":"struct","name":"Attack Event Listener","description":"Build a Attack Event Listener","children":{"EntityCondition":{"$ref":"#/definitions/EntityCondition"},"AttackEntityExtractors":{"$ref":"#/definitions/EntityExtractors"}},"interactionText":"Whenever an entity §EntityCondition attacks. §AttackEntityExtractors"},"BasicAmount":{"type":"int","name":"Basic Amount","max":32},"BlockEventListener":{"type":"struct","name":"Block Event Listener","description":"Build a Block Event Listener","children":{"EntityCondition":{"$ref":"#/definitions/EntityCondition"},"BlockingEntityExtractors":{"$ref":"#/definitions/EntityExtractors"},"BlockedEntityExtractors":{"$ref":"#/definitions/EntityExtractors"}},"interactionText":"Whenever an entity §EntityCondition blocks. §BlockingEntityExtractors §BlockedEntityExtractors"},"Card":{"type":"interface","name":"Card","description":"Choose a Card","children":{"Action":{"$ref":"#/definitions/Action"},"Entity":{"$ref":"#/definitions/Entity"},"Place":{"$ref":"#/definitions/Place"},"Headquarter":{"$ref":"#/definitions/Headquarter"}}},"CardConditions":{"type":"interface","name":"Card Conditions","description":"Choose a Card Conditions","children":{"ActionConditions":{"$ref":"#/definitions/ActionConditions"},"EntityConditions":{"$ref":"#/definitions/EntityConditions"},"HeadquarterConditions":{"$ref":"#/definitions/HeadquarterConditions"},"PlaceConditions":{"$ref":"#/definitions/PlaceConditions"},"ThisConditions":{"$ref":"#/definitions/ThisCondition"}}},"CardExtractors":{"type":"interface","name":"Card Extractors","description":"Choose a Card Extractors","children":{"ActionExtractors":{"$ref":"#/definitions/ActionExtractors"},"EntityExtractors":{"$ref":"#/definitions/EntityExtractors"},"HeadquarterExtractors":{"$ref":"#/definitions/HeadquarterExtractors"},"PlaceExtractors":{"$ref":"#/definitions/PlaceExtractors"}}},"CardIntProperty":{"type":"enum","name":"Card Int Property","enum":["ATTACK","COSTSUM","HEALTH"]},"CardMode":{"type":"enum","name":"Card Mode","enum":["ALL","OPPONENTSCHOICE","RANDOM","TARGET"]},"CardName":{"type":"string","name":"Card Name","max":32,"min":1},"CardStringProperty":{"type":"enum","name":"Card String Property","enum":["NAME","TEXT"]},"CastingCost":{"type":"int","name":"Casting Cost","max":32},"ChooseFromEffect":{"type":"struct","name":"Choose From Effect","description":"Build a Choose From Effect","children":{"Effects":{"$ref":"#/definitions/Effects"}},"required":["Effects"],"interactionText":"Do one of §Effects."},"Class":{"type":"struct","name":"Class","description":"Build a Class","children":{"Nature":{"$ref":"#/definitions/Nature"},"Mysticism":{"$ref":"#/definitions/Mysticism"},"Technology":{"$ref":"#/definitions/Technology"},"Culture":{"$ref":"#/definitions/Culture"}},"required":["Nature","Mysticism","Technology","Culture"],"interactionText":"§Nature §Mysticism §Technology §Culture"},"ComplexIntValue":{"type":"struct","name":"Complex Int Value","description":"Build a Complex Int Value","children":{"FirstValue":{"$ref":"#/definitions/IntValue"},"SecondValue":{"$ref":"#/definitions/IntValue"},"ArithOperator":{"$ref":"#/definitions/ArithOperator"}},"required":["FirstValue","SecondValue","ArithOperator"],"interactionText":"§FirstValue §ArithOperator §SecondValue"},"Cost":{"type":"struct","name":"Cost","description":"Build a Cost","children":{"ManaCost":{"$ref":"#/definitions/ManaCost"},"SacrificeCost":{"$ref":"#/definitions/SacrificeCost"},"DiscardCost":{"$ref":"#/definitions/DiscardCost"},"VoidCost":{"$ref":"#/definitions/VoidCost"}},"interactionText":"§ManaCost §SacrificeCost §DiscardCost §VoidCost"},"Culture":{"type":"bool","name":"Culture"},"Delay":{"type":"int","name":"Delay","max":32},"DiscardCost":{"type":"struct","name":"Discard Cost","description":"Build a Discard Cost","children":{"Amount":{"$ref":"#/definitions/BasicAmount"},"Conditions":{"$ref":"#/definitions/CardConditions"}},"required":["Amount","Conditions"],"interactionText":"Discard §Amount card §Conditions"},"DynamicZone":{"type":"enum","name":"Dynamic Zone","enum":["DECK","DUSTPILE","FIELD","HAND"]},"Effect":{"type":"interface","name":"Effect","description":"Choose a Effect","children":{"GrowthEffect":{"$ref":"#/definitions/GrowthEffect"},"ProductionEffect":{"$ref":"#/definitions/ProductionEffect"},"WisdomEffect":{"$ref":"#/definitions/WisdomEffect"},"TokenEffect":{"$ref":"#/definitions/TokenEffect"},"TargetEffect":{"$ref":"#/definitions/TargetEffect"},"ChooseFromEffect":{"$ref":"#/definitions/ChooseFromEffect"}}},"Effects":{"type":"array","name":"Effects","description":"Add some Effects","children":{"Effect":{"$ref":"#/definitions/Effect"}},"max":3},"Entity":{"type":"struct","name":"Entity","description":"Build a Entity","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/Abilities"},"Attack":{"$ref":"#/definitions/Attack"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Attack","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Attack §Health §FlavourText §Tags §Keywords §RulesText"},"EntityAbilityManipulation":{"type":"struct","name":"Entity Ability Manipulation","description":"Build a Entity Ability Manipulation","children":{"Ability":{"$ref":"#/definitions/Ability"},"AbilityOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["AbilityOperator"],"interactionText":"It §AbilityOperator §Ability.(§Keyword)"},"EntityCondition":{"type":"interface","name":"Entity Condition","description":"Choose a Entity Condition","children":{"EntityIntCondition":{"$ref":"#/definitions/EntityIntCondition"},"EntityStringCondition":{"$ref":"#/definitions/EntityStringCondition"},"EntityTagCondition":{"$ref":"#/definitions/EntityTagCondition"}}},"EntityConditions":{"type":"array","name":"Entity Conditions","description":"Add some Entity Conditions","children":{"EntityCondition":{"$ref":"#/definitions/EntityCondition"}},"max":3},"EntityExtractor":{"type":"interface","name":"Entity Extractor","description":"Choose a Entity Extractor","children":{"EntityIntExtractor":{"$ref":"#/definitions/EntityIntExtractor"},"EntityStringExtractor":{"$ref":"#/definitions/EntityStringExtractor"},"EntityTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"EntityExtractors":{"type":"array","name":"Entity Extractors","description":"Add some Entity Extractors","children":{"EntityExtractor":{"$ref":"#/definitions/EntityExtractor"}},"max":3},"EntityIntCondition":{"type":"struct","name":"Entity Int Condition","description":"Build a Entity Int Condition","children":{"EntityIntProperty":{"$ref":"#/definitions/EntityIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["EntityIntProperty","IntValue","IntComparator"],"interactionText":"with §EntityIntProperty §IntComparator §IntValue"},"EntityIntExtractor":{"type":"struct","name":"Entity Int Extractor","description":"Build a Entity Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/EntityIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the entities §ExtractIntProperty."},"EntityIntManipulation":{"type":"struct","name":"Entity Int Manipulation","description":"Build a Entity Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/EntityIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"EntityIntProperty":{"type":"enum","name":"Entity Int Property","enum":["ATTACK","BASEATTACK","BASECOSTSUM","BASEHEALTH","COSTSUM","HEALTH"]},"EntityManipulation":{"type":"interface","name":"Entity Manipulation","description":"Choose a Entity Manipulation","children":{"EntityAbilityManipulation":{"$ref":"#/definitions/EntityAbilityManipulation"},"EntityIntManipulation":{"$ref":"#/definitions/EntityIntManipulation"},"EntityStringManipulation":{"$ref":"#/definitions/EntityStringManipulation"},"EntityTagManipulation":{"$ref":"#/definitions/EntityTagManipulation"},"EntityZoneChange":{"$ref":"#/definitions/EntityZoneChange"}}},"EntityManipulations":{"type":"array","name":"Entity Manipulations","description":"Add some Entity Manipulations","children":{"EntityManipulation":{"$ref":"#/definitions/EntityManipulation"}},"max":3},"EntitySelector":{"type":"struct","name":"Entity Selector","description":"Build a Entity Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"EntityConditions":{"$ref":"#/definitions/EntityConditions"},"EntityZone":{"$ref":"#/definitions/EntityZone"},"EntityExtractors":{"$ref":"#/definitions/EntityExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode","EntityZone"],"interactionText":"Choose §CardMode entity §EntityConditions in the §EntityZone of §PlayerMode player §PlayerCondition. §EntityExtractors §AmountExtractor"},"EntityStringCondition":{"type":"struct","name":"Entity String Condition","description":"Build a Entity String Condition","children":{"EntityStringProperty":{"$ref":"#/definitions/EntityStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["EntityStringProperty","StringValue","StringComparator"],"interactionText":"with §EntityStringProperty §StringComparator §StringValue"},"EntityStringExtractor":{"type":"struct","name":"Entity String Extractor","description":"Build a Entity String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/EntityStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the entities §ExtractStringProperty."},"EntityStringManipulation":{"type":"struct","name":"Entity String Manipulation","description":"Build a Entity String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/EntityStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"EntityStringProperty":{"type":"enum","name":"Entity String Property","enum":["NAME","TEXT"]},"EntityTagCondition":{"type":"struct","name":"Entity Tag Condition","description":"Build a Entity Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"EntityTagManipulation":{"type":"struct","name":"Entity Tag Manipulation","description":"Build a Entity Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"It §TagOperator §TagValue.(§Keyword)"},"EntityTargetEffect":{"type":"struct","name":"Entity Target Effect","description":"Build a Entity Target Effect","children":{"EntitySelector":{"$ref":"#/definitions/EntitySelector"},"EntityManipulations":{"$ref":"#/definitions/EntityManipulations"}},"required":["EntitySelector","EntityManipulations"],"interactionText":"§EntitySelector §EntityManipulations"},"EntityZone":{"type":"enum","name":"Entity Zone","enum":["ATTACKLANE","BLOCKLANE","DECK","DUSTPILE","FIELD","HAND","VOID"]},"EntityZoneChange":{"type":"struct","name":"Entity Zone Change","description":"Build a Entity Zone Change","children":{"Zone":{"$ref":"#/definitions/EntityZone"},"Player":{"$ref":"#/definitions/PlayerMode"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["Zone","Player"],"interactionText":"Put it into §Player §Zone.(§Keyword)"},"EventListener":{"type":"interface","name":"Event Listener","description":"Choose a Event Listener","children":{"AttackEventListener":{"$ref":"#/definitions/AttackEventListener"},"BlockEventListener":{"$ref":"#/definitions/BlockEventListener"},"ManipulationEventListener":{"$ref":"#/definitions/ManipulationEventListener"},"ProductionEventListener":{"$ref":"#/definitions/ProductionEventListener"},"TimeEventListener":{"$ref":"#/definitions/TimeEventListener"},"ZoneChangeEventListener":{"$ref":"#/definitions/ZoneChangeEventListener"}}},"ExtractorTargetEffect":{"type":"struct","name":"Extractor Target Effect","description":"Build a Extractor Target Effect","children":{"TargetVariable":{"$ref":"#/definitions/TargetVariableName"},"Manipulations":{"$ref":"#/definitions/Manipulations"}},"required":["TargetVariable","Manipulations"],"interactionText":"Choose §TargetVariable. §Manipulations"},"FlavourText":{"type":"string","name":"Flavour Text","max":1000,"min":1},"GrowthEffect":{"type":"struct","name":"Growth Effect","description":"Build a Growth Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"},"GrowthAmount":{"$ref":"#/definitions/IntValue"}},"required":["GrowthAmount"],"interactionText":"Gain §GrowthAmount growth. (§Keyword)"},"Headquarter":{"type":"struct","name":"Headquarter","description":"Build a Headquarter","children":{"CardName":{"$ref":"#/definitions/CardName"},"Class":{"$ref":"#/definitions/Class"},"Delay":{"$ref":"#/definitions/Delay"},"Abilities":{"$ref":"#/definitions/Abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","Class","Delay","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §Class §Delay §Abilities §Health §FlavourText §Tags §Keywords §RulesText"},"HeadquarterAbilityManipulation":{"type":"struct","name":"Headquarter Ability Manipulation","description":"Build a Headquarter Ability Manipulation","children":{"Ability":{"$ref":"#/definitions/Ability"},"AbilityOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["AbilityOperator"],"interactionText":"It §AbilityOperator §Effect.(§Keyword)"},"HeadquarterCondition":{"type":"interface","name":"Headquarter Condition","description":"Choose a Headquarter Condition","children":{"HeadquarterIntCondition":{"$ref":"#/definitions/HeadquarterIntCondition"},"HeadquarterStringCondition":{"$ref":"#/definitions/HeadquarterStringCondition"},"HeadquarterTagCondition":{"$ref":"#/definitions/HeadquarterTagCondition"}}},"HeadquarterConditions":{"type":"array","name":"Headquarter Conditions","description":"Add some Headquarter Conditions","children":{"HeadquarterCondition":{"$ref":"#/definitions/HeadquarterCondition"}},"max":3},"HeadquarterExtractor":{"type":"interface","name":"Headquarter Extractor","description":"Choose a Headquarter Extractor","children":{"HeadquarterIntExtractor":{"$ref":"#/definitions/HeadquarterIntExtractor"},"HeadquarterStringExtractor":{"$ref":"#/definitions/HeadquarterStringExtractor"},"HeadquarterTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"HeadquarterExtractors":{"type":"array","name":"Headquarter Extractors","description":"Add some Headquarter Extractors","children":{"HeadquarterExtractor":{"$ref":"#/definitions/HeadquarterExtractor"}},"max":3},"HeadquarterIntCondition":{"type":"struct","name":"Headquarter Int Condition","description":"Build a Headquarter Int Condition","children":{"HeadquarterIntProperty":{"$ref":"#/definitions/HeadquarterIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["HeadquarterIntProperty","IntValue","IntComparator"],"interactionText":"with §HeadquarterIntProperty §IntComparator §IntValue"},"HeadquarterIntExtractor":{"type":"struct","name":"Headquarter Int Extractor","description":"Build a Headquarter Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/HeadquarterIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the actions §ExtractIntProperty."},"HeadquarterIntManipulation":{"type":"struct","name":"Headquarter Int Manipulation","description":"Build a Headquarter Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/HeadquarterIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"HeadquarterIntProperty":{"type":"enum","name":"Headquarter Int Property","enum":["BASEHEALTH","HEALTH"]},"HeadquarterManipulation":{"type":"interface","name":"Headquarter Manipulation","description":"Choose a Headquarter Manipulation","children":{"HeadquarterEffectManipulation":{"$ref":"#/definitions/HeadquarterAbilityManipulation"},"HeadquarterIntManipulation":{"$ref":"#/definitions/HeadquarterIntManipulation"},"HeadquarterStringManipulation":{"$ref":"#/definitions/HeadquarterStringManipulation"},"HeadquarterTagManipulation":{"$ref":"#/definitions/HeadquarterTagManipulation"}}},"HeadquarterManipulations":{"type":"array","name":"Headquarter Manipulations","description":"Add some Headquarter Manipulations","children":{"HeadquarterManipulation":{"$ref":"#/definitions/HeadquarterManipulation"}},"max":3},"HeadquarterSelector":{"type":"struct","name":"Headquarter Selector","description":"Build a Headquarter Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"HeadquarterConditions":{"$ref":"#/definitions/HeadquarterConditions"},"HeadquarterExtractors":{"$ref":"#/definitions/HeadquarterExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode"],"interactionText":"Choose §CardMode action §HeadquarterConditions in the §HeadquarterZone of §PlayerMode player §PlayerCondition. §HeadquarterExtractors §AmountExtractor"},"HeadquarterStringCondition":{"type":"struct","name":"Headquarter String Condition","description":"Build a Headquarter String Condition","children":{"HeadquarterStringProperty":{"$ref":"#/definitions/HeadquarterStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["HeadquarterStringProperty","StringValue","StringComparator"],"interactionText":"with §HeadquarterStringProperty §StringComparator §StringValue"},"HeadquarterStringExtractor":{"type":"struct","name":"Headquarter String Extractor","description":"Build a Headquarter String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/HeadquarterStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the actions §ExtractStringProperty."},"HeadquarterStringManipulation":{"type":"struct","name":"Headquarter String Manipulation","description":"Build a Headquarter String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/HeadquarterStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"HeadquarterStringProperty":{"type":"enum","name":"Headquarter String Property","enum":["NAME","TEXT"]},"HeadquarterTagCondition":{"type":"struct","name":"Headquarter Tag Condition","description":"Build a Headquarter Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"HeadquarterTagManipulation":{"type":"struct","name":"Headquarter Tag Manipulation","description":"Build a Headquarter Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"§TagOperator tag §TagValue.(§Keyword)"},"HeadquarterTargetEffect":{"type":"struct","name":"Headquarter Target Effect","description":"Build a Headquarter Target Effect","children":{"HeadquarterSelector":{"$ref":"#/definitions/HeadquarterSelector"},"HeadquarterManipulations":{"$ref":"#/definitions/HeadquarterManipulations"}},"required":["HeadquarterSelector","HeadquarterManipulations"],"interactionText":"§HeadquarterSelector §HeadquarterManipulations"},"Health":{"type":"int","name":"Health","max":32},"IntChangeMode":{"type":"enum","name":"Int Change Mode","enum":["INCREASES","DECREASES","CHANGES"]},"IntComparator":{"type":"enum","name":"Int Comparator","enum":["EQUAL","GREATER","LESSER"]},"IntExtractor":{"type":"struct","name":"Int Extractor","description":"Build a Int Extractor","children":{"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["IntVariableName"],"interactionText":"Set §IntVariableName."},"IntManipulationEventListener":{"type":"struct","name":"Int Manipulation Event Listener","description":"Build a Int Manipulation Event Listener","children":{"IntProperty":{"$ref":"#/definitions/CardIntProperty"},"IntChangeMode":{"$ref":"#/definitions/IntChangeMode"},"CardCondition":{"$ref":"#/definitions/CardConditions"},"ManipulatedCardExtractor":{"$ref":"#/definitions/CardExtractors"},"ManipulationValueExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["IntProperty","IntChangeMode"],"interactionText":"Whenever §IntProperty on card §CardCondition §IntChangeMode. §ManipulatedCardExtractors §ManipulationValueExtractor"},"IntOperator":{"type":"enum","name":"Int Operator","enum":["SET","ADD","SUBTRACT"]},"IntValue":{"type":"interface","name":"Int Value","description":"Choose a Int Value","children":{"ComplexIntValue":{"$ref":"#/definitions/ComplexIntValue"},"SimpleIntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntVariable":{"$ref":"#/definitions/IntVariableName"}}},"IntVariableName":{"type":"enum","name":"Int Variable Name","enum":["X","Y","Z"]},"Keyword":{"type":"enum","name":"Keyword","enum":["ANTHEM","ARM","ARRIVAL","BATTLECRY","HARM","KILL","ONCONSTRUCTION","ONDEATH","ONSPAWN","PAY","PERIODIC","PRODUCE","REPAIR","TRIBUTE"]},"Keywords":{"type":"array","name":"Keywords","description":"Add some Keywords","children":{"Keyword":{"$ref":"#/definitions/Keyword"}},"max":3,"min":1},"ManaCost":{"type":"struct","name":"Mana Cost","description":"Build a Mana Cost","children":{"CostAmount":{"$ref":"#/definitions/BasicAmount"}},"required":["CostAmount"],"interactionText":"§CostAmount mana"},"ManipulationEventListener":{"type":"interface","name":"Manipulation Event Listener","description":"Choose a Manipulation Event Listener","children":{"IntManipulationEventListener":{"$ref":"#/definitions/IntManipulationEventListener"},"StringManipulationEventListener":{"$ref":"#/definitions/StringManipulationEventListener"}}},"Manipulations":{"type":"interface","name":"Manipulations","description":"Choose a Manipulations","children":{"ActionManipulations":{"$ref":"#/definitions/ActionManipulations"},"EntityManipulations":{"$ref":"#/definitions/EntityManipulations"},"HeadquarterManipulations":{"$ref":"#/definitions/HeadquarterManipulations"},"PlaceManipulations":{"$ref":"#/definitions/PlaceManipulations"}}},"Mysticism":{"type":"bool","name":"Mysticism"},"Nature":{"type":"bool","name":"Nature"},"Place":{"type":"struct","name":"Place","description":"Build a Place","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/Abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Health §FlavourText §Tags §Keywords §RulesText"},"PlaceAbilityManipulation":{"type":"struct","name":"Place Ability Manipulation","description":"Build a Place Ability Manipulation","children":{"Ability":{"$ref":"#/definitions/Ability"},"AbilityOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["AbilityOperator"],"interactionText":"It §AbilityOperator §Ability.(§Keyword)"},"PlaceCondition":{"type":"interface","name":"Place Condition","description":"Choose a Place Condition","children":{"PlaceIntCondition":{"$ref":"#/definitions/PlaceIntCondition"},"PlaceStringCondition":{"$ref":"#/definitions/PlaceStringCondition"},"PlaceTagCondition":{"$ref":"#/definitions/PlaceTagCondition"}}},"PlaceConditions":{"type":"array","name":"Place Conditions","description":"Add some Place Conditions","children":{"PlaceCondition":{"$ref":"#/definitions/PlaceCondition"}},"max":3},"PlaceExtractor":{"type":"interface","name":"Place Extractor","description":"Choose a Place Extractor","children":{"PlaceIntExtractor":{"$ref":"#/definitions/PlaceIntExtractor"},"PlaceStringExtractor":{"$ref":"#/definitions/PlaceStringExtractor"},"PlaceTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"PlaceExtractors":{"type":"array","name":"Place Extractors","description":"Add some Place Extractors","children":{"PlaceExtractor":{"$ref":"#/definitions/PlaceExtractor"}},"max":3},"PlaceIntCondition":{"type":"struct","name":"Place Int Condition","description":"Build a Place Int Condition","children":{"PlaceIntProperty":{"$ref":"#/definitions/PlaceIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["PlaceIntProperty","IntValue","IntComparator"],"interactionText":"with §PlaceIntProperty §IntComparator §IntValue"},"PlaceIntExtractor":{"type":"struct","name":"Place Int Extractor","description":"Build a Place Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/PlaceIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the places §ExtractIntProperty."},"PlaceIntManipulation":{"type":"struct","name":"Place Int Manipulation","description":"Build a Place Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/PlaceIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"PlaceIntProperty":{"type":"enum","name":"Place Int Property","enum":["BASECOSTSUM","BASEHEALTH","COSTSUM","HEALTH"]},"PlaceManipulation":{"type":"interface","name":"Place Manipulation","description":"Choose a Place Manipulation","children":{"PlaceAbilityManipulation":{"$ref":"#/definitions/PlaceAbilityManipulation"},"PlaceIntManipulation":{"$ref":"#/definitions/PlaceIntManipulation"},"PlaceStringManipulation":{"$ref":"#/definitions/PlaceStringManipulation"},"PlaceTagManipulation":{"$ref":"#/definitions/PlaceTagManipulation"},"PlaceZoneChange":{"$ref":"#/definitions/PlaceZoneChange"}}},"PlaceManipulations":{"type":"array","name":"Place Manipulations","description":"Add some Place Manipulations","children":{"PlaceManipulation":{"$ref":"#/definitions/PlaceManipulation"}},"max":3},"PlaceSelector":{"type":"struct","name":"Place Selector","description":"Build a Place Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"PlaceConditions":{"$ref":"#/definitions/PlaceConditions"},"PlaceZone":{"$ref":"#/definitions/PlaceZone"},"PlaceExtractors":{"$ref":"#/definitions/PlaceExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode","PlaceZone"],"interactionText":"Choose §CardMode place §PlaceConditions in the §PlaceZone of §PlayerMode player §PlayerCondition. §PlaceExtractors §AmountExtractor"},"PlaceStringCondition":{"type":"struct","name":"Place String Condition","description":"Build a Place String Condition","children":{"PlaceStringProperty":{"$ref":"#/definitions/PlaceStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["PlaceStringProperty","StringValue","StringComparator"],"interactionText":"with §PlaceStringProperty §StringComparator §StringValue"},"PlaceStringExtractor":{"type":"struct","name":"Place String Extractor","description":"Build a Place String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/PlaceStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the places §ExtractStringProperty."},"PlaceStringManipulation":{"type":"struct","name":"Place String Manipulation","description":"Build a Place String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/PlaceStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"PlaceStringProperty":{"type":"enum","name":"Place String Property","enum":["NAME","TEXT"]},"PlaceTagCondition":{"type":"struct","name":"Place Tag Condition","description":"Build a Place Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"PlaceTagManipulation":{"type":"struct","name":"Place Tag Manipulation","description":"Build a Place Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"It §TagOperator §TagValue.(§Keyword)"},"PlaceTargetEffect":{"type":"struct","name":"Place Target Effect","description":"Build a Place Target Effect","children":{"PlaceSelector":{"$ref":"#/definitions/PlaceSelector"},"PlaceManipulations":{"$ref":"#/definitions/PlaceManipulations"}},"required":["PlaceSelector","PlaceManipulations"],"interactionText":"§PlaceSelector §PlaceManipulations"},"PlaceZone":{"type":"enum","name":"Place Zone","enum":["DECK","DUSTPILE","FIELD","HAND","VOID"]},"PlaceZoneChange":{"type":"struct","name":"Place Zone Change","description":"Build a Place Zone Change","children":{"Zone":{"$ref":"#/definitions/PlaceZone"},"Player":{"$ref":"#/definitions/PlayerMode"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["Zone","Player"],"interactionText":"Put it into §Player §Zone.(§Keyword)"},"PlayerCondition":{"type":"interface","name":"Player Condition","description":"Choose a Player Condition","children":{"PlayerIntCondition":{"$ref":"#/definitions/PlayerIntCondition"}}},"PlayerIntCondition":{"type":"struct","name":"Player Int Condition","description":"Build a Player Int Condition","children":{"PlayerIntProperty":{"$ref":"#/definitions/PlayerIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["PlayerIntProperty","IntValue","IntComparator"],"interactionText":"with §PlayerIntProperty §IntComparator §IntValue"},"PlayerIntProperty":{"type":"enum","name":"Player Int Property","enum":["HANDSIZE","BOARDSIZE","DECKSIZE"]},"PlayerMode":{"type":"enum","name":"Player Mode","enum":["YOU","OPPONENT"]},"ProductionEffect":{"type":"struct","name":"Production Effect","description":"Build a Production Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"},"Amount":{"$ref":"#/definitions/IntValue"}},"required":["Amount"],"interactionText":"Produce §Amount. (§Keyword)"},"ProductionEventListener":{"type":"struct","name":"Production Event Listener","description":"Build a Production Event Listener","children":{"ClassCondition":{"$ref":"#/definitions/Class"},"ProductionAmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"interactionText":"Whenever one or more §ClassCondition mana is produced. §ProductionAmountExtractor"},"RulesText":{"type":"string","name":"Rules Text","max":1000,"min":1},"SacrificeCost":{"type":"struct","name":"Sacrifice Cost","description":"Build a Sacrifice Cost","children":{"Amount":{"$ref":"#/definitions/BasicAmount"},"Conditions":{"$ref":"#/definitions/CardConditions"}},"required":["Amount","Conditions"],"interactionText":"Sacrifice §Amount card §Conditions"},"SimpleIntValue":{"type":"int","name":"Simple Int Value","max":32},"SimpleStringValue":{"type":"string","name":"Simple String Value","max":32,"min":1},"StringChangeMode":{"type":"enum","name":"String Change Mode","enum":["CHANGES"]},"StringComparator":{"type":"enum","name":"String Comparator","enum":["EQUAL","CONTAINS","UNEQUAL","CONTAINSNOT"]},"StringExtractor":{"type":"struct","name":"String Extractor","description":"Build a String Extractor","children":{"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["StringVariableName"],"interactionText":"Set §StringVariableName."},"StringManipulationEventListener":{"type":"struct","name":"String Manipulation Event Listener","description":"Build a String Manipulation Event Listener","children":{"StringProperty":{"$ref":"#/definitions/CardStringProperty"},"StringChangeMode":{"$ref":"#/definitions/StringChangeMode"},"CardCondition":{"$ref":"#/definitions/CardConditions"},"ManipulatedCardExtractor":{"$ref":"#/definitions/CardExtractors"},"ManipulationValueExtractor":{"$ref":"#/definitions/StringExtractor"}},"required":["StringProperty","StringChangeMode"],"interactionText":"Whenever §StringProperty §StringChangeMode on a card §CardCondition. §ManipulatedCardExtractors §ManipulationValueExtractor"},"StringOperator":{"type":"enum","name":"String Operator","enum":["SET"]},"StringVariableName":{"type":"enum","name":"String Variable Name","enum":["A","B","C"]},"Tag":{"type":"enum","name":"Tag","enum":["ANIMAL","BOT","DWARF","ENGINEER","EQUIPMENT","FARM","FIRE","HUMAN","KNIGHT","MAGIC","MILITANT","PRIMITIVE","RANGE","SPIRITUAL","TACTIC","TECHNOCRAT"]},"Tags":{"type":"array","name":"Tags","description":"Add some Tags","children":{"Tag":{"$ref":"#/definitions/Tag"}},"max":3,"min":1},"TargetEffect":{"type":"interface","name":"Target Effect","description":"Choose a Target Effect","children":{"ActionTargetEffect":{"$ref":"#/definitions/ActionTargetEffect"},"EntityTargetEffect":{"$ref":"#/definitions/EntityTargetEffect"},"HeadquarterTargetEffect":{"$ref":"#/definitions/HeadquarterTargetEffect"},"PlaceTargetEffect":{"$ref":"#/definitions/PlaceTargetEffect"},"ExtractorTargetEffect":{"$ref":"#/definitions/ExtractorTargetEffect"}}},"TargetExtractor":{"type":"struct","name":"Target Extractor","description":"Build a Target Extractor","children":{"TargetVariableName":{"$ref":"#/definitions/TargetVariableName"}},"required":["TargetVariableName"],"interactionText":"That card is marked as §TargetVariableName."},"TargetVariableName":{"type":"enum","name":"Target Variable Name","enum":["M","T"]},"Technology":{"type":"bool","name":"Technology"},"ThisCondition":{"type":"struct","name":"This Condition","description":"Build a This Condition","children":{},"interactionText":"this"},"TimeEvent":{"type":"enum","name":"Time Event","enum":["COMBAT","TICKSTART"]},"TimeEventListener":{"type":"struct","name":"Time Event Listener","description":"Build a Time Event Listener","children":{"TimeEvent":{"$ref":"#/definitions/TimeEvent"}},"required":["TimeEvent"],"interactionText":"Every §TimeEvent"},"Token":{"type":"struct","name":"Token","description":"Build a Token","children":{"Name":{"$ref":"#/definitions/CardName"},"Attack":{"$ref":"#/definitions/Attack"},"Health":{"$ref":"#/definitions/Health"},"Tags":{"$ref":"#/definitions/Tags"}},"required":["Attack","Health"],"interactionText":"§Attack / §Health token named §Name tagged §Tags"},"TokenEffect":{"type":"struct","name":"Token Effect","description":"Build a Token Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"},"TokenAmount":{"$ref":"#/definitions/IntValue"},"Token":{"$ref":"#/definitions/Token"}},"required":["TokenAmount","Token"],"interactionText":"Create §TokenAmount §Token. (§Keyword)"},"TriggeredAbility":{"type":"struct","name":"Triggered Ability","description":"Build a Triggered Ability","children":{"Cause":{"$ref":"#/definitions/EventListener"},"Cost":{"$ref":"#/definitions/Cost"},"Effects":{"$ref":"#/definitions/Effects"}},"required":["Cause","Effects"],"interactionText":"§Cause , §Cost : §Effects \n"},"VoidCost":{"type":"struct","name":"Void Cost","description":"Build a Void Cost","children":{"Amount":{"$ref":"#/definitions/BasicAmount"},"Conditions":{"$ref":"#/definitions/CardConditions"}},"required":["Amount","Conditions"],"interactionText":"Void §Amount card §Conditions"},"WisdomEffect":{"type":"struct","name":"Wisdom Effect","description":"Build a Wisdom Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"}},"interactionText":"Gain §WisdomAmount wisdom. (§Keyword)"},"Zone":{"type":"enum","name":"Zone","enum":["DECK","DUSTPILE","FIELD","HAND","VOID"]},"ZoneChangeEventListener":{"type":"struct","name":"Zone Change Event Listener","description":"Build a Zone Change Event Listener","children":{"Source":{"$ref":"#/definitions/DynamicZone"},"Destination":{"$ref":"#/definitions/Zone"},"CardCondition":{"$ref":"#/definitions/CardConditions"},"MovedCardExtractors":{"$ref":"#/definitions/CardExtractors"}},"interactionText":"Whenever a card §CardCondition gets put from §Source to §Destination. §MovedCardExtractors"}}} \ No newline at end of file +{"Card":{"$ref":"#/definitions/Card"},"definitions":{"Abilities":{"type":"array","name":"Abilities","description":"Add some Abilities","children":{"Ability":{"$ref":"#/definitions/Ability"}},"max":3},"Ability":{"type":"interface","name":"Ability","description":"Choose a Ability","children":{"ActivatedAbility":{"$ref":"#/definitions/ActivatedAbility"},"TriggeredAbility":{"$ref":"#/definitions/TriggeredAbility"}}},"AbilityEffectOperator":{"type":"enum","name":"Ability Effect Operator","enum":["GAIN"]},"Action":{"type":"struct","name":"Action","description":"Build a Action","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Effects":{"$ref":"#/definitions/Effects"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Effects","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Effects §FlavourText §Tags §Keywords §RulesText"},"ActionCondition":{"type":"interface","name":"Action Condition","description":"Choose a Action Condition","children":{"ActionIntCondition":{"$ref":"#/definitions/ActionIntCondition"},"ActionStringCondition":{"$ref":"#/definitions/ActionStringCondition"},"ActionTagCondition":{"$ref":"#/definitions/ActionTagCondition"}}},"ActionConditions":{"type":"array","name":"Action Conditions","description":"Add some Action Conditions","children":{"ActionCondition":{"$ref":"#/definitions/ActionCondition"}},"max":3},"ActionEffectManipulation":{"type":"struct","name":"Action Effect Manipulation","description":"Build a Action Effect Manipulation","children":{"Effect":{"$ref":"#/definitions/Effect"},"EffectOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["EffectOperator"],"interactionText":"It §EffectOperator §Effect.(§Keyword)"},"ActionExtractor":{"type":"interface","name":"Action Extractor","description":"Choose a Action Extractor","children":{"ActionIntExtractor":{"$ref":"#/definitions/ActionIntExtractor"},"ActionStringExtractor":{"$ref":"#/definitions/ActionStringExtractor"},"ActionTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"ActionExtractors":{"type":"array","name":"Action Extractors","description":"Add some Action Extractors","children":{"ActionExtractor":{"$ref":"#/definitions/ActionExtractor"}},"max":3},"ActionIntCondition":{"type":"struct","name":"Action Int Condition","description":"Build a Action Int Condition","children":{"ActionIntProperty":{"$ref":"#/definitions/ActionIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["ActionIntProperty","IntValue","IntComparator"],"interactionText":"with §ActionIntProperty §IntComparator §IntValue"},"ActionIntExtractor":{"type":"struct","name":"Action Int Extractor","description":"Build a Action Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/ActionIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the actions §ExtractIntProperty."},"ActionIntManipulation":{"type":"struct","name":"Action Int Manipulation","description":"Build a Action Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/ActionIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"ActionIntProperty":{"type":"enum","name":"Action Int Property","enum":["BASECOSTSUM","COSTSUM"]},"ActionManipulation":{"type":"interface","name":"Action Manipulation","description":"Choose a Action Manipulation","children":{"ActionEffectManipulation":{"$ref":"#/definitions/ActionEffectManipulation"},"ActionIntManipulation":{"$ref":"#/definitions/ActionIntManipulation"},"ActionStringManipulation":{"$ref":"#/definitions/ActionStringManipulation"},"ActionTagManipulation":{"$ref":"#/definitions/ActionTagManipulation"},"ActionZoneChange":{"$ref":"#/definitions/ActionZoneChange"}}},"ActionManipulations":{"type":"array","name":"Action Manipulations","description":"Add some Action Manipulations","children":{"ActionManipulation":{"$ref":"#/definitions/ActionManipulation"}},"max":3},"ActionSelector":{"type":"struct","name":"Action Selector","description":"Build a Action Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"ActionConditions":{"$ref":"#/definitions/ActionConditions"},"ActionZone":{"$ref":"#/definitions/ActionZone"},"ActionExtractors":{"$ref":"#/definitions/ActionExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode","ActionZone"],"interactionText":"Choose §CardMode action §ActionConditions in the §ActionZone of §PlayerMode player §PlayerCondition. §ActionExtractors §AmountExtractor"},"ActionStringCondition":{"type":"struct","name":"Action String Condition","description":"Build a Action String Condition","children":{"ActionStringProperty":{"$ref":"#/definitions/ActionStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["ActionStringProperty","StringValue","StringComparator"],"interactionText":"with §ActionStringProperty §StringComparator §StringValue"},"ActionStringExtractor":{"type":"struct","name":"Action String Extractor","description":"Build a Action String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/ActionStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the actions §ExtractStringProperty."},"ActionStringManipulation":{"type":"struct","name":"Action String Manipulation","description":"Build a Action String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/ActionStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"ActionStringProperty":{"type":"enum","name":"Action String Property","enum":["NAME","TEXT"]},"ActionTagCondition":{"type":"struct","name":"Action Tag Condition","description":"Build a Action Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"ActionTagManipulation":{"type":"struct","name":"Action Tag Manipulation","description":"Build a Action Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"§TagOperator tag §TagValue.(§Keyword)"},"ActionTargetEffect":{"type":"struct","name":"Action Target Effect","description":"Build a Action Target Effect","children":{"ActionSelector":{"$ref":"#/definitions/ActionSelector"},"ActionManipulations":{"$ref":"#/definitions/ActionManipulations"}},"required":["ActionSelector","ActionManipulations"],"interactionText":"§ActionSelector §ActionManipulations"},"ActionZone":{"type":"enum","name":"Action Zone","enum":["DECK","DUSTPILE","HAND","VOID"]},"ActionZoneChange":{"type":"struct","name":"Action Zone Change","description":"Build a Action Zone Change","children":{"Zone":{"$ref":"#/definitions/ActionZone"},"Player":{"$ref":"#/definitions/PlayerMode"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["Zone","Player"],"interactionText":"Put it into §Player §Zone.(§Keyword)"},"ActivatedAbility":{"type":"struct","name":"Activated Ability","description":"Build a Activated Ability","children":{"AbilityCost":{"$ref":"#/definitions/Cost"},"Effects":{"$ref":"#/definitions/Effects"}},"required":["AbilityCost","Effects"],"interactionText":"Pay §AbilityCost: §Effects \n"},"ArithOperator":{"type":"enum","name":"Arith Operator","enum":["ADD","SUBTRACT"]},"Attack":{"type":"int","name":"Attack","max":32},"AttackEventListener":{"type":"struct","name":"Attack Event Listener","description":"Build a Attack Event Listener","children":{"EntityCondition":{"$ref":"#/definitions/EntityCondition"},"AttackEntityExtractors":{"$ref":"#/definitions/EntityExtractors"}},"interactionText":"Whenever an entity §EntityCondition attacks. §AttackEntityExtractors"},"BasicAmount":{"type":"int","name":"Basic Amount","max":32},"BlockEventListener":{"type":"struct","name":"Block Event Listener","description":"Build a Block Event Listener","children":{"EntityCondition":{"$ref":"#/definitions/EntityCondition"},"BlockingEntityExtractors":{"$ref":"#/definitions/EntityExtractors"},"BlockedEntityExtractors":{"$ref":"#/definitions/EntityExtractors"}},"interactionText":"Whenever an entity §EntityCondition blocks. §BlockingEntityExtractors §BlockedEntityExtractors"},"Card":{"type":"interface","name":"Card","description":"Choose a Card","children":{"Action":{"$ref":"#/definitions/Action"},"Entity":{"$ref":"#/definitions/Entity"},"Place":{"$ref":"#/definitions/Place"},"Headquarter":{"$ref":"#/definitions/Headquarter"}}},"CardConditions":{"type":"interface","name":"Card Conditions","description":"Choose a Card Conditions","children":{"ActionConditions":{"$ref":"#/definitions/ActionConditions"},"EntityConditions":{"$ref":"#/definitions/EntityConditions"},"HeadquarterConditions":{"$ref":"#/definitions/HeadquarterConditions"},"PlaceConditions":{"$ref":"#/definitions/PlaceConditions"},"ThisConditions":{"$ref":"#/definitions/ThisCondition"}}},"CardExtractors":{"type":"interface","name":"Card Extractors","description":"Choose a Card Extractors","children":{"ActionExtractors":{"$ref":"#/definitions/ActionExtractors"},"EntityExtractors":{"$ref":"#/definitions/EntityExtractors"},"HeadquarterExtractors":{"$ref":"#/definitions/HeadquarterExtractors"},"PlaceExtractors":{"$ref":"#/definitions/PlaceExtractors"}}},"CardIntProperty":{"type":"enum","name":"Card Int Property","enum":["ATTACK","COSTSUM","HEALTH"]},"CardMode":{"type":"enum","name":"Card Mode","enum":["ALL","OPPONENTSCHOICE","RANDOM","TARGET"]},"CardName":{"type":"string","name":"Card Name","max":32,"min":1},"CardStringProperty":{"type":"enum","name":"Card String Property","enum":["NAME","TEXT"]},"CastingCost":{"type":"int","name":"Casting Cost","max":32},"ChooseFromEffect":{"type":"struct","name":"Choose From Effect","description":"Build a Choose From Effect","children":{"Effects":{"$ref":"#/definitions/Effects"}},"required":["Effects"],"interactionText":"Do one of §Effects."},"Class":{"type":"struct","name":"Class","description":"Build a Class","children":{"Nature":{"$ref":"#/definitions/Nature"},"Mysticism":{"$ref":"#/definitions/Mysticism"},"Technology":{"$ref":"#/definitions/Technology"},"Culture":{"$ref":"#/definitions/Culture"}},"required":["Nature","Mysticism","Technology","Culture"],"interactionText":"§Nature §Mysticism §Technology §Culture"},"ComplexIntValue":{"type":"struct","name":"Complex Int Value","description":"Build a Complex Int Value","children":{"FirstValue":{"$ref":"#/definitions/IntValue"},"SecondValue":{"$ref":"#/definitions/IntValue"},"ArithOperator":{"$ref":"#/definitions/ArithOperator"}},"required":["FirstValue","SecondValue","ArithOperator"],"interactionText":"§FirstValue §ArithOperator §SecondValue"},"Cost":{"type":"struct","name":"Cost","description":"Build a Cost","children":{"ManaCost":{"$ref":"#/definitions/ManaCost"},"SacrificeCost":{"$ref":"#/definitions/SacrificeCost"},"DiscardCost":{"$ref":"#/definitions/DiscardCost"},"VoidCost":{"$ref":"#/definitions/VoidCost"}},"interactionText":"§ManaCost §SacrificeCost §DiscardCost §VoidCost"},"Culture":{"type":"bool","name":"Culture"},"Delay":{"type":"int","name":"Delay","max":32},"DiscardCost":{"type":"struct","name":"Discard Cost","description":"Build a Discard Cost","children":{"Amount":{"$ref":"#/definitions/BasicAmount"},"Conditions":{"$ref":"#/definitions/CardConditions"}},"required":["Amount","Conditions"],"interactionText":"Discard §Amount card §Conditions"},"DynamicZone":{"type":"enum","name":"Dynamic Zone","enum":["DECK","DUSTPILE","FIELD","HAND"]},"Effect":{"type":"interface","name":"Effect","description":"Choose a Effect","children":{"GrowthEffect":{"$ref":"#/definitions/GrowthEffect"},"ProductionEffect":{"$ref":"#/definitions/ProductionEffect"},"WisdomEffect":{"$ref":"#/definitions/WisdomEffect"},"TokenEffect":{"$ref":"#/definitions/TokenEffect"},"TargetEffect":{"$ref":"#/definitions/TargetEffect"},"ChooseFromEffect":{"$ref":"#/definitions/ChooseFromEffect"}}},"Effects":{"type":"array","name":"Effects","description":"Add some Effects","children":{"Effect":{"$ref":"#/definitions/Effect"}},"max":3},"Entity":{"type":"struct","name":"Entity","description":"Build a Entity","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/Abilities"},"Attack":{"$ref":"#/definitions/Attack"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Attack","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Attack §Health §FlavourText §Tags §Keywords §RulesText"},"EntityAbilityManipulation":{"type":"struct","name":"Entity Ability Manipulation","description":"Build a Entity Ability Manipulation","children":{"Ability":{"$ref":"#/definitions/Ability"},"AbilityOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["AbilityOperator"],"interactionText":"It §AbilityOperator §Ability.(§Keyword)"},"EntityCondition":{"type":"interface","name":"Entity Condition","description":"Choose a Entity Condition","children":{"EntityIntCondition":{"$ref":"#/definitions/EntityIntCondition"},"EntityStringCondition":{"$ref":"#/definitions/EntityStringCondition"},"EntityTagCondition":{"$ref":"#/definitions/EntityTagCondition"}}},"EntityConditions":{"type":"array","name":"Entity Conditions","description":"Add some Entity Conditions","children":{"EntityCondition":{"$ref":"#/definitions/EntityCondition"}},"max":3},"EntityExtractor":{"type":"interface","name":"Entity Extractor","description":"Choose a Entity Extractor","children":{"EntityIntExtractor":{"$ref":"#/definitions/EntityIntExtractor"},"EntityStringExtractor":{"$ref":"#/definitions/EntityStringExtractor"},"EntityTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"EntityExtractors":{"type":"array","name":"Entity Extractors","description":"Add some Entity Extractors","children":{"EntityExtractor":{"$ref":"#/definitions/EntityExtractor"}},"max":3},"EntityIntCondition":{"type":"struct","name":"Entity Int Condition","description":"Build a Entity Int Condition","children":{"EntityIntProperty":{"$ref":"#/definitions/EntityIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["EntityIntProperty","IntValue","IntComparator"],"interactionText":"with §EntityIntProperty §IntComparator §IntValue"},"EntityIntExtractor":{"type":"struct","name":"Entity Int Extractor","description":"Build a Entity Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/EntityIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the entities §ExtractIntProperty."},"EntityIntManipulation":{"type":"struct","name":"Entity Int Manipulation","description":"Build a Entity Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/EntityIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"EntityIntProperty":{"type":"enum","name":"Entity Int Property","enum":["ATTACK","BASEATTACK","BASECOSTSUM","BASEHEALTH","COSTSUM","HEALTH"]},"EntityManipulation":{"type":"interface","name":"Entity Manipulation","description":"Choose a Entity Manipulation","children":{"EntityAbilityManipulation":{"$ref":"#/definitions/EntityAbilityManipulation"},"EntityIntManipulation":{"$ref":"#/definitions/EntityIntManipulation"},"EntityStringManipulation":{"$ref":"#/definitions/EntityStringManipulation"},"EntityTagManipulation":{"$ref":"#/definitions/EntityTagManipulation"},"EntityZoneChange":{"$ref":"#/definitions/EntityZoneChange"}}},"EntityManipulations":{"type":"array","name":"Entity Manipulations","description":"Add some Entity Manipulations","children":{"EntityManipulation":{"$ref":"#/definitions/EntityManipulation"}},"max":3},"EntitySelector":{"type":"struct","name":"Entity Selector","description":"Build a Entity Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"EntityConditions":{"$ref":"#/definitions/EntityConditions"},"EntityZone":{"$ref":"#/definitions/EntityZone"},"EntityExtractors":{"$ref":"#/definitions/EntityExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode","EntityZone"],"interactionText":"Choose §CardMode entity §EntityConditions in the §EntityZone of §PlayerMode player §PlayerCondition. §EntityExtractors §AmountExtractor"},"EntityStringCondition":{"type":"struct","name":"Entity String Condition","description":"Build a Entity String Condition","children":{"EntityStringProperty":{"$ref":"#/definitions/EntityStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["EntityStringProperty","StringValue","StringComparator"],"interactionText":"with §EntityStringProperty §StringComparator §StringValue"},"EntityStringExtractor":{"type":"struct","name":"Entity String Extractor","description":"Build a Entity String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/EntityStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the entities §ExtractStringProperty."},"EntityStringManipulation":{"type":"struct","name":"Entity String Manipulation","description":"Build a Entity String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/EntityStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"EntityStringProperty":{"type":"enum","name":"Entity String Property","enum":["NAME","TEXT"]},"EntityTagCondition":{"type":"struct","name":"Entity Tag Condition","description":"Build a Entity Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"EntityTagManipulation":{"type":"struct","name":"Entity Tag Manipulation","description":"Build a Entity Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"It §TagOperator §TagValue.(§Keyword)"},"EntityTargetEffect":{"type":"struct","name":"Entity Target Effect","description":"Build a Entity Target Effect","children":{"EntitySelector":{"$ref":"#/definitions/EntitySelector"},"EntityManipulations":{"$ref":"#/definitions/EntityManipulations"}},"required":["EntitySelector","EntityManipulations"],"interactionText":"§EntitySelector §EntityManipulations"},"EntityZone":{"type":"enum","name":"Entity Zone","enum":["ATTACKLANE","BLOCKLANE","DECK","DUSTPILE","FIELD","HAND","VOID"]},"EntityZoneChange":{"type":"struct","name":"Entity Zone Change","description":"Build a Entity Zone Change","children":{"Zone":{"$ref":"#/definitions/EntityZone"},"Player":{"$ref":"#/definitions/PlayerMode"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["Zone","Player"],"interactionText":"Put it into §Player §Zone.(§Keyword)"},"EventListener":{"type":"interface","name":"Event Listener","description":"Choose a Event Listener","children":{"AttackEventListener":{"$ref":"#/definitions/AttackEventListener"},"BlockEventListener":{"$ref":"#/definitions/BlockEventListener"},"ManipulationEventListener":{"$ref":"#/definitions/ManipulationEventListener"},"ProductionEventListener":{"$ref":"#/definitions/ProductionEventListener"},"TimeEventListener":{"$ref":"#/definitions/TimeEventListener"},"ZoneChangeEventListener":{"$ref":"#/definitions/ZoneChangeEventListener"}}},"ExtractorTargetEffect":{"type":"struct","name":"Extractor Target Effect","description":"Build a Extractor Target Effect","children":{"TargetVariable":{"$ref":"#/definitions/TargetVariableName"},"Manipulations":{"$ref":"#/definitions/Manipulations"}},"required":["TargetVariable","Manipulations"],"interactionText":"Choose §TargetVariable. §Manipulations"},"FlavourText":{"type":"string","name":"Flavour Text","max":1000,"min":1},"GrowthEffect":{"type":"struct","name":"Growth Effect","description":"Build a Growth Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"},"GrowthAmount":{"$ref":"#/definitions/IntValue"}},"required":["GrowthAmount"],"interactionText":"Gain §GrowthAmount growth. (§Keyword)"},"Headquarter":{"type":"struct","name":"Headquarter","description":"Build a Headquarter","children":{"CardName":{"$ref":"#/definitions/CardName"},"Class":{"$ref":"#/definitions/Class"},"Delay":{"$ref":"#/definitions/Delay"},"Abilities":{"$ref":"#/definitions/Abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","Class","Delay","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §Class §Delay §Abilities §Health §FlavourText §Tags §Keywords §RulesText"},"HeadquarterAbilityManipulation":{"type":"struct","name":"Headquarter Ability Manipulation","description":"Build a Headquarter Ability Manipulation","children":{"Ability":{"$ref":"#/definitions/Ability"},"AbilityOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["AbilityOperator"],"interactionText":"It §AbilityOperator §Effect.(§Keyword)"},"HeadquarterCondition":{"type":"interface","name":"Headquarter Condition","description":"Choose a Headquarter Condition","children":{"HeadquarterIntCondition":{"$ref":"#/definitions/HeadquarterIntCondition"},"HeadquarterStringCondition":{"$ref":"#/definitions/HeadquarterStringCondition"},"HeadquarterTagCondition":{"$ref":"#/definitions/HeadquarterTagCondition"}}},"HeadquarterConditions":{"type":"array","name":"Headquarter Conditions","description":"Add some Headquarter Conditions","children":{"HeadquarterCondition":{"$ref":"#/definitions/HeadquarterCondition"}},"max":3},"HeadquarterExtractor":{"type":"interface","name":"Headquarter Extractor","description":"Choose a Headquarter Extractor","children":{"HeadquarterIntExtractor":{"$ref":"#/definitions/HeadquarterIntExtractor"},"HeadquarterStringExtractor":{"$ref":"#/definitions/HeadquarterStringExtractor"},"HeadquarterTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"HeadquarterExtractors":{"type":"array","name":"Headquarter Extractors","description":"Add some Headquarter Extractors","children":{"HeadquarterExtractor":{"$ref":"#/definitions/HeadquarterExtractor"}},"max":3},"HeadquarterIntCondition":{"type":"struct","name":"Headquarter Int Condition","description":"Build a Headquarter Int Condition","children":{"HeadquarterIntProperty":{"$ref":"#/definitions/HeadquarterIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["HeadquarterIntProperty","IntValue","IntComparator"],"interactionText":"with §HeadquarterIntProperty §IntComparator §IntValue"},"HeadquarterIntExtractor":{"type":"struct","name":"Headquarter Int Extractor","description":"Build a Headquarter Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/HeadquarterIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the actions §ExtractIntProperty."},"HeadquarterIntManipulation":{"type":"struct","name":"Headquarter Int Manipulation","description":"Build a Headquarter Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/HeadquarterIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"HeadquarterIntProperty":{"type":"enum","name":"Headquarter Int Property","enum":["BASEHEALTH","HEALTH"]},"HeadquarterManipulation":{"type":"interface","name":"Headquarter Manipulation","description":"Choose a Headquarter Manipulation","children":{"HeadquarterEffectManipulation":{"$ref":"#/definitions/HeadquarterAbilityManipulation"},"HeadquarterIntManipulation":{"$ref":"#/definitions/HeadquarterIntManipulation"},"HeadquarterStringManipulation":{"$ref":"#/definitions/HeadquarterStringManipulation"},"HeadquarterTagManipulation":{"$ref":"#/definitions/HeadquarterTagManipulation"}}},"HeadquarterManipulations":{"type":"array","name":"Headquarter Manipulations","description":"Add some Headquarter Manipulations","children":{"HeadquarterManipulation":{"$ref":"#/definitions/HeadquarterManipulation"}},"max":3},"HeadquarterSelector":{"type":"struct","name":"Headquarter Selector","description":"Build a Headquarter Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"HeadquarterConditions":{"$ref":"#/definitions/HeadquarterConditions"},"HeadquarterExtractors":{"$ref":"#/definitions/HeadquarterExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode"],"interactionText":"Choose §CardMode action §HeadquarterConditions in the §HeadquarterZone of §PlayerMode player §PlayerCondition. §HeadquarterExtractors §AmountExtractor"},"HeadquarterStringCondition":{"type":"struct","name":"Headquarter String Condition","description":"Build a Headquarter String Condition","children":{"HeadquarterStringProperty":{"$ref":"#/definitions/HeadquarterStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["HeadquarterStringProperty","StringValue","StringComparator"],"interactionText":"with §HeadquarterStringProperty §StringComparator §StringValue"},"HeadquarterStringExtractor":{"type":"struct","name":"Headquarter String Extractor","description":"Build a Headquarter String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/HeadquarterStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the actions §ExtractStringProperty."},"HeadquarterStringManipulation":{"type":"struct","name":"Headquarter String Manipulation","description":"Build a Headquarter String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/HeadquarterStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"HeadquarterStringProperty":{"type":"enum","name":"Headquarter String Property","enum":["NAME","TEXT"]},"HeadquarterTagCondition":{"type":"struct","name":"Headquarter Tag Condition","description":"Build a Headquarter Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"HeadquarterTagManipulation":{"type":"struct","name":"Headquarter Tag Manipulation","description":"Build a Headquarter Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"§TagOperator tag §TagValue.(§Keyword)"},"HeadquarterTargetEffect":{"type":"struct","name":"Headquarter Target Effect","description":"Build a Headquarter Target Effect","children":{"HeadquarterSelector":{"$ref":"#/definitions/HeadquarterSelector"},"HeadquarterManipulations":{"$ref":"#/definitions/HeadquarterManipulations"}},"required":["HeadquarterSelector","HeadquarterManipulations"],"interactionText":"§HeadquarterSelector §HeadquarterManipulations"},"Health":{"type":"int","name":"Health","max":32},"IntChangeMode":{"type":"enum","name":"Int Change Mode","enum":["INCREASES","DECREASES","CHANGES"]},"IntComparator":{"type":"enum","name":"Int Comparator","enum":["EQUAL","GREATER","LESSER"]},"IntExtractor":{"type":"struct","name":"Int Extractor","description":"Build a Int Extractor","children":{"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["IntVariableName"],"interactionText":"Set §IntVariableName."},"IntManipulationEventListener":{"type":"struct","name":"Int Manipulation Event Listener","description":"Build a Int Manipulation Event Listener","children":{"IntProperty":{"$ref":"#/definitions/CardIntProperty"},"IntChangeMode":{"$ref":"#/definitions/IntChangeMode"},"CardCondition":{"$ref":"#/definitions/CardConditions"},"ManipulatedCardExtractor":{"$ref":"#/definitions/CardExtractors"},"ManipulationValueExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["IntProperty","IntChangeMode"],"interactionText":"Whenever §IntProperty on card §CardCondition §IntChangeMode. §ManipulatedCardExtractors §ManipulationValueExtractor"},"IntOperator":{"type":"enum","name":"Int Operator","enum":["SET","ADD","SUBTRACT"]},"IntValue":{"type":"interface","name":"Int Value","description":"Choose a Int Value","children":{"ComplexIntValue":{"$ref":"#/definitions/ComplexIntValue"},"SimpleIntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntVariable":{"$ref":"#/definitions/IntVariableName"}}},"IntVariableName":{"type":"enum","name":"Int Variable Name","enum":["X","Y","Z"]},"Keyword":{"type":"enum","name":"Keyword","enum":["ANTHEM","ARM","ARRIVAL","BATTLECRY","HARM","KILL","ONCONSTRUCTION","ONDEATH","ONSPAWN","PAY","PERIODIC","PRODUCE","REPAIR","TRIBUTE"]},"Keywords":{"type":"array","name":"Keywords","description":"Add some Keywords","children":{"Keyword":{"$ref":"#/definitions/Keyword"}},"max":3,"min":1},"ManaCost":{"type":"struct","name":"Mana Cost","description":"Build a Mana Cost","children":{"CostAmount":{"$ref":"#/definitions/BasicAmount"}},"required":["CostAmount"],"interactionText":"§CostAmount mana"},"ManipulationEventListener":{"type":"interface","name":"Manipulation Event Listener","description":"Choose a Manipulation Event Listener","children":{"IntManipulationEventListener":{"$ref":"#/definitions/IntManipulationEventListener"},"StringManipulationEventListener":{"$ref":"#/definitions/StringManipulationEventListener"}}},"Manipulations":{"type":"interface","name":"Manipulations","description":"Choose a Manipulations","children":{"ActionManipulations":{"$ref":"#/definitions/ActionManipulations"},"EntityManipulations":{"$ref":"#/definitions/EntityManipulations"},"HeadquarterManipulations":{"$ref":"#/definitions/HeadquarterManipulations"},"PlaceManipulations":{"$ref":"#/definitions/PlaceManipulations"}}},"Mysticism":{"type":"bool","name":"Mysticism"},"Nature":{"type":"bool","name":"Nature"},"Place":{"type":"struct","name":"Place","description":"Build a Place","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/Abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Health §FlavourText §Tags §Keywords §RulesText"},"PlaceAbilityManipulation":{"type":"struct","name":"Place Ability Manipulation","description":"Build a Place Ability Manipulation","children":{"Ability":{"$ref":"#/definitions/Ability"},"AbilityOperator":{"$ref":"#/definitions/AbilityEffectOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["AbilityOperator"],"interactionText":"It §AbilityOperator §Ability.(§Keyword)"},"PlaceCondition":{"type":"interface","name":"Place Condition","description":"Choose a Place Condition","children":{"PlaceIntCondition":{"$ref":"#/definitions/PlaceIntCondition"},"PlaceStringCondition":{"$ref":"#/definitions/PlaceStringCondition"},"PlaceTagCondition":{"$ref":"#/definitions/PlaceTagCondition"}}},"PlaceConditions":{"type":"array","name":"Place Conditions","description":"Add some Place Conditions","children":{"PlaceCondition":{"$ref":"#/definitions/PlaceCondition"}},"max":3},"PlaceExtractor":{"type":"interface","name":"Place Extractor","description":"Choose a Place Extractor","children":{"PlaceIntExtractor":{"$ref":"#/definitions/PlaceIntExtractor"},"PlaceStringExtractor":{"$ref":"#/definitions/PlaceStringExtractor"},"PlaceTargetExtractor":{"$ref":"#/definitions/TargetExtractor"}}},"PlaceExtractors":{"type":"array","name":"Place Extractors","description":"Add some Place Extractors","children":{"PlaceExtractor":{"$ref":"#/definitions/PlaceExtractor"}},"max":3},"PlaceIntCondition":{"type":"struct","name":"Place Int Condition","description":"Build a Place Int Condition","children":{"PlaceIntProperty":{"$ref":"#/definitions/PlaceIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["PlaceIntProperty","IntValue","IntComparator"],"interactionText":"with §PlaceIntProperty §IntComparator §IntValue"},"PlaceIntExtractor":{"type":"struct","name":"Place Int Extractor","description":"Build a Place Int Extractor","children":{"ExtractIntProperty":{"$ref":"#/definitions/PlaceIntProperty"},"IntVariableName":{"$ref":"#/definitions/IntVariableName"}},"required":["ExtractIntProperty","IntVariableName"],"interactionText":"Set §IntVariableName to the places §ExtractIntProperty."},"PlaceIntManipulation":{"type":"struct","name":"Place Int Manipulation","description":"Build a Place Int Manipulation","children":{"IntProperty":{"$ref":"#/definitions/PlaceIntProperty"},"IntOperator":{"$ref":"#/definitions/IntOperator"},"IntValue":{"$ref":"#/definitions/IntValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["IntProperty","IntOperator","IntValue"],"interactionText":"§IntOperator §IntProperty §IntValue.(§Keyword)"},"PlaceIntProperty":{"type":"enum","name":"Place Int Property","enum":["BASECOSTSUM","BASEHEALTH","COSTSUM","HEALTH"]},"PlaceManipulation":{"type":"interface","name":"Place Manipulation","description":"Choose a Place Manipulation","children":{"PlaceAbilityManipulation":{"$ref":"#/definitions/PlaceAbilityManipulation"},"PlaceIntManipulation":{"$ref":"#/definitions/PlaceIntManipulation"},"PlaceStringManipulation":{"$ref":"#/definitions/PlaceStringManipulation"},"PlaceTagManipulation":{"$ref":"#/definitions/PlaceTagManipulation"},"PlaceZoneChange":{"$ref":"#/definitions/PlaceZoneChange"}}},"PlaceManipulations":{"type":"array","name":"Place Manipulations","description":"Add some Place Manipulations","children":{"PlaceManipulation":{"$ref":"#/definitions/PlaceManipulation"}},"max":3},"PlaceSelector":{"type":"struct","name":"Place Selector","description":"Build a Place Selector","children":{"PlayerMode":{"$ref":"#/definitions/PlayerMode"},"PlayerCondition":{"$ref":"#/definitions/PlayerCondition"},"CardMode":{"$ref":"#/definitions/CardMode"},"PlaceConditions":{"$ref":"#/definitions/PlaceConditions"},"PlaceZone":{"$ref":"#/definitions/PlaceZone"},"PlaceExtractors":{"$ref":"#/definitions/PlaceExtractors"},"AmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"required":["PlayerMode","CardMode","PlaceZone"],"interactionText":"Choose §CardMode place §PlaceConditions in the §PlaceZone of §PlayerMode player §PlayerCondition. §PlaceExtractors §AmountExtractor"},"PlaceStringCondition":{"type":"struct","name":"Place String Condition","description":"Build a Place String Condition","children":{"PlaceStringProperty":{"$ref":"#/definitions/PlaceStringProperty"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["PlaceStringProperty","StringValue","StringComparator"],"interactionText":"with §PlaceStringProperty §StringComparator §StringValue"},"PlaceStringExtractor":{"type":"struct","name":"Place String Extractor","description":"Build a Place String Extractor","children":{"ExtractStringProperty":{"$ref":"#/definitions/PlaceStringProperty"},"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["ExtractStringProperty","StringVariableName"],"interactionText":"Set §StringVariableName to the places §ExtractStringProperty."},"PlaceStringManipulation":{"type":"struct","name":"Place String Manipulation","description":"Build a Place String Manipulation","children":{"StringProperty":{"$ref":"#/definitions/PlaceStringProperty"},"StringOperator":{"$ref":"#/definitions/StringOperator"},"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["StringProperty","StringOperator","StringValue"],"interactionText":"§StringOperator §StringProperty §StringValue.(§Keyword)"},"PlaceStringProperty":{"type":"enum","name":"Place String Property","enum":["NAME","TEXT"]},"PlaceTagCondition":{"type":"struct","name":"Place Tag Condition","description":"Build a Place Tag Condition","children":{"StringValue":{"$ref":"#/definitions/SimpleStringValue"},"StringComparator":{"$ref":"#/definitions/StringComparator"}},"required":["StringValue","StringComparator"],"interactionText":"with tag §StringComparator §StringValue"},"PlaceTagManipulation":{"type":"struct","name":"Place Tag Manipulation","description":"Build a Place Tag Manipulation","children":{"TagValue":{"$ref":"#/definitions/Tag"},"TagOperator":{"$ref":"#/definitions/StringOperator"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["TagValue","TagOperator"],"interactionText":"It §TagOperator §TagValue.(§Keyword)"},"PlaceTargetEffect":{"type":"struct","name":"Place Target Effect","description":"Build a Place Target Effect","children":{"PlaceSelector":{"$ref":"#/definitions/PlaceSelector"},"PlaceManipulations":{"$ref":"#/definitions/PlaceManipulations"}},"required":["PlaceSelector","PlaceManipulations"],"interactionText":"§PlaceSelector §PlaceManipulations"},"PlaceZone":{"type":"enum","name":"Place Zone","enum":["DECK","DUSTPILE","FIELD","HAND","VOID"]},"PlaceZoneChange":{"type":"struct","name":"Place Zone Change","description":"Build a Place Zone Change","children":{"Zone":{"$ref":"#/definitions/PlaceZone"},"Player":{"$ref":"#/definitions/PlayerMode"},"Keyword":{"$ref":"#/definitions/Keyword"}},"required":["Zone","Player"],"interactionText":"Put it into §Player §Zone.(§Keyword)"},"PlayerCondition":{"type":"interface","name":"Player Condition","description":"Choose a Player Condition","children":{"PlayerIntCondition":{"$ref":"#/definitions/PlayerIntCondition"}}},"PlayerIntCondition":{"type":"struct","name":"Player Int Condition","description":"Build a Player Int Condition","children":{"PlayerIntProperty":{"$ref":"#/definitions/PlayerIntProperty"},"IntValue":{"$ref":"#/definitions/SimpleIntValue"},"IntComparator":{"$ref":"#/definitions/IntComparator"}},"required":["PlayerIntProperty","IntValue","IntComparator"],"interactionText":"with §PlayerIntProperty §IntComparator §IntValue"},"PlayerIntProperty":{"type":"enum","name":"Player Int Property","enum":["HANDSIZE","BOARDSIZE","DECKSIZE"]},"PlayerMode":{"type":"enum","name":"Player Mode","enum":["YOU","OPPONENT"]},"ProductionEffect":{"type":"struct","name":"Production Effect","description":"Build a Production Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"},"Amount":{"$ref":"#/definitions/IntValue"}},"required":["Amount"],"interactionText":"Produce §Amount. (§Keyword)"},"ProductionEventListener":{"type":"struct","name":"Production Event Listener","description":"Build a Production Event Listener","children":{"ClassCondition":{"$ref":"#/definitions/Class"},"ProductionAmountExtractor":{"$ref":"#/definitions/IntExtractor"}},"interactionText":"Whenever one or more §ClassCondition mana is produced. §ProductionAmountExtractor"},"RulesText":{"type":"string","name":"Rules Text","max":1000},"SacrificeCost":{"type":"struct","name":"Sacrifice Cost","description":"Build a Sacrifice Cost","children":{"Amount":{"$ref":"#/definitions/BasicAmount"},"Conditions":{"$ref":"#/definitions/CardConditions"}},"required":["Amount","Conditions"],"interactionText":"Sacrifice §Amount card §Conditions"},"SimpleIntValue":{"type":"int","name":"Simple Int Value","max":32},"SimpleStringValue":{"type":"string","name":"Simple String Value","max":32,"min":1},"StringChangeMode":{"type":"enum","name":"String Change Mode","enum":["CHANGES"]},"StringComparator":{"type":"enum","name":"String Comparator","enum":["EQUAL","CONTAINS","UNEQUAL","CONTAINSNOT"]},"StringExtractor":{"type":"struct","name":"String Extractor","description":"Build a String Extractor","children":{"StringVariableName":{"$ref":"#/definitions/StringVariableName"}},"required":["StringVariableName"],"interactionText":"Set §StringVariableName."},"StringManipulationEventListener":{"type":"struct","name":"String Manipulation Event Listener","description":"Build a String Manipulation Event Listener","children":{"StringProperty":{"$ref":"#/definitions/CardStringProperty"},"StringChangeMode":{"$ref":"#/definitions/StringChangeMode"},"CardCondition":{"$ref":"#/definitions/CardConditions"},"ManipulatedCardExtractor":{"$ref":"#/definitions/CardExtractors"},"ManipulationValueExtractor":{"$ref":"#/definitions/StringExtractor"}},"required":["StringProperty","StringChangeMode"],"interactionText":"Whenever §StringProperty §StringChangeMode on a card §CardCondition. §ManipulatedCardExtractors §ManipulationValueExtractor"},"StringOperator":{"type":"enum","name":"String Operator","enum":["SET"]},"StringVariableName":{"type":"enum","name":"String Variable Name","enum":["A","B","C"]},"Tag":{"type":"enum","name":"Tag","enum":["ANIMAL","BOT","DWARF","ENGINEER","EQUIPMENT","FARM","FIRE","HUMAN","KNIGHT","MAGIC","MILITANT","PRIMITIVE","RANGE","SPIRITUAL","TACTIC","TECHNOCRAT"]},"Tags":{"type":"array","name":"Tags","description":"Add some Tags","children":{"Tag":{"$ref":"#/definitions/Tag"}},"max":3,"min":1},"TargetEffect":{"type":"interface","name":"Target Effect","description":"Choose a Target Effect","children":{"ActionTargetEffect":{"$ref":"#/definitions/ActionTargetEffect"},"EntityTargetEffect":{"$ref":"#/definitions/EntityTargetEffect"},"HeadquarterTargetEffect":{"$ref":"#/definitions/HeadquarterTargetEffect"},"PlaceTargetEffect":{"$ref":"#/definitions/PlaceTargetEffect"},"ExtractorTargetEffect":{"$ref":"#/definitions/ExtractorTargetEffect"}}},"TargetExtractor":{"type":"struct","name":"Target Extractor","description":"Build a Target Extractor","children":{"TargetVariableName":{"$ref":"#/definitions/TargetVariableName"}},"required":["TargetVariableName"],"interactionText":"That card is marked as §TargetVariableName."},"TargetVariableName":{"type":"enum","name":"Target Variable Name","enum":["M","T"]},"Technology":{"type":"bool","name":"Technology"},"ThisCondition":{"type":"struct","name":"This Condition","description":"Build a This Condition","children":{},"interactionText":"this"},"TimeEvent":{"type":"enum","name":"Time Event","enum":["COMBAT","TICKSTART"]},"TimeEventListener":{"type":"struct","name":"Time Event Listener","description":"Build a Time Event Listener","children":{"TimeEvent":{"$ref":"#/definitions/TimeEvent"}},"required":["TimeEvent"],"interactionText":"Every §TimeEvent"},"Token":{"type":"struct","name":"Token","description":"Build a Token","children":{"Name":{"$ref":"#/definitions/CardName"},"Attack":{"$ref":"#/definitions/Attack"},"Health":{"$ref":"#/definitions/Health"},"Tags":{"$ref":"#/definitions/Tags"}},"required":["Attack","Health"],"interactionText":"§Attack / §Health token named §Name tagged §Tags"},"TokenEffect":{"type":"struct","name":"Token Effect","description":"Build a Token Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"},"TokenAmount":{"$ref":"#/definitions/IntValue"},"Token":{"$ref":"#/definitions/Token"}},"required":["TokenAmount","Token"],"interactionText":"Create §TokenAmount §Token. (§Keyword)"},"TriggeredAbility":{"type":"struct","name":"Triggered Ability","description":"Build a Triggered Ability","children":{"Cause":{"$ref":"#/definitions/EventListener"},"Cost":{"$ref":"#/definitions/Cost"},"Effects":{"$ref":"#/definitions/Effects"}},"required":["Cause","Effects"],"interactionText":"§Cause , §Cost : §Effects \n"},"VoidCost":{"type":"struct","name":"Void Cost","description":"Build a Void Cost","children":{"Amount":{"$ref":"#/definitions/BasicAmount"},"Conditions":{"$ref":"#/definitions/CardConditions"}},"required":["Amount","Conditions"],"interactionText":"Void §Amount card §Conditions"},"WisdomEffect":{"type":"struct","name":"Wisdom Effect","description":"Build a Wisdom Effect","children":{"Keyword":{"$ref":"#/definitions/Keyword"}},"interactionText":"Gain §WisdomAmount wisdom. (§Keyword)"},"Zone":{"type":"enum","name":"Zone","enum":["DECK","DUSTPILE","FIELD","HAND","VOID"]},"ZoneChangeEventListener":{"type":"struct","name":"Zone Change Event Listener","description":"Build a Zone Change Event Listener","children":{"Source":{"$ref":"#/definitions/DynamicZone"},"Destination":{"$ref":"#/definitions/Zone"},"CardCondition":{"$ref":"#/definitions/CardConditions"},"MovedCardExtractors":{"$ref":"#/definitions/CardExtractors"}},"interactionText":"Whenever a card §CardCondition gets put from §Source to §Destination. §MovedCardExtractors"}}} \ No newline at end of file diff --git a/cardobject/validatePrimitives.go b/cardobject/validatePrimitives.go index 521756a..11dae32 100644 --- a/cardobject/validatePrimitives.go +++ b/cardobject/validatePrimitives.go @@ -28,7 +28,7 @@ const minGrowth = 0 const maxHealth int = 32 const minHealth int = 0 const maxRulesTextLength int = 1000 -const minRulesTextLength int = 1 +const minRulesTextLength int = 0 const maxSimpleInt int = 32 const minSimpleInt int = 0 const maxSimpleStringLength = 32 diff --git a/keywordedSchema.json b/keywordedSchema.json index c425413..bbc016a 100644 --- a/keywordedSchema.json +++ b/keywordedSchema.json @@ -1 +1 @@ -{"Card":{"$ref":"#/definitions/card"},"definitions":{"Attack":{"type":"int","name":"Attack","max":32},"CardName":{"type":"string","name":"Card Name","max":32,"min":1},"CastingCost":{"type":"int","name":"Casting Cost","max":32},"Class":{"type":"struct","name":"Class","description":"Build a Class","children":{"Nature":{"$ref":"#/definitions/Nature"},"Mysticism":{"$ref":"#/definitions/Mysticism"},"Technology":{"$ref":"#/definitions/Technology"},"Culture":{"$ref":"#/definitions/Culture"}},"required":["Nature","Mysticism","Technology","Culture"],"interactionText":"§Nature §Mysticism §Technology §Culture"},"Culture":{"type":"bool","name":"Culture"},"Delay":{"type":"int","name":"Delay","max":32},"FlavourText":{"type":"string","name":"Flavour Text","max":1000,"min":1},"Health":{"type":"int","name":"Health","max":32},"Keyword":{"type":"enum","name":"Keyword","enum":["ANTHEM","ARM","ARRIVAL","BATTLECRY","HARM","KILL","ONCONSTRUCTION","ONDEATH","ONSPAWN","PAY","PERIODIC","PRODUCE","REPAIR","TRIBUTE"]},"Keywords":{"type":"array","name":"Keywords","description":"Add some Keywords","children":{"Keyword":{"$ref":"#/definitions/Keyword"}},"max":3,"min":1},"Mysticism":{"type":"bool","name":"Mysticism"},"Nature":{"type":"bool","name":"Nature"},"RulesText":{"type":"string","name":"Rules Text","max":1000,"min":1},"SimpleIntValue":{"type":"int","name":"Simple Int Value","max":32},"Tag":{"type":"enum","name":"Tag","enum":["ANIMAL","BOT","DWARF","ENGINEER","EQUIPMENT","FARM","FIRE","HUMAN","KNIGHT","MAGIC","MILITANT","PRIMITIVE","RANGE","SPIRITUAL","TACTIC","TECHNOCRAT"]},"Tags":{"type":"array","name":"Tags","description":"Add some Tags","children":{"Tag":{"$ref":"#/definitions/Tag"}},"max":3,"min":1},"Technology":{"type":"bool","name":"Technology"},"abilities":{"type":"array","name":"Abilities","description":"Add some Abilities","children":{"Ability":{"$ref":"#/definitions/ability"}},"max":3},"ability":{"type":"interface","name":"Ability","description":"Choose a Ability","children":{"Arrival":{"$ref":"#/definitions/arrival"},"Battlecry":{"$ref":"#/definitions/battlecry"},"OnConstruction":{"$ref":"#/definitions/onConstruction"},"OnDeath":{"$ref":"#/definitions/onDeath"},"OnSpawn":{"$ref":"#/definitions/onSpawn"},"Pay":{"$ref":"#/definitions/pay"},"Periodic":{"$ref":"#/definitions/periodic"},"Tribute":{"$ref":"#/definitions/tribute"}}},"action":{"type":"struct","name":"Action","description":"Build a Action","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Effects":{"$ref":"#/definitions/effects"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Effects","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Effects §FlavourText §Tags §Keywords §RulesText"},"anthem":{"type":"struct","name":"Anthem","description":"Build a Anthem","children":{"Tag":{"$ref":"#/definitions/Tag"}},"required":["Tag"],"interactionText":"Anthem §Tag."},"arm":{"type":"struct","name":"Arm","description":"Build a Arm","children":{"Amount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["Amount"],"interactionText":"Arm §Amount."},"arrival":{"type":"struct","name":"Arrival","description":"Build a Arrival","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When another entity spawns activate: §Effects."},"battlecry":{"type":"struct","name":"Battlecry","description":"Build a Battlecry","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"At the beginning of each combat activate: §Effects."},"card":{"type":"interface","name":"Card","description":"Choose a Card","children":{"Action":{"$ref":"#/definitions/action"},"Entity":{"$ref":"#/definitions/entity"},"Place":{"$ref":"#/definitions/place"},"Headquarter":{"$ref":"#/definitions/headquarter"}}},"effect":{"type":"interface","name":"Effect","description":"Choose a Effect","children":{"Anthem":{"$ref":"#/definitions/anthem"},"Arm":{"$ref":"#/definitions/arm"},"Harm":{"$ref":"#/definitions/harm"},"Kill":{"$ref":"#/definitions/kill"},"Produce":{"$ref":"#/definitions/produce"},"Repair":{"$ref":"#/definitions/repair"}}},"effects":{"type":"array","name":"Effects","description":"Add some Effects","children":{"Effect":{"$ref":"#/definitions/effect"}},"max":3},"entity":{"type":"struct","name":"Entity","description":"Build a Entity","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/abilities"},"Attack":{"$ref":"#/definitions/Attack"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Attack","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Attack §Health §FlavourText §Tags §Keywords §RulesText"},"harm":{"type":"struct","name":"Harm","description":"Build a Harm","children":{"Amount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["Amount"],"interactionText":"Harm §Amount."},"headquarter":{"type":"struct","name":"Headquarter","description":"Build a Headquarter","children":{"CardName":{"$ref":"#/definitions/CardName"},"Class":{"$ref":"#/definitions/Class"},"Delay":{"$ref":"#/definitions/Delay"},"Abilities":{"$ref":"#/definitions/abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","Class","Delay","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §Class §Delay §Abilities §Health §Growth §StartingHandSize §Wisdom §FlavourText §Tags §Keywords §RulesText"},"kill":{"type":"struct","name":"Kill","description":"Build a Kill","children":{},"interactionText":"Kill an entity."},"onConstruction":{"type":"struct","name":"On Construction","description":"Build a On Construction","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When another places spawns activate: §Effects."},"onDeath":{"type":"struct","name":"On Death","description":"Build a On Death","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When this dies activate: §Effects."},"onSpawn":{"type":"struct","name":"On Spawn","description":"Build a On Spawn","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When this spawns activate: §Effects."},"pay":{"type":"struct","name":"Pay","description":"Build a Pay","children":{"ManaAmount":{"$ref":"#/definitions/SimpleIntValue"},"Effects":{"$ref":"#/definitions/effects"}},"required":["ManaAmount","Effects"],"interactionText":"Pay §ManaAmount to activate: §Effects."},"periodic":{"type":"struct","name":"Periodic","description":"Build a Periodic","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"At the beginning of each tick activate: §Effects."},"place":{"type":"struct","name":"Place","description":"Build a Place","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Health §FlavourText §Tags §Keywords §RulesText"},"produce":{"type":"struct","name":"Produce","description":"Build a Produce","children":{"ManaAmount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["ManaAmount"],"interactionText":"Produce §ManaAmount mana."},"repair":{"type":"struct","name":"Repair","description":"Build a Repair","children":{"Amount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["Amount"],"interactionText":"Repair §Amount."},"tribute":{"type":"struct","name":"Tribute","description":"Build a Tribute","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"Sacrifice an entity to activate: §Effects."}}} \ No newline at end of file +{"Card":{"$ref":"#/definitions/card"},"definitions":{"Attack":{"type":"int","name":"Attack","max":32},"CardName":{"type":"string","name":"Card Name","max":32,"min":1},"CastingCost":{"type":"int","name":"Casting Cost","max":32},"Class":{"type":"struct","name":"Class","description":"Build a Class","children":{"Nature":{"$ref":"#/definitions/Nature"},"Mysticism":{"$ref":"#/definitions/Mysticism"},"Technology":{"$ref":"#/definitions/Technology"},"Culture":{"$ref":"#/definitions/Culture"}},"required":["Nature","Mysticism","Technology","Culture"],"interactionText":"§Nature §Mysticism §Technology §Culture"},"Culture":{"type":"bool","name":"Culture"},"Delay":{"type":"int","name":"Delay","max":32},"FlavourText":{"type":"string","name":"Flavour Text","max":1000,"min":1},"Health":{"type":"int","name":"Health","max":32},"Keyword":{"type":"enum","name":"Keyword","enum":["ANTHEM","ARM","ARRIVAL","BATTLECRY","HARM","KILL","ONCONSTRUCTION","ONDEATH","ONSPAWN","PAY","PERIODIC","PRODUCE","REPAIR","TRIBUTE"]},"Keywords":{"type":"array","name":"Keywords","description":"Add some Keywords","children":{"Keyword":{"$ref":"#/definitions/Keyword"}},"max":3,"min":1},"Mysticism":{"type":"bool","name":"Mysticism"},"Nature":{"type":"bool","name":"Nature"},"RulesText":{"type":"string","name":"Rules Text","max":1000},"SimpleIntValue":{"type":"int","name":"Simple Int Value","max":32},"Tag":{"type":"enum","name":"Tag","enum":["ANIMAL","BOT","DWARF","ENGINEER","EQUIPMENT","FARM","FIRE","HUMAN","KNIGHT","MAGIC","MILITANT","PRIMITIVE","RANGE","SPIRITUAL","TACTIC","TECHNOCRAT"]},"Tags":{"type":"array","name":"Tags","description":"Add some Tags","children":{"Tag":{"$ref":"#/definitions/Tag"}},"max":3,"min":1},"Technology":{"type":"bool","name":"Technology"},"abilities":{"type":"array","name":"Abilities","description":"Add some Abilities","children":{"Ability":{"$ref":"#/definitions/ability"}},"max":3},"ability":{"type":"interface","name":"Ability","description":"Choose a Ability","children":{"Arrival":{"$ref":"#/definitions/arrival"},"Battlecry":{"$ref":"#/definitions/battlecry"},"OnConstruction":{"$ref":"#/definitions/onConstruction"},"OnDeath":{"$ref":"#/definitions/onDeath"},"OnSpawn":{"$ref":"#/definitions/onSpawn"},"Pay":{"$ref":"#/definitions/pay"},"Periodic":{"$ref":"#/definitions/periodic"},"Tribute":{"$ref":"#/definitions/tribute"}}},"action":{"type":"struct","name":"Action","description":"Build a Action","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Effects":{"$ref":"#/definitions/effects"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Effects","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Effects §FlavourText §Tags §Keywords §RulesText"},"anthem":{"type":"struct","name":"Anthem","description":"Build a Anthem","children":{"Tag":{"$ref":"#/definitions/Tag"}},"required":["Tag"],"interactionText":"Anthem §Tag."},"arm":{"type":"struct","name":"Arm","description":"Build a Arm","children":{"Amount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["Amount"],"interactionText":"Arm §Amount."},"arrival":{"type":"struct","name":"Arrival","description":"Build a Arrival","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When another entity spawns activate: §Effects."},"battlecry":{"type":"struct","name":"Battlecry","description":"Build a Battlecry","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"At the beginning of each combat activate: §Effects."},"card":{"type":"interface","name":"Card","description":"Choose a Card","children":{"Action":{"$ref":"#/definitions/action"},"Entity":{"$ref":"#/definitions/entity"},"Place":{"$ref":"#/definitions/place"},"Headquarter":{"$ref":"#/definitions/headquarter"}}},"effect":{"type":"interface","name":"Effect","description":"Choose a Effect","children":{"Anthem":{"$ref":"#/definitions/anthem"},"Arm":{"$ref":"#/definitions/arm"},"Harm":{"$ref":"#/definitions/harm"},"Kill":{"$ref":"#/definitions/kill"},"Produce":{"$ref":"#/definitions/produce"},"Repair":{"$ref":"#/definitions/repair"}}},"effects":{"type":"array","name":"Effects","description":"Add some Effects","children":{"Effect":{"$ref":"#/definitions/effect"}},"max":3},"entity":{"type":"struct","name":"Entity","description":"Build a Entity","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/abilities"},"Attack":{"$ref":"#/definitions/Attack"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Attack","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Attack §Health §FlavourText §Tags §Keywords §RulesText"},"harm":{"type":"struct","name":"Harm","description":"Build a Harm","children":{"Amount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["Amount"],"interactionText":"Harm §Amount."},"headquarter":{"type":"struct","name":"Headquarter","description":"Build a Headquarter","children":{"CardName":{"$ref":"#/definitions/CardName"},"Class":{"$ref":"#/definitions/Class"},"Delay":{"$ref":"#/definitions/Delay"},"Abilities":{"$ref":"#/definitions/abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","Class","Delay","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §Class §Delay §Abilities §Health §Growth §StartingHandSize §Wisdom §FlavourText §Tags §Keywords §RulesText"},"kill":{"type":"struct","name":"Kill","description":"Build a Kill","children":{},"interactionText":"Kill an entity."},"onConstruction":{"type":"struct","name":"On Construction","description":"Build a On Construction","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When another places spawns activate: §Effects."},"onDeath":{"type":"struct","name":"On Death","description":"Build a On Death","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When this dies activate: §Effects."},"onSpawn":{"type":"struct","name":"On Spawn","description":"Build a On Spawn","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"When this spawns activate: §Effects."},"pay":{"type":"struct","name":"Pay","description":"Build a Pay","children":{"ManaAmount":{"$ref":"#/definitions/SimpleIntValue"},"Effects":{"$ref":"#/definitions/effects"}},"required":["ManaAmount","Effects"],"interactionText":"Pay §ManaAmount to activate: §Effects."},"periodic":{"type":"struct","name":"Periodic","description":"Build a Periodic","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"At the beginning of each tick activate: §Effects."},"place":{"type":"struct","name":"Place","description":"Build a Place","children":{"CardName":{"$ref":"#/definitions/CardName"},"CastingCost":{"$ref":"#/definitions/CastingCost"},"Class":{"$ref":"#/definitions/Class"},"Abilities":{"$ref":"#/definitions/abilities"},"Health":{"$ref":"#/definitions/Health"},"FlavourText":{"$ref":"#/definitions/FlavourText"},"Tags":{"$ref":"#/definitions/Tags"},"Keywords":{"$ref":"#/definitions/Keywords"},"RulesText":{"$ref":"#/definitions/RulesText"}},"required":["CardName","CastingCost","Class","Abilities","Health","FlavourText","Tags","Keywords","RulesText"],"interactionText":"§CardName §CastingCost §Class §Abilities §Health §FlavourText §Tags §Keywords §RulesText"},"produce":{"type":"struct","name":"Produce","description":"Build a Produce","children":{"ManaAmount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["ManaAmount"],"interactionText":"Produce §ManaAmount mana."},"repair":{"type":"struct","name":"Repair","description":"Build a Repair","children":{"Amount":{"$ref":"#/definitions/SimpleIntValue"}},"required":["Amount"],"interactionText":"Repair §Amount."},"tribute":{"type":"struct","name":"Tribute","description":"Build a Tribute","children":{"Effects":{"$ref":"#/definitions/effects"}},"required":["Effects"],"interactionText":"Sacrifice an entity to activate: §Effects."}}} \ No newline at end of file