diff --git a/features.js b/features.js index 4292378..819a395 100644 --- a/features.js +++ b/features.js @@ -1017,17 +1017,25 @@ options = [ "warning": "Arousal is enabled", "entries": [ + { + "name": "Help", + "id": "", + "type": "label", + "tooltip": "Most actions increase arousal, as does digestion and being overfilled.\nEdging occurs when you're near orgasm, and increases the total volume of the orgasm." + }, { "name": "Arousal multiplier", "id": "arousalFactor", "type": "float", - "default": "1" + "default": "1", + "tooltip": "How quickly arousal and orgasm builds." }, { "name": "Edge multiplier", "id": "edgeFactor", "type": "float", - "default": "1" + "default": "1", + "tooltip": "How quickly edge builds up." } ] }, diff --git a/game.js b/game.js index bec68d7..6e409c0 100644 --- a/game.js +++ b/game.js @@ -5652,6 +5652,11 @@ function render_label(li, option) { div.textContent = option.name; + if (option.tooltip != undefined) { + div.classList.add("has-tooltip"); + div.setAttribute("title", option.tooltip); + } + li.appendChild(div); } diff --git a/style.css b/style.css index f49dba6..fe1c1fe 100644 --- a/style.css +++ b/style.css @@ -798,7 +798,8 @@ body.dark .meterLabel { .custom-label { text-align: center; font-size: 30px; - width: 100%; + margin: auto; padding-top: 6px; padding-bottom: 6px; + user-select: none; } \ No newline at end of file