// Get special gear for each class
boolean [item] class_gear(class c) {
switch(c) {
case $class[Seal Clubber]:
return $items[sealskin drum, seal medal, Meat Tenderizer is Murder,
warbear exo-arm, red LavaCo Lamp™,
Krakrox's Loincloth, Claw of the Infernal Seal, Scalp of Gorgolok,
Frosty's carrot, Frosty's nailbat, Frosty's old silk hat,
Great Wolf's headband, Great Wolf's left paw, Great Wolf's right paw];
case $class[Turtle Tamer] :
return $items[washboard shield, spirit bell, Ouija Board\, Ouija Board,
warbear foil hat, red LavaCo Lamp™,
Galapagosian Cuisses, Garter of the Turtle Poacher, Elder Turtle Shell,
Zombo's grievous greaves, Zombo's shield, Zombo's skullcap,
Unkillable Skeleton's breastplate, Unkillable Skeleton's shinguards, Unkillable Skeleton's skullcap];
case $class[Pastamancer]:
return $items[spaghetti-box banjo, experimental carbon fiber pasta additive, Hand that Rocks the Ladle,
warbear energy bracers, blue LavaCo Lamp™,
Angelhair Culottes, Bandolier of the Spaghetti Elemental, Colander of Em-er'il,
Oscus's dumpster waders, Oscus's pelt, Wand of Oscus,
Mayor Ghost's cloak, Mayor Ghost's khakis, Mayor Ghost's toupee];
case $class[Sauceror]:
return $items[marinara jug, hazardous sauce dosimeter, Saucepanic,
warbear oil pan, blue LavaCo Lamp™,
Newman's Own Trousers, Gravyskin Belt of the Sauceblob, Ancient Saucehelm,
Ol' Scratch's ash can, Ol' Scratch's ol' britches, Ol' Scratch's stovepipe hat,
Drunkula's cape, Drunkula's silky pants, Thunkula's drinking cap];
case $class[Disco Bandit]:
return $items[makeshift castanets, The Sagittarian's leisure pants, Frankly Mr. Shank,
warbear laser beacon, green LavaCo Lamp™,
Volartta's bellbottoms, Bling of the New Wave, Disco 'Fro Pick,
Chester's bag of candy, Chester's cutoffs, Chester's moustache,
Covers-Your-Head, Drapes-You-Regally, Warms-Your-Tush];
case $class[Accordion Thief]:
return $items[left-handed melodica, Skipper's accordion, Shakespeare's Sister's Accordion,
warbear exhaust manifold, green LavaCo Lamp™,
Lederhosen of the Night, La Hebilla del Cinturón de Lopez, El Sombrero De Lopez,
zombie accordion, zombie mariachi hat, zombie mariachi pants];
}
return $items[];
}
void get_stuff() {
// Empty closet and Hangks
if(get_property("lastEmptiedStorage").to_int() != my_ascensions()) {
empty_closet();
visit_url("storage.php?action=pullall&pwd");
}
batch_open();
foreach it in class_gear(my_class())
if(closet_amount(it) > 0) take_closet(closet_amount(it), it);
batch_close();
}
void main() {
get_stuff();
}