LowWarn
This is a plugin written for kwiat_w, with thanks to Pengoros.
What does it do?
When Morale or Power is below 50% the plugin slowly fades in a "haze" at the bottom of the screen to warn you of impending doom!
If you just want Morale (or Power) then open up Main.Lua and delete the relevant line either...
Code:
AddCallback(Player,"MoraleChanged", function(sender, args) MoraleWindow:SetOpacity(level(Player:GetMorale(),MaxMorale)) end)
...if you don't want the morale warning or...
Code:
AddCallback(Player,"PowerChanged", function(sender, args) PowerWindow:SetOpacity(level(Player:GetPower(),MaxPower)) end)
..If you don't want the power warning.
Install as usual and make sure you have the standard Turbine code installed too.
To load type /plugins load LowWarn or use
PluginManager.
Notices:
Beta plugin based on Beta Turbine code. So, expect bugs!