I also welcome the API change but without deprecation of
energy must be deprecated, then please make sure they are
configurable to deactivate any warnings.
I think professional players already know how to overwrite prototypes and have aliases and getters for their needs already. Everyone can already model a unified
store, and properties for
energy and whatever. Keeping that in mind, the API change is mainly for newbies and those who cannot change prototypes using typescript or have found ugly ways around the inconsistent API which they like to simplify.
As a newbie I did often access
creep.energy directly instead of
creep.carry.energy. The same for storages, it was just so annoying that I always have to access either
energy when at first all I care about is just simple energy. The tower has no
store, the creep has no
energy and no
carry instead; just not consistent. But I can make it consistent with prototypes. So yes, this change would not really help me, but it will help other newbies. One
store for all kind of objects is a great change for the API.
About the database change: Please just choose the most efficient model.
I think every high-level player at 300 cpu cap and those who are looking forward to be one agrees with me that performance is more important than convenience. The database is hidden from us, so I prefer an efficient database model over a simple engine code. I have no idea if your proposed database change will have a positive or negative impact on overall performance, but I just fear that it's a negative impact because it looks more complex than before. In my eyes, the API and the database change are two different changes.
In the end these proposed convenience changes should meet the following requirements:
store for every relevant object to allow a unified way to access energy and resources for convenience.
- It shall not increase overall tick rate, better decrease it.
- It shall not significantly decrease the free memory we can use
- It shall not increase our cpu consumption, better decrease it.
If that's all met, then I believe every single player in the community will be happy about this change.