脚本效果
add_scientific_breakthrough
- Set variable
- Name:
made_breakthroughs_in_$type$ - Value: yes
- Name:
- Change variable
- Name: num_of_scientific_breakthroughs
- Add: 1
完整脚本
调用它的脚本会填入这些值,各调用处见“关联”。
$type$
custom_tooltip = {
text = add_scientific_breakthrough_of_type_$type$
set_variable = {
name = made_breakthroughs_in_$type$
value = yes
}
}