SpringCabal / SkeletonGame

Skeleton game project used for Ludum Dare competitions
0 stars 3 forks source link

Create a generic version of attributes #18

Closed GoogleFrog closed 5 years ago

GoogleFrog commented 8 years ago

The ZK attributes gadget is an interface for changing reload times and movement speeds. It is well tested and deals with the edge cases. It also does a lot of other stuff and the interface is not great; it works on UnitRulesParams (good) but you have to change the gadget to make it listen to the UnitRulesParam (bad).

A generic version of the gadget should be created to save on edge case management. https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/unit_attributes.lua

GoogleFrog commented 5 years ago

I made this.

These other files are required, and may already exist.