Difference between revisions of "MediaWiki:ExpansionData.js"

m
Added class
m (Added Exp. 11 as Expansion with odd-sized tiles)
m (Added class)
(38 intermediate revisions by the same user not shown)
Line 17: Line 17:
     GROUP_LICENSED = 2,
     GROUP_LICENSED = 2,
     GROUP_OTHER = 2,
     GROUP_OTHER = 2,
     GROUP_TOTAL = 3;
    GROUP_FAN = 3,
     GROUP_TOTAL = 4;


//
//
Line 671: Line 672:
     inputFieldId: "inputUkrainePromo",
     inputFieldId: "inputUkrainePromo",
     className: "showUkrainePromo",
     className: "showUkrainePromo",
    edition: [ "C2" ],
    group: GROUP_MINOR,
    selected: false
  },
  {
    label: "The Wonders of Humanity",
    inputFieldId: "inputWondersOfHumanity",
    className: "showWondersOfHumanity",
    edition: [ "C2" ],
    group: GROUP_MINOR,
    selected: false
  },
  {
    label: "The Spell Circles",
    inputFieldId: "inputSpellCircles",
    className: "showSpellCircles",
    edition: [ "C2" ],
    group: GROUP_MINOR,
    selected: false
  },
  {
    label: "The Drawbridges",
    inputFieldId: "inputDrawbridges",
    className: "showDrawbridges",
     edition: [ "C2" ],
     edition: [ "C2" ],
     group: GROUP_MINOR,
     group: GROUP_MINOR,
Line 769: Line 794:
var AND = function ( a, b ) { return ( a && b ); },  
var AND = function ( a, b ) { return ( a && b ); },  
     OR = function ( a, b ) { return ( a || b ); },  
     OR = function ( a, b ) { return ( a || b ); },  
    XOR = function ( a, b ) { return ( ( a || b ) && !( a && b ) ); },
     NOT = function ( a ) { return !( a ); },
     NOT = function ( a ) { return !( a ); },
     COUNT = function ( a, b ) { return ( +a ) + ( +b ); };
     COUNT = function ( a, b ) { return ( +a ) + ( +b ); };
var OperatorLookup = {
  NOT: NOT,
  OR: OR,
  AND: AND,
  XOR: XOR
};


// Constants for associanted actions
// Constants for associanted actions
Line 814: Line 848:
   {
   {
     className: "showMandatoryTiles",
     className: "showMandatoryTiles",
     expression: [ OR, "showBazaars", "showFortuneTellerAndBuilder" ]
     expression: [ OR, "showBazaars", "showWondersOfHumanity", "showFortuneTellerAndBuilder" ]
   },
   },
   {
   {
Line 846: Line 880:
   },
   },
*/
*/
  {
    className: "showNotBazaars",
    expression: [ NOT, "showBazaars" ]
  },
   {
   {
     className: "showNotFairyAndNotPlague",
     className: "showNotFairyAndNotPlague",
Line 916: Line 956:
   {
   {
     className: "showMessagesForEntriesStep5",
     className: "showMessagesForEntriesStep5",
     expression: [ AND, "showMessages", [ OR, "showAcrobats", "showAbbot", "showSheep", "showFruitBearingTrees" ] ]
     expression: [ AND, "showMessages", [ OR, "showAcrobats", "showAbbot", "showSheep", "showFruitBearingTrees", "showWondersOfHumanity" ] ]
   },
   },


   {
   {
     className: "showMessagesForEntriesStep5_markWE_ForC1",
     className: "showMessagesForEntriesStep5_markWE_ForC1",
     expression: [ AND, "showC1", "showMessagesForEntriesStep5", [ OR,  "showSheep", [ NOT, [ OR, "showAcrobats", "showAbbot", "showFruitBearingTrees" ] ] ] ]
     expression: [ AND, "showC1", "showMessagesForEntriesStep5", [ OR,  "showSheep", [ NOT, [ OR, "showAcrobats", "showAbbot", "showFruitBearingTrees", "showWondersOfHumanity" ] ] ] ]
   },
   },


   {
   {
     className: "showMessagesForEntriesStep5_markC1AndmarkWE_ForC1",
     className: "showMessagesForEntriesStep5_markC1AndmarkWE_ForC1",
     expression: [ AND, "showC1", "showMessagesForEntriesStep5", [ NOT, "showSheep" ], [ OR, "showAcrobats", "showAbbot", "showFruitBearingTrees" ] ]
     expression: [ AND, "showC1", "showMessagesForEntriesStep5", [ NOT, "showSheep" ], [ OR, "showAcrobats", "showAbbot", "showFruitBearingTrees", "showWondersOfHumanity" ] ]
   },
   },


Line 940: Line 980:
   },
   },
   {
   {
     className: "showMessagesAndWindRosesAndNot20thAnniversaryExpansion_ForC1",
     className: "showMessagesAndWindRosesAndNot20thAnniversaryExpansionPlus_ForC1",
     expression: [ AND, "showC1", "showMessages", "showWindRoses", [ NOT, "show20thAnniversaryExpansion" ] ]
     expression: [ AND, "showC1", "showMessages", "showWindRoses", [ NOT, [ OR, "show20thAnniversaryExpansion", "showWondersOfHumanity" ] ] ]
   },
   },
   {
   {
     className: "showMessagesAndNotWindRosesAnd20thAnniversaryExpansion_ForC1",
     className: "showMessagesAndNotWindRosesAnd20thAnniversaryExpansionPlus_ForC1",
     expression: [ AND, "showC1", "showMessages", [ NOT, "showWindRoses" ], "show20thAnniversaryExpansion" ]
     expression: [ AND, "showC1", "showMessages", [ NOT, "showWindRoses" ], [ OR, "show20thAnniversaryExpansion", "showWondersOfHumanity" ] ]
   },
   },
   {
   {
     className: "showMessagesAndWindRosesAnd20thAnniversaryExpansion_ForC1",
     className: "showMessagesAndWindRosesAnd20thAnniversaryExpansionPlus_ForC1",
     expression: [ AND, "showC1", "showMessages", "showWindRoses", "show20thAnniversaryExpansion" ]
     expression: [ AND, "showC1", "showMessages", "showWindRoses", [ OR, "show20thAnniversaryExpansion", "showWondersOfHumanity" ] ]
   },
   },


Line 964: Line 1,004:
   {
   {
     className: "showEntriesStep5",
     className: "showEntriesStep5",
     expression: [ OR, "showFerries", "showSheep", "showFruitBearingTrees", "showMessagesForEntriesStep5" ]
     expression: [ OR, "showFerries", "showSheep", "showFruitBearingTrees", "showWondersOfHumanity", "showMessagesForEntriesStep5" ]
   },
   },
   {
   {
Line 1,108: Line 1,148:
     className: "showMessagesAndNotWheelOfFortuneAndPeasantRevolts_ForC1",
     className: "showMessagesAndNotWheelOfFortuneAndPeasantRevolts_ForC1",
     expression: [ AND, "showC1", "showMessages", "showNotWheelOfFortuneAndPeasantRevolts" ]
     expression: [ AND, "showC1", "showMessages", "showNotWheelOfFortuneAndPeasantRevolts" ]
  },
  {
    className: "showSpellCirclesAndGhosts",
    expression: [ AND, "showSpellCircles", "showGhosts" ]
   },
   },


  {
    className: "showFortuneTellerAndNotWondersOfHumanity",
    expression: [ AND, [ NOT, "showWondersOfHumanity" ], "showFortuneTeller" ]
  },
/*
  {
    className: "showWondersOfHumanityAndFortuneTeller",
    expression: [ AND, "showWondersOfHumanity", "showFortuneTeller" ]
  },
  {
    className: "showWondersOfHumanityXorFortuneTeller",
    expression: [ XOR, "showWondersOfHumanity", "showFortuneTeller" ]
  },
*/


 
// -- Figure Reference
// -- Figure Reference
   {
   {
Line 1,127: Line 1,185:
   {
   {
     className: "showNeutralFiguresPart1",
     className: "showNeutralFiguresPart1",
     expression: [ OR, "showDragon", "showFairy", "showTower", "showCountOfCarcassonne", "showBridges", "showCircus", "showWheelOfFortune"  ]
     expression: [ OR, "showDragon", "showFairy", "showTower", "showCountOfCarcassonne", "showBridges", "showCircus", "showGhosts", "showWheelOfFortune"  ]
   },
   },
   {
   {
Line 1,135: Line 1,193:
   {
   {
     className: "showNeutralFiguresPart2",
     className: "showNeutralFiguresPart2",
     expression: [ OR, "showFlier", "showFerries", "showGoldmines", "showMage", "showWitch", "showTeacher", "showGingerbreadMan" ]
     expression: [ OR, "showFlier", "showFerries", "showGoldmines", "showMage", "showWitch", "showTeacher", "showEasterInCarcassonne", "showGingerbreadMan" ]
   },
   },
   {
   {
Line 1,144: Line 1,202:
     className: "showDragonFairyOrCastlesOrCountOfCarcassonneOrWoFOrGermanCastlesOrMarketsOfLeipzig",
     className: "showDragonFairyOrCastlesOrCountOfCarcassonneOrWoFOrGermanCastlesOrMarketsOfLeipzig",
     expression: [ AND, "showDragon", [ OR, "showFairy", "showCastles", "showCountOfCarcassonne", "showWheelOfFortune", "showGermanCastles", "showMarketsOfLeipzig" ] ]
     expression: [ AND, "showDragon", [ OR, "showFairy", "showCastles", "showCountOfCarcassonne", "showWheelOfFortune", "showGermanCastles", "showMarketsOfLeipzig" ] ]
  },
  {
    className: "showCircusOrGhosts",
    expression: [ OR, "showCircus", "showGhosts" ]
   },
   },


Line 1,184: Line 1,247:
   {     
   {     
     className: "showSectionDeploymentTriggeredByEvents",
     className: "showSectionDeploymentTriggeredByEvents",
     expression: [ OR, "showWagon", "showCountOfCarcassonne", "showRussianPromos", "showMarketsOfLeipzig", "showBathhouses", "showCatapult" ]
     expression: [ OR, "showWagon", "showCountOfCarcassonne", "showRussianPromos", "showMarketsOfLeipzig", "showBathhouses", "showGifts", "showCatapult" ]
   },
   },
   {
   {
Line 1,308: Line 1,371:


   {
   {
     className: "showMonasteriesForBigFollowerOrWagonOrRingmasterOrAbbotOrPhantom",
     className: "showMonasteriesForBigFollowerOrWagonOrRingmasterOrGuardMeeplesOrAbbotOrPhantom",
     expression: [ AND, "showMonasteries", [ OR, "showBigFollower", "showWagon", "showRingmaster", "showAbbot", "showPhantom" ] ]
     expression: [ AND, "showMonasteries", [ OR, "showBigFollower", "showWagon", "showRingmaster", "showGuardMeeples", "showAbbot", "showPhantom" ] ]
   },
   },
   {
   {
     className: "showMarketsOfLeipzigForBigFollowerOrWagonOrRingmasterOrPhantom",
     className: "showMarketsOfLeipzigForBigFollowerOrWagonOrRingmasterOrGuardMeeplesOrPhantom",
     expression: [ AND, "showMarketsOfLeipzig", [ OR, "showBigFollower", "showWagon", "showRingmaster", "showPhantom" ] ]
     expression: [ AND, "showMarketsOfLeipzig", [ OR, "showBigFollower", "showWagon", "showRingmaster", "showGuardMeeples", "showPhantom" ] ]
   },
   },
   {
   {
Line 1,339: Line 1,402:
     className: "showTowerForRingmaster",
     className: "showTowerForRingmaster",
     expression: [ AND, "showTower", "showRingmaster" ]
     expression: [ AND, "showTower", "showRingmaster" ]
  },
  {   
    className: "showTowerForGuardMeeples",
    expression: [ AND, "showTower", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,359: Line 1,426:
     className: "showRussianPromosForRingmaster",
     className: "showRussianPromosForRingmaster",
     expression: [ AND, "showRussianPromos", "showRingmaster" ]
     expression: [ AND, "showRussianPromos", "showRingmaster" ]
  },
  {   
    className: "showRussianPromosForGuardMeeples",
    expression: [ AND, "showRussianPromos", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,383: Line 1,454:
     className: "showMonasteriesForAbbot",
     className: "showMonasteriesForAbbot",
     expression: [ AND, "showMonasteries", "showAbbot" ]
     expression: [ AND, "showMonasteries", "showAbbot" ]
  },
  {   
    className: "showMonasteriesForGuardMeeples",
    expression: [ AND, "showMonasteries", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,400: Line 1,475:
     className: "showMarketsOfLeipzigForRingmaster",
     className: "showMarketsOfLeipzigForRingmaster",
     expression: [ AND, "showMarketsOfLeipzig", "showRingmaster" ]
     expression: [ AND, "showMarketsOfLeipzig", "showRingmaster" ]
  },
  {   
    className: "showMarketsOfLeipzigForGuardMeeples",
    expression: [ AND, "showMarketsOfLeipzig", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,492: Line 1,571:
     className: "showPrincessForRingmaster",
     className: "showPrincessForRingmaster",
     expression: [ AND, "showPrincess", "showRingmaster" ]
     expression: [ AND, "showPrincess", "showRingmaster" ]
  },
  {   
    className: "showPrincessForGuardMeeples",
    expression: [ AND, "showPrincess", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,527: Line 1,610:
     className: "showDragonAndMarketsOfLeipzigForRingmaster",
     className: "showDragonAndMarketsOfLeipzigForRingmaster",
     expression: [ AND, "showDragonAndMarketsOfLeipzig", "showRingmaster" ]
     expression: [ AND, "showDragonAndMarketsOfLeipzig", "showRingmaster" ]
  },
  {   
    className: "showDragonAndMarketsOfLeipzigForGuardMeeples",
    expression: [ AND, "showDragonAndMarketsOfLeipzig", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,548: Line 1,636:
     className: "showTowerAndMarketsOfLeipzigForRingmaster",
     className: "showTowerAndMarketsOfLeipzigForRingmaster",
     expression: [ AND, "showTowerAndMarketsOfLeipzig", "showRingmaster" ]
     expression: [ AND, "showTowerAndMarketsOfLeipzig", "showRingmaster" ]
  },
  {   
    className: "showTowerAndMarketsOfLeipzigForGuardMeeples",
    expression: [ AND, "showTowerAndMarketsOfLeipzig", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,572: Line 1,664:
     className: "showPlagueAndMarketsOfLeipzigForRingmaster",
     className: "showPlagueAndMarketsOfLeipzigForRingmaster",
     expression: [ AND, "showPlagueAndMarketsOfLeipzig", "showRingmaster" ]
     expression: [ AND, "showPlagueAndMarketsOfLeipzig", "showRingmaster" ]
  },
  {   
    className: "showPlagueAndMarketsOfLeipzigForGuardMeeples",
    expression: [ AND, "showPlagueAndMarketsOfLeipzig", "showGuardMeeples" ]
   },
   },
   {     
   {     
Line 1,623: Line 1,719:
   {     
   {     
     className: "showFootnoteRowForNeutralFiguresPart1",
     className: "showFootnoteRowForNeutralFiguresPart1",
     expression: [ OR, "showBridges", "showCountOfCarcassonne", "showFairy", "showWheelOfFortune", "showDragon", "showTower" ]
     expression: [ OR, "showBridges", "showCountOfCarcassonne", "showFairy", "showWheelOfFortune", "showDragon", "showTower", "showGhosts" ]
   },
   },


   {     
   {     
     className: "showAdditionalScoring",
     className: "showAdditionalScoring",
     expression: [ OR, "showRingmaster", "showBarn", "showSheep", "showFairy", "showCircus", "showWheelOfFortune", "showGoldmines", "showTeacher", "showGingerbreadMan"  ]
     expression: [ OR, "showRingmaster", "showBarn", "showSheep", "showFairy", "showCircus", "showWheelOfFortune", "showGoldmines", "showTeacher", "showEasterInCarcassonne", "showGingerbreadMan"  ]
   },
   },


Line 1,648: Line 1,744:


   {     
   {     
     className: "showMageOrWitchOrPig",
     className: "showMageOrWitchOrPigOrGhosts",
     expression: [ OR, "showMageAndWitch_Any", "showPig" ]
     expression: [ OR, "showMageAndWitch_Any", "showPig", "showGhosts" ]
   },
   },


   {     
   {     
     className: "showDragonOrTowerOrWoF",
     className: "showDragonOrTowerOrGhostsOrWoF",
     expression: [ OR, "showDragon", "showTower", "showWheelOfFortune" ]
     expression: [ OR, "showDragon", "showTower", "showGhosts", "showWheelOfFortune" ]
   },
   },


Line 1,676: Line 1,772:


   {     
   {     
     className: "showDragonAndFairyForMageOrWitchOrTeacherOrGingerbreadMan",
     className: "showDragonAndFairyForMageOrWitchOrTeacherOrEasterInCarcassonneOrGingerbreadMan",
     expression: [ AND, "showDragonAndFairy", [ OR, "showMageAndWitch_Any", "showTeacher", "showGingerbreadMan" ] ]
     expression: [ AND, "showDragonAndFairy", [ OR, "showMageAndWitch_Any", "showTeacher", "showEasterInCarcassonne", "showGingerbreadMan" ] ]
   },
   },


Line 1,703: Line 1,799:
   {
   {
     className: "showOtherTiles",
     className: "showOtherTiles",
     expression: [ OR, "showHalflings", "showDoubleSizedTiles", "showGhostsCastlesAndCemeteries_Any" ]
     expression: [ OR, "showHalflings", "showDoubleSizedTiles", "showGhostsCastlesAndCemeteries_Any", "showWondersOfHumanity" ]
   },
   },
   {
   {
Line 1,715: Line 1,811:
   {
   {
     className: "showRingmasterScoring",
     className: "showRingmasterScoring",
     expression: [ AND, "showRingmaster", [ OR, "showCircus", "showAcrobats" ] ]
     expression: [ AND, "showRingmaster", "showRingmaster" /*[ OR, "showCircus", "showAcrobats" ]*/ ]
   },
   },
   {
   {
Line 1,727: Line 1,823:
   {
   {
     className: "showPigHerd",
     className: "showPigHerd",
     expression: [ OR, "showRiverII", "showRiverII" /*, "showGQ11"*/ ]
     expression: [ OR, "showRiverII" /*, "showGQ11"*/ ]
   },
   },
   {
   {
Line 1,862: Line 1,958:
   {
   {
     className: "showPrepareFinalScoring",
     className: "showPrepareFinalScoring",
     expression: [ OR, "showCircus", "showMessages", "showGoldmines", "showRobbers", "showGifts", "showCastles", "showEasterInCarcassonne", "showCountOfCarcassonne", "showBets", "showCemeteries" ]
     expression: [ OR, "showCircus", "showMessages", "showGoldmines", "showRobbers", "showGifts", "showCastles", "showEasterInCarcassonne", "showCountOfCarcassonne", "showBets", "showCemeteries", "showWondersOfHumanity" ]
   },
   },
   {
   {
Line 1,940: Line 2,036:
   {
   {
     className: "showStep1A_Complete",
     className: "showStep1A_Complete",
     expression: [ "showFairy" ]
     expression: [ OR, "showFairy" ]
   },
   },
   {
   {
     className: "showStep1A_Empty",
     className: "showStep1A_Empty",
     expression: [ NOT, "showFairy" ]
     expression: [ NOT, "showStep1A_Complete" ]
   },
   },
   {
   {
Line 1,966: Line 2,062:
   {
   {
     className: "showStep1C_Complete",
     className: "showStep1C_Complete",
     expression: [ OR, "showWindRoses", "show20thAnniversaryExpansion", "showSpielDoch2018" ]
     expression: [ OR, "showWindRoses", "show20thAnniversaryExpansion", "showSpielDoch2018", "showWondersOfHumanity" ]
   },
   },
   {
   {
Line 1,991: Line 2,087:
   {
   {
     className: "showStep2A_Complete",
     className: "showStep2A_Complete",
     expression: [ "showBathhouses" ]
     expression: [ OR, "showBathhouses" ]
   },
   },
   {
   {
     className: "showStep2A_Empty",
     className: "showStep2A_Empty",
     expression: [ NOT, "showBathhouses" ]
     expression: [ NOT, "showStep2A_Complete" ]
   },
   },


Line 2,018: Line 2,114:
   {
   {
     className: "showStep2C_Complete",
     className: "showStep2C_Complete",
     expression: [ OR, "showSheep", "showFruitBearingTrees" ]
     expression: [ OR, "showSheep", "showFruitBearingTrees", "showWondersOfHumanity" ]
   },
   },
   {
   {
     className: "showStep2C_Messages",
     className: "showStep2C_Messages",
     expression: [ AND, "showC1", "showMessages", [ OR, "showStep2A_Complete", "showStep2B-1_Complete", "showSheep", "showFruitBearingTrees" ] ]
     expression: [ AND, "showC1", "showMessages", [ OR, "showStep2A_Complete", "showStep2B-1_Complete", "showSheep", "showFruitBearingTrees", "showWondersOfHumanity" ] ]
   },
   },
   {
   {
Line 2,060: Line 2,156:
   {
   {
     className: "showRoad_EpilogHeaderDuringGame",
     className: "showRoad_EpilogHeaderDuringGame",
     expression: [ OR, "showTeacher", "showMarketsOfLeipzig", "showRingmasterScoring", "showFairy" ]
     expression: [ OR, "showTeacher", "showMarketsOfLeipzig", "showRingmasterScoring", "showFairy", "showCastles", "showRobbers"]
   },
   },
   {
   {
Line 2,078: Line 2,174:
   {
   {
     className: "showCity_EpilogHeaderDuringGame",
     className: "showCity_EpilogHeaderDuringGame",
     expression: [ OR, "showTeacher", "showMarketsOfLeipzig", "showRingmasterScoring", "showFairy" ]
     expression: [ OR, "showTeacher", "showMarketsOfLeipzig", "showRingmasterScoring", "showFairy", "showCastles", "showRobbers"]
   },
   },
   {
   {
Line 2,097: Line 2,193:
   {
   {
     className: "showMonasticBuilding_EpilogHeaderDuringGame",
     className: "showMonasticBuilding_EpilogHeaderDuringGame",
     expression: [ OR, "showTeacher", "showMarketsOfLeipzig", "showRingmasterScoring", "showFairy", "showDarmstadt" ]
     expression: [ OR, "showTeacher", "showMarketsOfLeipzig", "showRingmasterScoring", "showFairy", "showDarmstadt", "showCastles", "showRobbers" ]
   },
   },
   {
   {
Line 2,105: Line 2,201:
   {
   {
     className: "showRingmasterScoring_Extended",
     className: "showRingmasterScoring_Extended",
     expression: [ AND, "showC1", "showC2" ]  // Always false - Hides Ringmaster in non-basic features
     expression: [ OR ]  // Always false - Hides Ringmaster in non-basic features
   },
   },


Line 2,115: Line 2,211:
   {
   {
     className: "showFeature_EpilogHeaderDuringGame",
     className: "showFeature_EpilogHeaderDuringGame",
     expression: [ OR, "showTeacher", "showRingmasterScoring", "showFairy" ] // for field
     expression: [ OR, "showTeacher", "showRingmasterScoring_Extended", "showFairy", "showCastles", "showRobbers" ]  
   },
   },
/*
   {
   {
     className: "showFeature_EpilogHeaderDuringGame_Extended",
     className: "showFeature_EpilogHeaderDuringGame_Extended",
     expression: [ OR, "showTeacher", "showRingmasterScoring_Extended", "showFairy" ]  // For non-basic features (hides Ringmaster)
     expression: [ OR, "showTeacher", "showRingmasterScoring_Extended", "showFairy" ]  // For non-basic features (hides Ringmaster)
   },
   },
*/
   {
   {
     className: "showFeature_NotEpilogHeaderDuringGame",
     className: "showFeature_NotEpilogHeaderDuringGame",
Line 2,138: Line 2,236:
   {
   {
     className: "showStep3C_Complete",
     className: "showStep3C_Complete",
     expression: [ OR, "showCircus", "showGingerbreadMan", [ AND, "showC1", "showMessages" ] ]
     expression: [ OR, "showCircus", "showGingerbreadMan", "showBets", [ AND, "showC1", "showMessages" ] ]
   },
   },
   {
   {
Line 2,147: Line 2,245:
   {
   {
     className: "showStep4A_Complete",
     className: "showStep4A_Complete",
     expression: [ OR, "showCatapult", "showBazaars", [ AND, "showC2", "showMessages" ] ]
     expression: [ OR, "showCatapult", "showEasterInCarcassonne", "showBazaars", [ AND, "showC2", "showMessages" ] ]
   },
   },
   {
   {
Line 2,155: Line 2,253:




  {
    className: "showPhase4_Empty",
    expression: [ AND, "showStep4A_Empty", "showStep4A_Empty" ]
  },
  {
    className: "showPhase4_Complete",
    expression: [ NOT, "showPhase4_Empty" ]
  },


   {
   {
Line 2,199: Line 2,288:
     className: "showCountOfCarcassonneOrShrines",
     className: "showCountOfCarcassonneOrShrines",
     expression: [ OR, "showCountOfCarcassonne", "showShrines" ]
     expression: [ OR, "showCountOfCarcassonne", "showShrines" ]
   },  
   },


  {
    className: "showDoubleSizedTilesRoads",
    expression: [ OR, "showGermanCastles", "showMarketsOfLeipzig" ]
  },


//
  {
// == Consolidated Clarifications ==
    className: "showDetermineLengthOfRoad",
//
    expression: [ OR, "showDoubleSizedTilesRoads", "showGermanCathedrals", "showHalflings", "showWondersOfHumanity", "showLandSurveyors" ]
  },
  {
    className: "showNotDetermineLengthOfRoad",
    expression: [ NOT, "showDetermineLengthOfRoad" ]
  },
  {
    className: "showDetermineLengthOfRoadFinalScoring",
    expression: [OR, "showDoubleSizedTilesRoads", "showHalflings", "showWondersOfHumanity" ]
  },
  {
    className: "showNotDetermineLengthOfRoadFinalScoring",
    expression: [ NOT, "showDetermineLengthOfRoadFinalScoring" ]
  },
  {
    className: "showDetermineMajorityOnRoad",
    expression: [ OR ]
  },
  {
    className: "showNotDetermineMajorityOnRoad",
    expression: [ NOT, "showDetermineMajorityOnRoad" ]
  },
  {
    className: "showDetermineMajorityOnRoadFinalScoring",
    expression: [ OR ]
  },
  {
    className: "showNotDetermineMajorityOnRoadFinalScoring",
    expression: [ NOT, "showDetermineMajorityOnRoadFinalScoring" ]
  },
 
  {
    className: "showStep3A_Complete",
    expression: [ OR ]
  },
  {
    className: "showStep3A_Empty",
    expression: [ NOT, "showStep3A_Complete" ]
  },
  {
    className: "showStep4B_Complete",
    expression: [ OR ]
  },
  {
    className: "showStep4B_Empty",
    expression: [ NOT, "showStep4B_Complete" ]
  },
 
  {
    className: "showPhase4_Empty",
    expression: [ AND, "showStep4A_Empty", "showStep4B_Empty" ]
  },
 
  {
    className: "showPhase4_Complete",
    expression: [ NOT, "showPhase4_Empty" ]
  },
 
  {
    className: "showStepAnyTimeOnce_Complete",
    expression: [ OR, "showTower" ]
  },
  {
    className: "showStepAnyTimeOnce_Empty",
    expression: [ NOT, "showStepAnyTimeOnce_Complete" ]
  },
  {
    className: "showStepAnyTimeAlways_Complete",
    expression: [ OR ]
  },
  {
    className: "showStepAnyTimeAlways_Empty",
    expression: [ NOT, "showStepAnyTimeAlways_Complete" ]
  },
  {
    className: "showPhaseAnyTime_Empty",
    expression: [ AND, "showStepAnyTimeOnce_Empty", "showStepAnyTimeAlways_Empty" ]
  },
  {
    className: "showPhaseAnyTime_Complete",
    expression: [ NOT, "showPhaseAnyTime_Empty" ]
  },
  {
    className: "showFinalPrologue_Complete",
    expression: [ OR, "showCastles" ],
  },
  {
    className: "showFinalPrologue_Empty",
    expression: [ NOT, "showFinalPrologue_Complete" ]
  },
  {
    className: "showFinalCityOfCarcassonne_Complete",
    expression: [ OR, "showCountOfCarcassonneAndBarn" ],
  }, 
  {
    className: "showFinalCityOfCarcassonne_Empty",
    expression: [ NOT, "showFinalCityOfCarcassonne_Complete" ]
  },
  {
    className: "showFinalFigures_Complete",
    expression: [ OR, "showFairy", "showRingmasterScoring", "showBarn", "showCircus", "showWondersOfHumanity", "showAcrobats","showRobbers"  ]
  },
  {
    className: "showFinalFigures_Empty",
    expression: [ NOT, "showFinalFigures_Complete" ]
  },
 
 
//
// == Consolidated Clarifications ==
//
 
  // I&C
  {
    className: "showInns_Section",
    expression: [ NOT, [ NOT, "showInns" ] ]
  },
  {
    className: "showBigFollower_Section",
    expression: [ NOT, [ NOT, "showBigFollower" ] ]
  },
  {
    className: "showInnsAndCathedrals_Section",
    expression: [ OR, "showInns_Section", "showBigFollower_Section" ]
  },
 
 
  // T&B
  {
    className: "showNoActionsHappeningOnce",
    expression: [ NOT, [ OR, "showFairy", "showTower", "showTunnel", "showPlague" ] ]
  },
 
  {
    className: "showTraders_Section",
    expression: [ AND, "showTraders", "showAbbey" ]
  },
  {
    className: "showBuider_Section",
    expression: [ NOT, [ NOT, "showBuilder" ] ]
  },
  {
    className: "showTradersAndBuilders_Section",
    expression: [ OR, "showTraders_Section", "showBuider_Section" ]
  },
 
  // P&D
 
  {
    className: "showNoFigureOnVolcano",
    expression: [ NOT, [ OR, "showFairy", "showTower", "showBarn", "showBridges", "showAcrobats", "showWheelOfFortune", "showLittleBuildings" ] ]
  },
  {
    className: "showOtherVolcanoActions",
    expression: [ OR, "showSheep", "showAcrobats", "showAbbot", "showFerries", "showRussianPromos", "showPeasantRevolts" ]
  },
 
  {
    className: "showBuilderOrPig",
    expression: [ OR, "showBuilder", "showPig" ]
  },
 
  {
    className: "showSpecialFiguresEatenByDragon_Bullet",
    expression: [ OR, "showPig", "showBuilder", "showSheep" ]
  },
  {
    className: "showNeutralFiguresEatenByDragon_Bullet",
    expression: [ OR, "showMage", "showWitch", "showGingerbreadMan" ]
  },
  {
    className: "showFiguresNotEatenByDragon_Bullet",
    expression: [ OR, "showBarn", "showCastles", "showTeacher" ]
  },


  // I&C
   {
   {
     className: "showInns_Section",
     className: "showVolcano_Section",
     expression: [ NOT, [ NOT, "showInns" ] ]
     expression: [ NOT, [ NOT, "showDragon" ] ]
   },
   },
   {
   {
     className: "showBigFollower_Section",
     className: "showDragon_Section",
     expression: [ NOT, [ NOT, "showBigFollower" ] ]
     expression: [ NOT, [ NOT, "showDragon" ] ]
   },
   },
   {
   {
     className: "showInnsAndCathedrals_Section",
     className: "showPrincess_Section",
     expression: [ OR, "showInns_Section", "showBigFollower_Section" ]
     expression: [ NOT, [ NOT, "showPrincess" ] ]
   },
   },
  // T&B
   {
   {
     className: "showNoActionsHappeningOnce",
     className: "showMagicPortal_Section",
     expression: [ NOT, [ OR, "showFairy", "showTower", "showTunnel", "showPlague" ] ]
     expression: [ NOT, [ NOT, "showMagicPortal" ] ]
   },
   },
   {
   {
     className: "showTraders_Section",
     className: "showFairy_Section",
     expression: [ AND, "showTraders", "showAbbey" ]
     expression: [ NOT, [ NOT, "showFairy" ] ]
   },
   },
   {
   {
     className: "showBuider_Section",
     className: "showNewTiles_Section",
     expression: [ NOT, [ NOT, "showBuilder" ] ]
     expression: [ AND, "showPrincessAndDragon_Any", "showTunnel" ]
   },
   },
   {
   {
     className: "showTradersAndBuilders_Section",
     className: "showPrincessAndDragon_Section",
     expression: [ OR, "showTraders_Section", "showBuider_Section" ]
     expression: [ OR, "showVolcano_Section", "showDragon_Section", "showPrincess_Section", "showMagicPortal_Section", "showFairy_Section", "showNewTiles_Section"  ]  
   },
   },


  // P&D


   {
   /*
    className: "showNoFigureOnVolcano",
   ===== New classes for fan expansions ====
    expression: [ NOT, [ OR, "showFairy", "showTower", "showBarn", "showBridges", "showAcrobats", "showWheelOfFortune", "showLittleBuildings" ] ]
   */
  },
   {
    className: "showOtherVolcanoActions",
    expression: [ OR, "showSheep", "showAcrobats", "showAbbot", "showFerries", "showRussianPromos", "showPeasantRevolts" ]
   },


   {
   {
     className: "showBuilderOrPig",
     className: "showDoubleSizedTilesCities",
     expression: [ OR, "showBuilder", "showPig" ]
     expression: [ OR ]
   },
   },
   {
   {
     className: "showSpecialFiguresEatenByDragon_Bullet",
     className: "showDetermineSizeOfCity",
     expression: [ OR, "showPig", "showBuilder", "showSheep" ]
     expression: [OR, "showDoubleSizedTilesCities", "showHalflings", "showWondersOfHumanity", "showLandSurveyors" ]
   },
   },
   {
   {
     className: "showNeutralFiguresEatenByDragon_Bullet",
     className: "showNotDetermineSizeOfCity",
     expression: [ OR, "showMage", "showWitch", "showGingerbreadMan" ]
     expression: [ NOT, "showDetermineSizeOfCity" ]
   },
   },
   {
   {
     className: "showFiguresNotEatenByDragon_Bullet",
     className: "showDetermineSizeOfCityFinalScoring",
     expression: [ OR, "showBarn", "showCastles", "showTeacher" ]
     expression: [ OR, "showDoubleSizedTilesCities", "showHalflings", "showWondersOfHumanity" ]
   },
   },
   {
   {
     className: "showVolcano_Section",
     className: "showNotDetermineSizeOfCityFinalScoring",
     expression: [ NOT, [ NOT, "showDragon" ] ]
     expression: [ NOT, "showDetermineSizeOfCityFinalScoring" ]
   },
   },
   {
   {
     className: "showDragon_Section",
     className: "showDetermineCoatOfArmsOfCity",
     expression: [ NOT, [ NOT, "showDragon" ] ]
     expression: [ OR ]
   },
   },
   {
   {
     className: "showPrincess_Section",
     className: "showNotDetermineCoatOfArmsOfCity",
     expression: [ NOT, [ NOT, "showPrincess" ] ]
     expression: [ NOT, "showDetermineCoatOfArmsOfCity" ]
   },
   },
   {
   {
     className: "showMagicPortal_Section",
     className: "showDetermineMajorityInCity",
     expression: [ NOT, [ NOT, "showMagicPortal" ] ]
     expression: [ OR, "showMayor", "showLandSurveyors" ]
   },
   },
   {
   {
     className: "showFairy_Section",
     className: "showNotDetermineMajorityInCity",
     expression: [ NOT, [ NOT, "showFairy" ] ]
     expression: [ NOT, "showDetermineMajorityInCity" ]
   },
   },
   {
   {
     className: "showNewTiles_Section",
     className: "showDetermineMajorityInCityFinalScoring",
     expression: [ AND, "showPrincessAndDragon_Any", "showTunnel" ]
     expression: [ OR, "showMayor" ]
   },
   },
   {
   {
     className: "showPrincessAndDragon_Section",
     className: "showNotDetermineMajorityInCityFinalScoring",
     expression: [ OR, "showVolcano_Section", "showDragon_Section", "showPrincess_Section", "showMagicPortal_Section", "showFairy_Section", "showNewTiles_Section"  ]  
     expression: [ NOT, "showDetermineMajorityInCityFinalScoring" ]
   },
   },


Line 2,589: Line 2,843:
-->\
-->\
   <li><a href="#tabs-other" class="wica-translate-contents" id="tabOtherExpansions_Label">Other Expansions <span id="_Expansion_Counter_Other_">(0/0)</span></a></li>\
   <li><a href="#tabs-other" class="wica-translate-contents" id="tabOtherExpansions_Label">Other Expansions <span id="_Expansion_Counter_Other_">(0/0)</span></a></li>\
  <li id="tabs-fan-label"><a href="#tabs-fan" class="wica-translate-contents" id="tabFanExpansions_Label">Fan Expansions <span id="_Expansion_Counter_Fan_">(0/0)</span></a></li>\
   <li><a href="#tabs-quick" class="wica-translate-contents" id="tabQuickSelectors_Label">Quick Selectors</a></li>\
   <li><a href="#tabs-quick" class="wica-translate-contents" id="tabQuickSelectors_Label">Quick Selectors</a></li>\
   <li><a href="#tabs-filters" class="wica-translate-contents" id="tabFilters_Label">Filters <span id="_Expansion_Filter_">(-)</span></a></li>\
   <li><a href="#tabs-filters" class="wica-translate-contents" id="tabFilters_Label">Filters <span id="_Expansion_Filter_">(-)</span></a></li>\
Line 2,615: Line 2,870:
   <form xclass="multi-column">\
   <form xclass="multi-column">\
       <span id="_Expansion_Selector_Other_"></span>\
       <span id="_Expansion_Selector_Other_"></span>\
  </form>\
  </div>\
  <div id="tabs-fan" class="hiddenFanExpansions">\
  <form xclass="multi-column">\
      <span id="_Expansion_Selector_Fan_"></span>\
   </form>\
   </form>\
   </div>\
   </div>\
Line 2,671: Line 2,931:
<h4>2.1. "Expansions" tabs</h4>\
<h4>2.1. "Expansions" tabs</h4>\
\
\
<p>The first three tabs from the left allow you to pick expansions in full or partially when possible.</p>\
<p>The first three (or four) tabs from the left allow you to pick expansions in full or partially when possible.</p>\
\
\
<ul>\
<ul>\
Line 2,677: Line 2,937:
<li><b>Minor expansions:</b> lists all official minor expansions by HiG and some of their licensed equivalents.</li>\
<li><b>Minor expansions:</b> lists all official minor expansions by HiG and some of their licensed equivalents.</li>\
<li><b>Other expansions:</b> lists the rest of licensed expansions as well as some unofficial ones.</li>\
<li><b>Other expansions:</b> lists the rest of licensed expansions as well as some unofficial ones.</li>\
<li><b>Fan expansions:</b> lists some fan-made expansions. This tab may not be available in some cases.</li>\
</ul>\
</ul>\
\
\
Line 2,730: Line 2,991:
   <!--li class="spaceLines"><b class="wica-translate-contents" id="textLicensed_Label">Licensed:</b> <span id="_Expansion_Result_Licensed_" class="showLicensedExpansions"></span><span class="showNoLicensedExpansions wica-translate-contents" id="textNone_Label">None</span></li-->\
   <!--li class="spaceLines"><b class="wica-translate-contents" id="textLicensed_Label">Licensed:</b> <span id="_Expansion_Result_Licensed_" class="showLicensedExpansions"></span><span class="showNoLicensedExpansions wica-translate-contents" id="textNone_Label">None</span></li-->\
   <li class="spaceLines"><b class="wica-translate-contents" id="textOther_Label">Other:</b> <span id="_Expansion_Result_Other_" class="showOtherExpansions"></span><span class="showNoOtherExpansions wica-translate-contents" id="textNone_Label">None</span></li>\
   <li class="spaceLines"><b class="wica-translate-contents" id="textOther_Label">Other:</b> <span id="_Expansion_Result_Other_" class="showOtherExpansions"></span><span class="showNoOtherExpansions wica-translate-contents" id="textNone_Label">None</span></li>\
  <li id="tabs-fan-result" class="spaceLines"><b class="wica-translate-contents" id="textFan_Label">Fan:</b> <span id="_Expansion_Result_Fan_" class="showFanExpansions"></span><span class="showNoFanExpansions wica-translate-contents" id="textNone_Label">None</span></li>\
     </ul>\
     </ul>\
   </div>\
   </div>\
</div>';
</div>';