[
  {
    "type": "trap",
    "id": "tr_alien_tree_trap_roots",
    "name": "alien roots",
    "color": "dark_gray",
    "symbol": "/",
    "visibility": 12,
    "avoidance": 10,
    "difficulty": 99,
    "flags": [ "UNDODGEABLE", "AVATAR_ONLY" ],
    "//": "Needs to be AVATAR_ONLY, otherwise the summoned monsters trigger the trap again.",
    "action": "eocs",
    "eocs": [ "EOC_ALIEN_TRAP_TREE_FIND_TREE" ],
    "trigger_weight": "50000 g",
    "trigger_message_u": "As you step on the roots, they twitch slightly.",
    "trigger_message_npc": "As <npcname>' steps on the roots, they twitch slightly."
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_ALIEN_TRAP_TREE_FIND_TREE",
    "effect": [
      {
        "u_location_variable": { "context_val": "local_alien_tree" },
        "target_max_radius": 12,
        "terrain": "t_alien_meadow_tree_trap",
        "true_eocs": [
          {
            "id": "EOC_ALIEN_TRAP_TREE_FIND_TREE_2",
            "effect": [
              {
                "u_spawn_monster": "GROUP_ALIEN_TRAP_TREE",
                "target_var": { "context_val": "local_alien_tree" },
                "real_count": [ 2, 5 ],
                "outdoor_only": true,
                "group": true,
                "min_radius": 1,
                "max_radius": 3
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "type": "trap",
    "id": "tr_mom_find_dead_fifth_sun_ocelopilli_trooper",
    "name": "Dead Fifth Sun Achievement Trap",
    "color": "dark_gray",
    "symbol": "/",
    "visibility": 99,
    "avoidance": 99,
    "difficulty": 99,
    "always_invisible": true,
    "flags": [ "UNDODGEABLE", "AVATAR_ONLY" ],
    "action": "eocs",
    "eocs": [ "EOC_MOM_FIND_DEAD_FIFTH_SUN_OCELOPILLI_TROOPER" ],
    "trigger_message_u": ""
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_MOM_FIND_DEAD_FIFTH_SUN_OCELOPILLI_TROOPER",
    "effect": [ { "give_achievement": "mom_find_dead_fifth_sun_ocelopilli_trooper" } ]
  }
]
