Ive been working on a mod that adds a bit of food to the upkeeps of ships and stations, Implemented in 00_ship_sizes.
Example:
Now the AI won't build any new outposts, starbases, research or mining stations, or ships.
I did some research and implemented additions to 00_common_categories:
Example:
and 00_food_budget:
Example:
Code:
resources =
{
category = station_researchers
cost =
{
minerals = 100
}
upkeep =
{
energy = 1
food = 0.125
}
}
#------------------------------------- vanilla below
Now the AI won't build any new outposts, starbases, research or mining stations, or ships.
I did some research and implemented additions to 00_common_categories:
Example:
Code:
ai_use_parent_for_resources_upkeep =
{
energy
food
alloys
}
#------------------------------------- vanilla below
and 00_food_budget:
Code:
food_upkeep_stations =
{
resource = food
type = upkeep
category = stations
potential =
{
is_lithoid_empire = no
}
fraction =
{
weight = 1
}
}
[code]
But it didn't work. AI still won't build stations or ships. They only start building them again if I remove the food upkeep from [B]00_ship_sizes[/B]. Is there another file I need to edit or am I doing something wrong?
Any help would be much appreciated.