//============================================================
// Z O M B I E   T O R R E N T   2   -   R A B B I T   C A R D
// Coded by Zedek the Plague Doctor, slot machine example
//============================================================

#library "rabbitcard"
#import "slotcards.acs"
#include "zcommon.acs"

// Add the actual card
script 888 OPEN
{
	// Let the original cards load
	delay(1);
	// Add a test card
	AddSlotCard("Rabbit-Ass",0,"SLOTRABB",889,0,"This card works!","slot/win");
	// Show an effect on the screen
	AddEffect("EFFERABB","PowerDoomRabbit");
}

// What happens when this slot is rolled (MAKE SURE THIS SCRIPT IS NET)
script 889 (int caseID) NET
{
	// We can use a switch to have multiple slots in one script
	switch (caseID)
	{
		case 0:
		{
			GiveInventory("PowerDoomRabbit",1);
			break;
		}
	}
}
