脚本效果U脚本效果update_cloth_silk_guild_industry_variable效果如果Any owned locationAny buildings in location›生产精纺品或丝绸则Set variableName: produces_fine_cloth_or_silk_variableValue: 1Years: 1否则Remove variable: produces_fine_cloth_or_silk_variable完整脚本关联需要 2精纺品If丝绸If被使用于 2Ccloth_silk_guild_industry_tracker效果Oon_game_start效果脚本 2给予 1Pproduces_fine_cloth_or_silk_variableIf移除 1Pproduces_fine_cloth_or_silk_variableElse定义in_game/common/scripted_effects/on_action_effects.txt:599▾if = {▾limit = {▾any_owned_location = {▾any_buildings_in_location = {▾OR = {building_produced_goods = goods:fine_clothbuilding_produced_goods = goods:silk}}}}▾set_variable = {name = produces_fine_cloth_or_silk_variablevalue = 1years = 1}}▾else = {remove_variable = produces_fine_cloth_or_silk_variable}历史记录