[
  {
    "type": "effect_on_condition",
    "id": "EOC_XE_VARIABLE_INIT",
    "eoc_type": "EVENT",
    "required_event": "game_begin",
    "condition": { "math": [ "XE_INITIALIZATION", "!=", "1" ] },
    "effect": [ { "queue_eocs": "EOC_XE_VARIABLE_INITIALIZATION" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_XE_VARIABLE_INITIALIZATION",
    "condition": { "math": [ "XE_INITIALIZATION", "!=", "1" ] },
    "effect": [
      { "math": [ "base_difficulty_1", "=", "2" ] },
      { "math": [ "base_difficulty_2", "=", "3" ] },
      { "math": [ "base_difficulty_3", "=", "4" ] },
      { "math": [ "energy_difficulty_1", "=", "2" ] },
      { "math": [ "energy_difficulty_2", "=", "3" ] },
      { "math": [ "energy_difficulty_3", "=", "4" ] },
      { "math": [ "AI_difficulty_1", "=", "5" ] },
      { "math": [ "dimension_difficulty_1", "=", "5" ] },
      { "math": [ "XE_INITIALIZATION", "=", "1" ] }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_INVENTOR_RECIPE_GAIN",
    "//": "Gives you the very first research recipe for your class.",
    "recurrence": [ "20 hours", "28 hours" ],
    "condition": { "u_has_trait": "INVENTOR" },
    "effect": [ { "u_roll_remainder": [ "inventor_research_base_1" ], "type": "recipe" } ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_INVENTOR_START_RECIPES",
    "eoc_type": "EVENT",
    "required_event": "game_avatar_new",
    "condition": { "compare_string": [ "xe_inventor", { "context_val": "avatar_profession" } ] },
    "effect": [
      { "u_roll_remainder": [ "software_math_inventor", "software_electronics_reference_inventor" ], "type": "recipe" },
      { "u_roll_remainder": [ "inventor_leg_weight", "inventor_jump_boots" ], "type": "recipe" },
      { "u_roll_remainder": [ "inventor_shotgun", "inventor_pistol" ], "type": "recipe" }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_DREAMSMITH_START_RECIPES",
    "eoc_type": "EVENT",
    "required_event": "game_avatar_new",
    "condition": { "compare_string": [ "xe_dreamsmith", { "context_val": "avatar_profession" } ] },
    "effect": [
      { "u_roll_remainder": [ "forged_dreamstuff_ingot" ], "type": "recipe" },
      { "u_roll_remainder": [ "dreamdross_bo", "dreamdross_knife", "dreamdross_club" ], "type": "recipe" },
      { "u_roll_remainder": [ "dreamdross_lump", "forged_dreamstuff_ingot" ], "type": "recipe" }
    ]
  }
]
