zekaonar
Member
I've seen a few different people switching css to turn putty on/off. I think this is an easier solution when you want to burn all your free copies farming a single mob. It's a mini consult scriptlet that uses mafias internal counters to tell when it's time to stop using putty/rain-doh. I don't think it's worthy of going into SVN but I thought it's useful enough to others post or to modify to your own uses.
freeCopies.ash
Then to use it, Add the following to your CCS to the mob of your choice:
And then using a CLI script, you can kill repeatedly using the following:
Tested with spooky putty, rain-doh and reanimator. Angel should work, but I don't have one.
freeCopies.ash
Code:
void main(int initround, monster foe, string page) {
// Reanimator / Obtuse Angel support
if (have_skill($skill[Wink at])) {
use_skill(1,$skill[Wink at]);
} else if (have_skill($skill[Fire a badly romantic arrow])) {
use_skill(1,$skill[Fire a badly romantic arrow]);
}
// Spooky Putty / Rain-doh copy support
int totalCopiesMade = to_int(get_property("_raindohCopiesMade")) + to_int(get_property("spookyPuttyCopiesMade"));
if (available_amount($item[Spooky Putty sheet]) > 0
&& available_amount($item[Spooky Putty monster]) == 0
&& get_property("spookyPuttyCopiesMade") < 5
&& totalCopiesMade < 6) {
throw_item($item[Spooky Putty sheet]);
} else if (available_amount($item[Rain-Doh black box]) > 0
&& available_amount($item[Rain-Doh box full of monster]) == 0
&& get_property("_raindohCopiesMade") < 5
&& totalCopiesMade < 6) {
throw_item($item[Rain-Doh black box]);
}
}
Then to use it, Add the following to your CCS to the mob of your choice:
Code:
[ clod hopper ]
consult freeCopies.ash
... kill it ....
And then using a CLI script, you can kill repeatedly using the following:
Code:
faxbot clod hopper;
familiar reanimator;
equip Mayflower bouquet;
use photocopied monster;
familiar hound dog;
equip snow suit;
use spooky putty monster;
use spooky putty monster;
use spooky putty monster;
use spooky putty monster;
use spooky putty monster;
use Rain-Doh box full of monster;
Tested with spooky putty, rain-doh and reanimator. Angel should work, but I don't have one.