Negative Planet Values |

Simple question, do negative planet values work??
ie, if I give the range of -50 to 200% for planet values (mineral/farm/rads) will it do anything?? (will the planet naturally cost more of that type or will it only do something if say a monolith facility is built?)
anyone?
Bueller?
Re: Negative Planet Values
Yeah. A value of less than 0 will only take effect if someone builds a resource productiion facility of that type.
Re: Negative Planet Values
It would have no affect on the maintanance of any building, it would simply result in negative production for the appropriate facilities. Therefore I'd hope it didn't work.
No idea if it'd be possible to make maintanence work on a per planet basis.
Though I guess you could increase the maintanance for facilities and then have every facility produce some of each material to attempt to counter it's costs.
Re: Negative Planet Values
That sounds extremely awkward. I think it'd be easier to make a planetary ability to give spaceyards a negative bonus.
Re: Negative Planet Values
I'm pretty sure that negative values doesn't work, although admittedly I haven't actually tested. It just seems logical for Aaron to use an unsigned short integer for the planetary values. In this case, the correct range is between 0 and 255. If you try to put more or less, then I assume the read in function will cut the overflow/underflow, and will result in a max or zero value (depending on the situation).
As for what the values do, as others have mentioned, it only works on resource production facilities and have no effect on maintenance values, as those are based on a set percentage of the building's construction cost.




Re: Negative Planet Values
Hopefully Aaron put in proper bounds checking and the lowest allowed value is 0.
SpaceEmpires.net | Space Empires Wiki