I've been messing under the hood a bit, using god mode, and found out that if you call preClamps, this happens:
Is he clamped?
Code:
def preClamps = {
if (is(CLAMPED)) {
clampsShow();
}
else {
clamps(); //No, so it falls into Else
}
clampPulls(getRandom(4));
return 1.8;
};
if (is(CLAMPED)) {
clampsShow();
}
else {
clamps(); //No, so it falls into Else
}
clampPulls(getRandom(4));
return 1.8;
};
but you don't have clamps,
Code:
def clamps = {
if (is(CLAMPED)) return;
if (!has(CLAMPS)) return; //so it just returns
if (is(CLAMPED)) return;
if (!has(CLAMPS)) return; //so it just returns
therefore it goes straight to clampPulls
Code:
def preClamps = {
if (is(CLAMPED)) {
clampsShow();
}
else {
clamps();
}
clampPulls(getRandom(4)); //even though you don't even have them
return 1.8;
};
if (is(CLAMPED)) {
clampsShow();
}
else {
clamps();
}
clampPulls(getRandom(4)); //even though you don't even have them
return 1.8;
};