Framework for extending the Powerup Display via Lua
Hi. I'm completely exhausted and cannot code at all right now, but I CAN mentally envision things.
New "PowerupDisplay" hook, takes argument of player.
- If returns nil, hook has determined powerup represented by hook is not visible at this moment (ie, powerup is not in action).
- Otherwise, should return a list with specific keys.
pict: String of up to 8 characters. For example,
TVGVICON. If not provided, not visible; for example, flashing.
durs: Time to display on icon. If not provided, no timer visible ala shields.
stac: Number of icons to display stacked on one another ala Force Shield HP indication. Defaults to 1 if not provided or less than 1.
This is either a reminder to myself for later, or a system which someone who is NOT dead can experiment with implementing sooner.