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

报错:Script Error: #194

Open
shenzhencz opened this issue Nov 1, 2024 · 1 comment
Open

报错:Script Error: #194

shenzhencz opened this issue Nov 1, 2024 · 1 comment

Comments

@shenzhencz
Copy link

Invalid context switch [owner_main_species] from [(invalid scope / scope not set)], file: common/governments/civics/ethic_civics_cultural_religious.txt line: 3098, Scope:
type=none
id=0
opener_id=4294967295
random={ 0 3991148998 }
random_allowed=no

(我看了一下源代码,是这样的:
#诱变水疗中心
civic_toxic_baths = {
modification = {
add = {
has_tradition = tr_future_technology
}
remove = {
has_tradition = tr_future_technology
}
}
alternate_civic_version = civic_toxic_baths_individual_machine
playable = { has_toxoids = yes }
ai_playable = { has_toxoids = yes }
description = "civic_tooltip_toxic_baths_effects"
potential = {
species_archetype = {
NOT = {
value = MACHINE
}
}
ethics = {
NOT = {
value = ethic_gestalt_consciousness
}
}
origin = {
NOT = {
value = origin_FBCIV_default
}
}
}
possible = {
origin = { NOT = { value = origin_life_seeded } }
civics = {
NOR = {
value = civic_The_Druid_Way
value = civic_keepers_harmony
value = civic_environmentalist
value = civic_environmentalist_corporate
}
}
}
random_weight = {
base = 15
modifier = {
factor = 4
owner_main_species = { is_species_class = TOX }#报错地点
}
}
leader_background_job_weight = {
bath_attendant = 50
}
})
启动时使用最新版本的群星,和!!Universal Modifier Patch,以及我的音乐mod(自测没问题)

@cocolinfff
Copy link
Owner

got it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants