summaryrefslogblamecommitdiff
path: root/npc/items/valentine.txt
blob: 259b4fcb3ae1f757fc26f860ed02541d819c7757 (plain) (tree)





















                                                                                           
// TMW-2 script.
// Author:
//    Jesusalva
// Description:
//    Valentine eating

// Create a random card, with rares
function	script	EatValentineChocolate	{
		if ($EVENT$ != "Valentine" || #VALENTINE_OPENED >= #VALENTINE_RECEIVED) {
			dispbottom l("Past due date.");
		} else {
			// I know technically this is wrong grammar, but I want fixed width
			#VALENTINE_OPENED=#VALENTINE_OPENED+1;
			#VALENTINE_POINTS=#VALENTINE_POINTS+1;
			if (rand(0,1))
				dispbottom l("It's tasty ^.^");
			else
				dispbottom l("It's yummy ^.^");
		}
    return;
}