The base production is total facility production * planet value. You then add all bonuses/penalties up from modifying facilities, population, happiness, racial characteristics, etc., then multiply the base value by that sum. So say you have a planet with 102% organics value and one Organic Farm Facility. It has 30% bonus from pop and 10% from happinss. It makes (1000 * 1.02) * (1.0 + 0.30 + 0.10) = 1020 * 1.40 = 1428. Throw a Robotoid III on there, it now will make (1000 * 1.02) * (1.0 + 0.30 + 0.10 + 0.30) = 1020 * 1.70 = 1734. You get the best planet affecting enhancement abiltiy that affects the planet, and the best system affecting enhancement ability that affects the planet. So if you have a Robotoid III (30%) on the planet and a System Robotoid III (30%) in the system, you get a total of 60% bonus from the two facilities.
System resource enhancers have the exact same threshhold as planetary ones, as they provide the same bonus and have the same space tradeoff against robotoids.

Now, when you start to throw in build costs, it just gets messy and I will let someone else spend their time on that.
[ February 05, 2004, 08:02: Message edited by: Imperator Fyron ]