Small code improvements

This commit is contained in:
Wofsauge committed 2022-01-15 23:22:06 +01:00
1 parent 071cd9ce5e
commit 99140db692
3 files changed
+7 -2

No files matched your search

+6
View File
@@ -15,6 +15,12 @@ EID.ButtonToIconMap = {
[ButtonAction.ACTION_PAUSE] = "{{ButtonMenu}}",
}
-- List of Effect variants that should be handled for descriptions
EID.effectList = {
["76"] = true,
}
-- List of HUD elements, their position and usage
EID.HUDElements = {
["Active1"] = {x = 20,y = 5, width = 65, height = 65, anchors={"TOP","LEFT"}, descriptionObj = function()
local id = EID.player:GetActiveItem(ActiveSlot.SLOT_PRIMARY)