About the Effects System
Fri, 2013-06-07 09:46 — superadmin
We are working in a very important section of the game. The Effect Module. But, what is an effect in the game?
The Effects are the register of changes mades to a player, unit, terrain, planet that affect one or more of their stats and they can be reverted.
Lets make an example. We build a biomatery refinery, a construction that improve the rate of biomatery generated per hour in a colony. Whe need a systematic way of controlling that rate when building, upgrading an downgrading the construction, and more important, the user needs to know what effects are applied to the rate of biomatery production in the colony.
If we only improve the rate of biomatery, the user will only see the final effect but have no explicit way of knowing how. it was generated. So if we have a colony in a region that generates 10 biomatery per hour, and in that colony we have a biomateruy rfienry that add 1 biomatery per hour, the total will be 11 biomatery per hour, but the user will not know how that total was generated.
That's why we need a way to store those changes. and the effect way really help alot in this sense.

