Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
/* eslint-disable no-undef */
function effectsWater() {
DOL.Perflog.logWidgetStart("effectsWaterJs");
const fragment = document.createDocumentFragment();
const sWikifier = text => {
fragment.append(Wikifier.wikifyEval(text + " "));
};
const span = (text, colour) => {
const element = document.createElement("span");
if (colour) element.classList.add(colour);
element.textContent = text + " ";
fragment.append(element);
};
const br = () => fragment.append(document.createElement("br"));
let wetIntro = 0;
let squidArousal = 0;
switch (V.squidcount) {
case 1:
sWikifier('<span class="purple">You feel the squid tease your <<genitals>>.</span> <<garousal>><<arousal 100 "genitals">>');
break;
case 2:
sWikifier(
'<span class="purple">You feel the squids tease your <<genitals>> and chest.</span> <<garousal>><<arousal 100 "breasts">><<arousal 100 "genitals">>'
);
break;
case 3:
sWikifier(
'<span class="purple">You feel the squids tease your <<genitals>> and <<breasts>>.</span> <<garousal>><<arousal 200 "breasts">><<arousal 100 "genitals">>'
);
break;
case 4:
sWikifier(
'<span class="purple">You feel the squids tease your <<genitals>>, <<breasts>>, and <<bottom>>.</span> <<garousal>><<arousal 200 "breasts">><<arousal 100 "genitals">><<arousal 100 "bottom">>'
);
break;
default:
if (V.squidcount >= 5) {
squidArousal = V.squidcount * 30;
sWikifier(`<span class="purple">You feel ${V.squidcount} squids tease your <<genitals>>, <<breasts>>, <<bottom>>, and other parts of your body.</span>
<<garousal>><<arousal ${squidArousal} "breasts">><<arousal ${squidArousal} "genitals">><<arousal ${squidArousal} "bottom">>`);
}
break;
}
if (!V.worn.upper.type.includes("naked") && !waterproofCheck(V.worn.upper)) {
if (V.upperwet >= 100 && V.upperwetstage < 3) {
V.upperwetstage = 3;
wetIntro = 2;
sWikifier(`<span class="lewd">Water soaks through your ${V.worn.upper.name}, exposing your <<undertop>>.</span>`);
} else if (V.upperwet < 90 && V.upperwetstage >= 3) {
V.upperwetstage = 2;
sWikifier(`<span class="green">Your ${V.worn.upper.name} <<upperhas>> dried, concealing your <<undertop>>.</span>`);
} else if (V.upperwet >= 80 && V.upperwetstage < 2) {
V.upperwetstage = 2;
wetIntro = 1;
sWikifier(`<span class="purple">Your ${V.worn.upper.name} <<upperplural>> wet.</span>`);
} else if (V.upperwet < 70 && V.upperwetstage >= 2) {
V.upperwetstage = 1;
sWikifier(`<span class="green">Your ${V.worn.upper.name} <<upperplural>> drying out.</span>`);
} else if (V.upperwet >= 50 && V.upperwetstage < 1) {
V.upperwetstage = 1;
sWikifier(`<span class="blue">Your ${V.worn.upper.name} <<upperplural>> damp.</span>`);
} else if (V.upperwet < 40 && V.upperwetstage >= 1) {
V.upperwetstage = 0;
sWikifier(`<span class="green">Your ${V.worn.upper.name} <<upperplural>> dry.</span>`);
}
}
if (!V.worn.lower.type.includes("naked") && !waterproofCheck(V.worn.lower)) {
if (V.lowerwet >= 100 && V.lowerwetstage < 3) {
V.lowerwetstage = 3;
wetIntro = 2;
sWikifier(`<span class="lewd">Water soaks through your ${V.worn.lower.name}, exposing your <<undies>>.</span>`);
} else if (V.lowerwet < 90 && V.lowerwetstage >= 3) {
V.lowerwetstage = 2;
sWikifier(`<span class="green">Your ${V.worn.lower.name} <<lowerhas>> dried, concealing your <<undies>>.</span>`);
} else if (V.lowerwet >= 80 && V.lowerwetstage < 2) {
V.lowerwetstage = 2;
wetIntro = 1;
sWikifier(`<span class="purple">Your ${V.worn.lower.name} <<lowerplural>> wet.</span>`);
} else if (V.lowerwet < 70 && V.lowerwetstage >= 2) {
V.lowerwetstage = 1;
sWikifier(`<span class="green">Your ${V.worn.lower.name} <<lowerplural>> drying out.</span>`);
} else if (V.lowerwet >= 50 && V.lowerwetstage < 1) {
V.lowerwetstage = 1;
sWikifier(`<span class="blue">Your ${V.worn.lower.name} <<lowerplural>> damp.</span>`);
} else if (V.lowerwet < 40 && V.lowerwetstage >= 1) {
V.lowerwetstage = 0;
sWikifier(`<span class="green">Your ${V.worn.lower.name} <<lowerplural>> dry.</span>`);
}
}
if (!V.worn.under_lower.type.includes("naked") && !playerChastity() && !waterproofCheck(V.worn.under_lower)) {
if (V.underlowerwet >= 100 && V.underlowerwetstage < 3 && V.pantiesSoaked) {
V.underlowerwetstage = 3;
if (V.lowerwetstage === 3 || V.worn.lower.type.includes("naked")) {
// If clothing above underwear is also wet, or missing
wetIntro = 2;
sWikifier(`<span class="lewd">Your bodily fluids soak through your ${V.worn.under_lower.name}, exposing your <<genitals>>.</span>`);
} else if (setup.clothes.lower[clothesIndex("lower", V.worn.lower)].skirt === 1) {
sWikifier(
`<span class="lewd">Your bodily fluids soak through your ${V.worn.under_lower.name}, exposing your <<genitals>> to the air under your $worn.lower.name.</span>`
);
} else {
span(`Your bodily fluids soak through your ${V.worn.under_lower.name}.`, "lewd");
}
} else if (V.underlowerwet >= 100 && V.underlowerwetstage < 3) {
V.underlowerwetstage = 3;
wetIntro = 2;
sWikifier(`<span class="lewd">Water soaks through your ${V.worn.under_lower.name}, exposing your <<genitals>>.</span>`);
} else if (V.underlowerwet < 90 && V.underlowerwetstage >= 3) {
V.underlowerwetstage = 2;
sWikifier(`<span class="green">Your ${V.worn.under_lower.name} <<underlowerhas>> dried, concealing your <<genitals>>.</span>`);
} else if (V.underlowerwet >= 80 && V.underlowerwetstage < 2) {
V.underlowerwetstage = 2;
wetIntro = 1;
sWikifier(`<span class="purple">Your ${V.worn.under_lower.name} <<underlowerplural>> wet.</span>`);
} else if (V.underlowerwet < 70 && V.underlowerwetstage >= 2) {
V.underlowerwetstage = 1;
sWikifier(`<span class="green">Your ${V.worn.under_lower.name} <<underlowerplural>> drying out.</span>`);
} else if (V.underlowerwet >= 50 && V.underlowerwetstage < 1) {
V.underlowerwetstage = 1;
sWikifier(`<span class="blue">Your ${V.worn.under_lower.name} <<underlowerplural>> damp.</span>`);
} else if (V.underlowerwet < 40 && V.underlowerwetstage >= 1) {
V.underlowerwetstage = 0;
sWikifier(`<span class="green">Your ${V.worn.under_lower.name} <<underlowerplural>> dry.</span>`);
}
}
if (!V.worn.under_upper.type.includes("naked") && !V.worn.under_upper.type.includes("chastity") && !waterproofCheck(V.worn.under_upper)) {
if (V.underupperwet >= 100 && V.underupperwetstage < 3) {
V.underupperwetstage = 3;
wetIntro = 2;
sWikifier(`<span class="lewd">Water soaks through your ${V.worn.under_upper.name}, exposing your <<breasts>>.</span>`);
} else if (V.underupperwet < 90 && V.underupperwetstage >= 3) {
V.underupperwetstage = 2;
sWikifier(`<span class="green">Your ${V.worn.under_upper.name} <<underupperhas>> dried, concealing your <<breasts>>.</span>`);
} else if (V.underupperwet >= 80 && V.underupperwetstage < 2) {
V.underupperwetstage = 2;
wetIntro = 1;
sWikifier(`<span class="purple">Your ${V.worn.under_upper.name} <<underupperplural>> wet.</span>`);
} else if (V.underupperwet < 70 && V.underupperwetstage >= 2) {
V.underupperwetstage = 1;
sWikifier(`<span class="green">Your ${V.worn.under_upper.name} <<underupperplural>> drying out.</span>`);
} else if (V.underupperwet >= 50 && V.underupperwetstage < 1) {
V.underupperwetstage = 1;
sWikifier(`<span class="blue">Your ${V.worn.under_upper.name} <<underupperplural>> damp.</span>`);
} else if (V.underupperwet < 40 && V.underupperwetstage >= 1) {
V.underupperwetstage = 0;
sWikifier(`<span class="green">Your ${V.worn.under_upper.name} <<underupperplural>> dry.</span>`);
}
}
if (!V.possessed) {
if (wetIntro >= 2) {
sWikifier("<<exposure>>");
if (V.exhibitionism >= 55) {
span(
!V.worn.face.type.includes("blindfold")
? "You feel a lewd thrill as you look down and see your clothes clinging tight to your body, completely transparent."
: "You feel a lewd thrill as your clothes cling tight to your body, completely transparent."
);
} else {
span(
!V.worn.face.type.includes("blindfold")
? "You look down in horror at your clothes, which cling tight to your body and are completely transparent."
: "Horror takes over you as you feel your clothes, which cling tight to your body and are completely transparent."
);
}
sWikifier("<<covered>>");
br();
br();
} else if (wetIntro >= 1) {
if (V.exhibitionism >= 35) {
span(
!V.worn.face.type.includes("blindfold")
? "You feel a lewd thrill as you look down and see your clothes clinging tight to your body, giving a hint of transparency."
: "You feel a lewd thrill as your clothes cling tight to your body, giving a hint of transparency."
);
} else {
span(
!V.worn.face.type.includes("blindfold")
? "You look down anxiously at your clothes, now clinging tightly to your body and giving a hint of transparency."
: "You feel your clothes, now clinging tightly to your body and giving a hint of transparency."
);
}
br();
br();
}
}
DOL.Perflog.logWidgetEnd("effectsWaterJs");
return fragment;
}
Macro.add("effectswater", {
handler() {
const fragment = effectsWater();
Loading
Loading full blame...