Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

封装内 参数<域> 后面写码不会正常解析 #95

Closed
Snowon-I opened this issue Nov 5, 2024 · 3 comments
Closed

封装内 参数<域> 后面写码不会正常解析 #95

Snowon-I opened this issue Nov 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Snowon-I
Copy link

Snowon-I commented Nov 5, 2024

4494d32717bb8d7251df28a1c1a46609

@Snowon-I
Copy link
Author

Snowon-I commented Nov 5, 2024

MGWOIS_shroud_rifts_situation_begin = {
    start_situation = {
        target = $planet$
        type = situation_MGWOIS_shroud_rift_openning
        effect = {
            if = {
                limit = {
                    owner = {
                        OR = {
                            has_ethic = ethic_fanatic_spiritualist
                            has_ethic = ethic_spiritualist
                        }
                    }
                }
                set_situation_approach = situation_MGWOIS_full_use_the_shroud_rift_open
            }
            else_if = {
                limit = {
                    owner = {
                        has_origin = origin_MGWOIS_the_shroud_rift
                    }
                }
                set_situation_approach = situation_MGWOIS_stop_the_shroud_rift_open
            }
            else = {
                set_situation_approach = situation_MGWOIS_research_the_shroud_rift_open
            }
            add_situation_progress = $planet$.value:situation_MGWOIS_shroud_rift_open_progress_in_planet
        }
    }
    $planet$ = {
        every_owned_pop = {
            set_pop_flag = MGWOIS_pop_lock_by_shroud_rifts
        }
    }
}

@DragonKnightOfBreeze
Copy link
Owner

DragonKnightOfBreeze commented Nov 6, 2024

目前插件在合并规则表达式时不兼容alias_name[x]alias_keys_field[x],这个需要优化。
在这张截图中是:scope[effect]alias_name[effect]

@DragonKnightOfBreeze DragonKnightOfBreeze added the bug Something isn't working label Nov 6, 2024
DragonKnightOfBreeze added a commit that referenced this issue Nov 8, 2024
@DragonKnightOfBreeze
Copy link
Owner

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants