
Last step isn't allowed.

You'll notice by the way that the interface tells me the "colony" could support three units of population, given by various techs... In fact no.
Code: Select all
function calc_production_candidates(limit)
local planet = selected_planet
local empire,star in planet
local no_colony in planet
local push, production_candidates = pusher {}
if limit~='projects' and not no_colony
working_refit_candidates(push)
end
if limit~='ships' and not no_colony
improvement_candidates(push)
end
local refit_candidates = refit_option(push)
if (limit~='ships') and not no_colony
terraforming(push)
colony_bases(push)
ground_unit_candidates(push)
end
if limit~='projects' and not no_colony
ship_candidates(push)
end
if limit~='ships'
activities (push)
end
Code: Select all
if (limit~='ships') and not no_colony
terraforming(push)
colony_bases(push)
ground_unit_candidates(push)
end
Code: Select all
if (limit~='ships') and not no_colony
terraforming(push)
ground_unit_candidates(push)
end
if limit~='projects' and not no_colony
ship_candidates(push)
end
if limit~='ships'
colony_bases(push)
activities (push)
end
Presumably lack of room on the orbital station to scale up farming? To change that, it's in Orders\activities.lua:bjg wrote:In a similar situation (not having any big plans though) I was wondering why the food making project isn't available on such planet/station.
Code: Select all
do
local allowed_hab_only_activities = set("Trade","Research")
function Planet.dont_show_activity(planet,activity)
if planet.no_colony and planet.productive
if not allowed_hab_only_activities[activity]
return 'hab_only'
end
end
end
end
Code: Select all
if planet.inhabited
if(planet.skip_production)
planet.skip_production=nil
elseif not planet.no_colony
production_update(planet)
change_production_if_needed(planet)
planet:create_overflow_project()
end
end end
Code: Select all
if planet.inhabited or planet.productive
if(planet.skip_production)
planet.skip_production=nil
else -- if not planet.no_colony
production_update(planet)
change_production_if_needed(planet)
planet:create_overflow_project()
end
end end
Users browsing this forum: No registered users and 5 guests