脚本效果
compare_and_get_highest_variable_from_4
- Remove variable: comperator_var
- Remove variable: comperator_var_current_highest_value_1_comperator
- Remove variable: comperator_var_current_highest_value_2_comperator
- Remove variable: comperator_var_current_highest_value_3_comperator
- Remove variable: comperator_var_current_highest_value_4_comperator
- Set variable
- Name: value_1_comperator
- Value: value 1
- Set variable
- Name: value_2_comperator
- Value: value 2
- Set variable
- Name: value_3_comperator
- Value: value 3
- Set variable
- Name: value_4_comperator
- Value: value 4
- 如果
- 如果
- 如果
- 如果
- Set variable
- Name: comperator_var
- Value: var:value_1_comperator
- Set variable: comperator_var_current_highest_value_1_comperator
- 如果则
- Set variable
- Name: comperator_var
- Value: var:value_2_comperator
- Remove variable: comperator_var_current_highest_value_1_comperator
- Set variable: comperator_var_current_highest_value_2_comperator
- Set variable
- 如果则
- Set variable
- Name: comperator_var
- Value: var:value_3_comperator
- Remove variable: comperator_var_current_highest_value_1_comperator
- Remove variable: comperator_var_current_highest_value_2_comperator
- Set variable: comperator_var_current_highest_value_3_comperator
- Set variable
- 如果则
- Set variable
- Name: comperator_var
- Value: var:value_4_comperator
- Remove variable: comperator_var_current_highest_value_1_comperator
- Remove variable: comperator_var_current_highest_value_2_comperator
- Remove variable: comperator_var_current_highest_value_3_comperator
- Set variable: comperator_var_current_highest_value_4_comperator
- Set variable
完整脚本
调用它的脚本会填入这些值,各调用处见“关联”。
$value_1$$value_2$$value_3$$value_4$
被使用于 1
Target Artist的哲学value_1 = societal_value:centralization_vs_decentralization · value_2 = societal_value:traditionalist_vs_innovative · value_3 = societal_value:aristocracy_vs_plutocracy · value_4 = societal_value:individualism_vs_communalism发生时立即
脚本 23
需要 5
变量
- comperator_varIf 5, If 6…
- value_1_comperatorIf 1
- value_2_comperatorIf 2, If 5
- value_3_comperatorIf 3, If 6
- value_4_comperatorIf 4, If 7
给予 9
变量
- comperator_varIf 5, If 6…
- comperator_var_current_highest_value_1_comperatorSet variable
- comperator_var_current_highest_value_2_comperatorIf 5
- comperator_var_current_highest_value_3_comperatorIf 6
- comperator_var_current_highest_value_4_comperatorIf 7
- value_1_comperatorIf 1, Set variable 1
- value_2_comperatorIf 2, Set variable 2
- value_3_comperatorIf 3, Set variable 3
- value_4_comperatorIf 4, Set variable 4
移除 5
变量
- comperator_varRemove variable
- comperator_var_current_highest_value_1_comperatorIf 5, If 6…
- comperator_var_current_highest_value_2_comperatorIf 6, If 7…
- comperator_var_current_highest_value_3_comperatorIf 7, Remove variable
- comperator_var_current_highest_value_4_comperatorRemove variable
引用 4
变量
- value_1_comperatorSet variable 5
- value_2_comperatorIf 5
- value_3_comperatorIf 6
- value_4_comperatorIf 7