Przeglądaj źródła

Add arousal magic

master
Fen Dweller 5 lat temu
rodzic
commit
eac36ae986
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E80B35A6F11C3656
2 zmienionych plików z 42 dodań i 4 usunięć
  1. +22
    -0
      features.js
  2. +20
    -4
      game.js

+ 22
- 0
features.js Wyświetl plik

@@ -473,6 +473,10 @@ const panels = {
{
"name": "Pause Digestion",
"target": "magic_pause_digestion"
},
{
"name": "Arousal",
"target": "magic_arousal"
}
]
},
@@ -1512,6 +1516,24 @@ options = [
}
]
},
{
"name": "Sexual Magic",
"id": "sexualMagicEnabled",
"group": "nsfw",
"optional": true,
"panels": ["magic"],
"entries":
[
{
"name": "Arousal",
"id": "magicArousal",
"type": "checkbox",
"buttons": ["magic_arousal"],
"default": true,
"tooltip": "Rapidly arouses the caster"
}
]
},
{
"name": "Breasts",
"id": "hasBreasts",


+ 20
- 4
game.js Wyświetl plik

@@ -4348,6 +4348,26 @@ function magic_pause_digestion()

update([line, newline]);
}

function magic_arousal() {
let line = "Ooo";
if (macro.maleParts && macro.femaleParts) {
}

update([line, newline]);

macro_arousal_execute(100, 100);
}

function macro_arousal_execute(remaining, max) {
if (remaining > 0) {
macro.arouse(2 * remaining / max);
setTimeout(() => macro_arousal_execute(remaining - 1, max), 25);
}
}

function wings_flap()
{
let area = macro.wingArea * 2;
@@ -5283,10 +5303,6 @@ function startGame(e) {
enable_growth_part("body");
enable_growth_part("ass");

if (macro.magicEnabled) {
enable_panel("magic");
}

if (macro.arousalEnabled) {
document.querySelector("#arousalMeter").style.display = 'inline-block';
document.querySelector("#orgasmMeter").style.display = 'inline-block';


Ładowanie…
Anuluj
Zapisz