Author Topic: Food/gold Rebalance  (Read 10713 times)

Dante Silverfire

  • Mighty Duke
  • ****
  • Posts: 1786
  • Merlin (AT), Brom(DWI), Proslyn(DWI)
    • View Profile
Re: March 2013 Roadmap
« Topic Start: March 10, 2013, 12:31:01 AM »
Okay, I see how that can be an issue.

Can't you just restrict the values to have an absolute minimum? I don't know what sort of programming structure it would have but something as simple as: y = 5 + x, where {x:x=>0} and x is the function by which you determine food production?

Edit: Alternatively, could have an if/then statement sort of modifier.

x = formula for food production
y = food produced.

If x > 0,
       z = x,
else
       z = 0
end

y = 5 + z
« Last Edit: March 10, 2013, 12:45:18 AM by Dante Silverfire »
"This is the face of the man who has worked long and hard for the good of the people without caring much for any of them."