updated hover mode

This commit is contained in:
Chr1Z93 2024-06-05 20:38:06 +02:00
parent 11b3b332c5
commit 52c19cd6dd
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/1704036721123215146/E44A3B99EACF310E49E94977151A03C9A3DC7F17/",
"WidthScale": 0
},
"Description": "Displays the hand size (total or by title for \"Dream Enhancing Serum\"), hover over it to temporarily toggle counting method.\n\nWill detect if DES is present during each Upkeep.\n\nAllows you to randomly discard a card from your hand.",
"Description": "Displays the hand size (total or by title for \"Dream Enhancing Serum\" - hover over it to temporarily to see the regular count).\n\nWill detect if DES is present during each Upkeep.\n\nAllows you to randomly discard a card from your hand.",
"DragSelectable": true,
"GMNotes": "",
"GUID": "450688",

View File

@ -45,7 +45,7 @@ end
-- updates colors when object is dropped somewhere
function onDrop() updateColors() end
-- toggles counting method while hovered
-- disables DES counting while hovered
function onObjectHover(hoverColor, object)
if hoverColor ~= handColor then return end
@ -80,7 +80,7 @@ function updateValue()
-- get opposite value if currently hovered
if hovering then
hasDES = not hasDES
hasDES = false
end
self.editButton({ index = 1, label = "DES: " .. (hasDES and "✓" or "✗") })