Hey there,
can someone help to script a condition that a starbase building can be built only in binary or trinary systems?
I can't find something working or that don't break the mod.
I find this proposition for something else, and tryed it to fullfill my needs, but it don't work at all, it even show unknow building in the stabase building list.
## tooltips
requires_multiple_stars:0 "$TRIGGER_FAIL$Can only be build around binary or trinary stars."
can someone help to script a condition that a starbase building can be built only in binary or trinary systems?
I can't find something working or that don't break the mod.
I find this proposition for something else, and tryed it to fullfill my needs, but it don't work at all, it even show unknow building in the stabase building list.
Code:
custom_tooltip = {
fail_text = "requires_multiple_stars"
count_planets = {
limit = { is_star = yes }
count = 2
}
}
## tooltips
requires_multiple_stars:0 "$TRIGGER_FAIL$Can only be build around binary or trinary stars."