prismatic wads at breakfast

this is probably really cheeky to ask, as I have no knowledge of how to write a script at all.. but I was hoping that someone knew of a way to include summoning prismatic wads into their breakfast, rather than needing to remember to summon them manually.
 

Bale

Minion
Add a breakfast script

Code:
void prismatic_breakfast() {
	if(have_skill($skill[Rainbow Gravitation])) {
		int pris_left = 3 - to_int(get_property("prismaticSummons"));
 		if(pris_left == 0)
			print("Already created 3 Rainbow Wads today!", "#FFA500");
		else {
			foreach wad in $items[spooky wad,stench wad,hot wad,cold wad,sleaze wad,twinkly wad])
				retrieve_item(pris_left, wad);
			use_skill(pris_left, $skill[Rainbow Gravitation]);
		}
	}
}

main() {
	prismatic_breakfast();
}
 
Last edited:
Top