I have created a mod, that changes the Placement rules for Habitats, so that they can only be built over ressource deposits. This is an Incredible help against Habitat spamming and also helps the AI economy a lot. The only Problem is, that the Player is not exempt from those new Placement rules. So the Player is also limited, which a consider a flaw.
Because of that I want to Limit this only to the AI. The Problem is, that i seem unable to find a code, that enables me to do so.
Here is what i tried so far in the Habitat file:
OR = {
is_ai = no
custom_tooltip = {
fail_text = "requires_no_orbital_station"
has_orbital_station = yes
} }
custom_tooltip = {
fail_text = "requires_no_orbital_station"
OR = {
is_ai = no
has_orbital_station = yes
}}
custom_tooltip = {
OR = {
fail_text = "requires_no_orbital_station"
is_ai = no
has_orbital_station = yes
}}
None of those worked. The Habitat file doesnt seem to recognize is_ai at all. Do you have any idea, how this issue could be solved?
Because of that I want to Limit this only to the AI. The Problem is, that i seem unable to find a code, that enables me to do so.
Here is what i tried so far in the Habitat file:
OR = {
is_ai = no
custom_tooltip = {
fail_text = "requires_no_orbital_station"
has_orbital_station = yes
} }
custom_tooltip = {
fail_text = "requires_no_orbital_station"
OR = {
is_ai = no
has_orbital_station = yes
}}
custom_tooltip = {
OR = {
fail_text = "requires_no_orbital_station"
is_ai = no
has_orbital_station = yes
}}
None of those worked. The Habitat file doesnt seem to recognize is_ai at all. Do you have any idea, how this issue could be solved?
- 1