Procházet zdrojové kódy

Removed growth points for now. Corrected some grammar

tags/v0.7.0
Fen Dweller před 7 roky
rodič
revize
459bcf00b6
3 změnil soubory, kde provedl 7 přidání a 41 odebrání
  1. +2
    -36
      game.js
  2. +3
    -3
      recursive-desc.js
  3. +2
    -2
      stroll.html

+ 2
- 36
game.js Zobrazit soubor

@@ -1276,7 +1276,7 @@ let macro =
"growthPoints": 0,

"addGrowthPoints": function(mass) {
this.growthPoints += Math.round(50 * mass / (this.scale*this.scale));
this.growthPoints += Math.round(mass / (this.scale*this.scale));
},

// 0 = entirely non-fatal
@@ -3068,7 +3068,6 @@ function update(lines = [])

document.getElementById("height").innerHTML = "Height: " + transformNumbers(length(macro.height, unit));
document.getElementById("mass").innerHTML = "Mass: " + transformNumbers(mass(macro.mass, unit));
document.getElementById("growth-points").innerHTML = "Growth Points:" + macro.growthPoints;
document.getElementById("arousal").innerHTML = "Arousal: " + round(macro.arousal,0) + "%";
document.getElementById("edge").innerHTML = "Edge: " + round(macro.edge * 100,0) + "%";
document.getElementById("cum").innerHTML = "Cum: " + transformNumbers(volume(macro.cumStorage.amount,unit,false));
@@ -3119,12 +3118,6 @@ function grow_pick(times) {

function grow(times=1)
{
if (macro.growthPoints < 100 * times) {
update(["You don't feel like growing right now."]);
return;
}

macro.growthPoints -= 100 * times;

let oldHeight = macro.height;
let oldMass = macro.mass;
@@ -3145,12 +3138,6 @@ function grow(times=1)

function grow_dick(times=1)
{
if (macro.growthPoints < 10 * times) {
update(["You don't feel like growing right now."]);
return;
}

macro.growthPoints -= 10 * times;

let oldLength = macro.dickLength;
let oldMass = macro.dickMass;
@@ -3164,12 +3151,7 @@ function grow_dick(times=1)

function grow_balls(times=1)
{
if (macro.growthPoints < 10 * times) {
update(["You don't feel like growing right now."]);
return;
}

macro.growthPoints -= 10 * times;

let oldDiameter = macro.ballDiameter;
let oldMass = macro.ballMass;
@@ -3183,12 +3165,7 @@ function grow_balls(times=1)

function grow_breasts(times=1)
{
if (macro.growthPoints < 10 * times) {
update(["You don't feel like growing right now."]);
return;
}

macro.growthPoints -= 10 * times;

let oldDiameter = macro.breastDiameter;
let oldMass = macro.breastMass;
@@ -3202,12 +3179,6 @@ function grow_breasts(times=1)

function grow_vagina(times=1)
{
if (macro.growthPoints < 10 * times) {
update(["You don't feel like growing right now."]);
return;
}

macro.growthPoints -= 10 * times;

let oldLength = macro.vaginaLength;

@@ -3220,12 +3191,7 @@ function grow_vagina(times=1)

function grow_ass(times=1)
{
if (macro.growthPoints < 10 * times) {
update(["You don't feel like growing right now."]);
return;
}

macro.growthPoints -= 10 * times;

let oldDiameter = Math.pow(macro.assArea,1/2);

@@ -3260,7 +3226,7 @@ function resetSettings() {

function loadPreset() {
resetSettings();
let select = document.getElementById("character-presets");

loadSettings(presets[select.selectedIndex]);


+ 3
- 3
recursive-desc.js Zobrazit soubor

@@ -659,7 +659,7 @@ rules["eat"].push({
macro.height >= 10;
},
"desc": function(container, macro, verbose) {
return "You pluck up the " + container.describe() + " and stuff them into your mouth, swallowing lightly to drag them down to your bubbling guts.";
return "You pluck up " + container.describe() + " and stuff them into your mouth, swallowing lightly to drag them down to your bubbling guts.";
}
});

@@ -693,8 +693,8 @@ rules["eat"].push({
},
"desc": function(container, macro, verbose) {
return "You drop onto your hands and knees, " + macro.jawDesc(true) + " opening wide to envelop the skyscraper. It glides into your throat as your snout touches the ground,\
and you suckle on it for a long moment before twisting your head to snap it loose. The entire building and the " + describe_all(container.contents["Small Skyscraper"].contents, verbose) + "\
within plunge into your roiling guts, along with some delicious treats you slurped up along with it - " + describe_all(container.contents, verbose, ["Small Skyscraper"]) + ".";
and you suckle on it for a long moment before twisting your head to snap it loose. The entire building, along with " + describe_all(container.contents["Small Skyscraper"].contents, verbose) + "\
within, plunge into your roiling guts. You wash it down with some delicious treats you slurped up along with it - " + describe_all(container.contents, verbose, ["Small Skyscraper"]) + ".";
}
});



+ 2
- 2
stroll.html Zobrazit soubor

@@ -88,7 +88,7 @@
</div>
<div id="log-area">
<div id="log">
<div>Welcome to Stroll 0.5.20</div>
<div>Welcome to Stroll 0.5.21</div>
<div><b>This game features 18+ content</b></div>
<div><a href="https://chemicalcrux.org/stroll">Changelog</a></div>
<div><a href="https://t.me/joinchat/BSXHzUZmSqc-CXB1khkuYw">Telegram discussion group</a></div>
@@ -180,7 +180,7 @@
</div>
</div>
<div class="character-build">
<p>Welcome to Stroll 0.5.20</p>
<p>Welcome to Stroll 0.5.21</p>
<p><b>This game features 18+ content</b></p>
<p><a href="https://chemicalcrux.org/stroll">Changelog</a></p>
<p><a href="https://t.me/joinchat/BSXHzUZmSqc-CXB1khkuYw">Telegram discussion group</a></p>


Načítá se…
Zrušit
Uložit