Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

7
[Mod help] Why is this event corrupted?
Post Flair (click to view more posts with a particular flair)
Author Summary
GTAIVisbest is in Mod Help
Post Body

Found below is the content of an event I wrote that makes insurgencies ineffective outside their population support base:


### Sunni militias gets BTFO if goes too far ###
country_event = {
    id = 124
    title = "EVTNAME124"
    desc = "EVTDESC124"

    trigger = {
        tag = SUN
        government = insurgency
        any_province = {
            AND = {
                owned_by = SUN
                NOT = { has_province_flag = sunni_support }
                NOT = { has_province_modifier = insurgency_outside_support }
            }
        }
    }

    mean_time_to_happen = {
        days = 1
    }

    option = {
        name = "EVTOPTA124"
        any_province = {
            limit = {
                AND = {
                    owned_by = SUN
                    NOT = { has_province_modifier = insurgency_outside_support }
                    NOT = { has_province_flag = sunni_support }
                }
            }
            add_province_modifier = {
                name = insurgency_outside_support
                duration = 365
            }
        }

    }
}

### When you roll up into town and they greet you ###
country_event = {
    id = 125
    title = "EVTNAME125"
    desc = "EVTDESC125"

    trigger = {
        tag = SUN
        any_province = {
            AND = {
                has_province_modifier = insurgency_outside_support
                has_province_flag = sunni_support
                owned_by = SUN
            }
        }
    }

    mean_time_to_happen = {
        days = 1
    }

    option = {
        name = "EVTOPTA125"
        any_province = {
            limit = {
                AND = {
                    has_province_modifier = insurgency_outside_support
                    has_province_flag = sunni_support
                    owned_by = SUN
                }
            }
            remove_province_modifier = insurgency_outside_support
        }

    }
}

For some reason, when I prompt the command to launch via console, it shows up without an option button. This is always the result of an extra bracket closing the event before the option, but in this case I've verified everything and there's 23 open brackets and 23 closed brackets. I'm not quite sure what's going on.

On top of this, the console throws back some negatives for the event to fire when I trigger it by force. It says [x] Government: Insurgency and [x] is Sunni Militias, when both should be correct (the country launching the event is Sunni Militias and the government is Insurgency).

Any help would be appreciated!

Author
Account Strength
0%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
97,708
Link Karma
26,710
Comment Karma
69,365
Profile updated: 8 months ago
Posts updated: 10 months ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago