瀏覽代碼

Adjust appearance of text items in the creation screen. Add arousal help

tags/v1.1.0
Fen Dweller 5 年之前
父節點
當前提交
41ec1b0f74
共有 3 個文件被更改,包括 17 次插入3 次删除
  1. +10
    -2
      features.js
  2. +5
    -0
      game.js
  3. +2
    -1
      style.css

+ 10
- 2
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."
}
]
},


+ 5
- 0
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);
}



+ 2
- 1
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;
}

Loading…
取消
儲存