It reminded me of doing tradeskills in EQ. So much so, in fact, that I got bored, and wrote this up for while I was clicking:
CODE
////////////////////////////////////////////
// Tradeskill Spam Script
//
// Written by Xylor Baysklef
////////////////////////////////////////////
///////////// GLOBAL VARIABLES ///////////////
integer gSkill;
integer gTrivialLevel = 50;
integer gTrivialIncrement = 25;
/////////// END GLOBAL VARIABLES ////////////
default {
state_entry() {
// Attempt to make an item every 5 seconds.
llSetTimerEvent(5);
}
timer() {
// Check skill level.
if ( llFrand(gTrivialLevel) <= gSkill) {
// Success!
llSay(0, "You have fashioned the items together to create something new.");
}
else {
// You failed =P
if (llFrand(20) <= 2.0) {
if (llFrand(2) <= 1.0)
llSay(0, "You spill your beer while bringing in your line.");
else
llSay(0, "Your fishing pole broke!");
}
else
llSay(0, "You lacked the skills to fashion this item together.");
}
// Check for skill increase.
if ( llFrand(1) * ((float) gTrivialLevel / 127) < (1 / (float) (gSkill + 1) + 0.05)) {
gSkill++;
llSay(0, "You have gotten better at mindlessly clicking! ("
+ (string) gSkill + ")");
if (gSkill == 250)
// Ha ha, too bad! =P
gSkill = 0;
if (gSkill >= gTrivialLevel) {
llSay(0, "This item is trivial to make at your level.");
gTrivialLevel += gTrivialIncrement;
}
}
}
}
So I'm now a Master Mindless Clicker! Wooh, go me!
Xylor