Special
    name = "HONEYCOMB_SPECIAL"
    description = "HONEYCOMB_SPECIAL_DESC"
    stealth = 0
    spawnrate = 9.0
    spawnlimit = 1
    location = And [
        Planet
        Not Planet type = Asteroids
        Not WithinStarlaneJumps jumps = 2 condition = And [
            System
            Contains And [
                Planet
                Or [
                    Species
                    HasSpecial
                ]
            ]
        ]
        Not WithinStarlaneJumps jumps = 5 condition = And [
            System
            Contains And [
                Planet
                OwnedBy affiliation = AnyEmpire
            ]
        ]
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                Not Species
                Not HasSpecial
                WithinStarlaneJumps jumps = 2 condition = Source
                Not ContainedBy Contains OR [
                    Design name = "SM_EXP_OUTPOST"
                    Building name = "BLD_EXPERIMENTOR_OUTPOST"
                ]
            ]
            activation = Turn high = 0
            stackinggroup = "GAME_START_MOD_STACK"
            priority = [[VERY_EARLY_PRIORITY]]
            effects = [
                SetPlanetSize planetsize = asteroids
                SetPlanetType type = asteroids
            ]

        EffectsGroup
            scope = Source
            activation = Turn high = 0
            stackinggroup = "GAME_START_MOD_STACK"
            priority = [[VERY_EARLY_PRIORITY]]
            effects = [
                SetPlanetSize planetsize = Huge
                SetPlanetType type = Barren
            ]

        EffectsGroup
            scope = And [
                Planet
                Focus type = "FOCUS_INDUSTRY"
                OwnedBy empire = Source.Owner
                ResourceSupplyConnected empire = Source.Owner condition = Source
            ]
            activation = Focus type = "FOCUS_INDUSTRY"
            stackinggroup = "HONEYCOMB_STACK"
            priority = [[VERY_LATE_PRIORITY]]
            effects = SetTargetIndustry value = Value + Target.Population * 0.5 * [[INDUSTRY_PER_POP]]

        [[CHANCE_OF_GUARD_2]]
    ]
    graphic = "icons/specials_huge/honeycomb.png"

#include "monster_guard.macros"

#include "/scripting/common/base_prod.macros"

#include "/scripting/common/priorities.macros"
