Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

Heated Haste

Main
{
	questname	"Heated Haste"
	version		1.0
}
state Begin
{
	desc	"Talk to Reaper"
	action AddNpcText(1,"You!, why haven't you gotten out of here!? Unless you want to be covered in hot lava like this bridge is soon to be, I suggest you run for it!");
	action AddNpcText(1,"Your time has yet to come. We shall meet again outside this chaotic place. Now get a move on so that meeting doesn't take place at your grave.");
	action AddNpcText(1,"You ready?");
	action AddNpcInput(1,1,"Yea, lets go");
	action AddNpcInput(1,2,"No way!");
	
	rule InputNpc(1)goto kgo
	rule InputNpc(2)goto toobad
}
state kgo
{
	desc	"Talk to Reaper"
	action AddNpcText(1,"Great, meet me once you're outside.");
	rule TalkedToNpc(1)goto warp
}
state toobad
{
	desc	"Talk to Reaper"
	action AddNpcText(1,"Well too bad! You're going anyway. Meet me once you're outside. Don't try and ditch me.");
	rule TalkedToNpc(1)goto warp
}
state warp
{
	action SetCoord(1,10,2);
	rule Always()goto escape
}
state escape
{
	desc	"Escape this place"
	action AddNpcText(1,"Go now!");
	rule LeaveMap(1)goto meeting
}
state meeting
{
	desc	"Talk to Reaper"
	action AddNpcText(1,"Glad you made it out ok. You aren't too bad for a mortal. Seems you're worth more to me alive.");
	action AddNpcText(1,"Heres a little gift for staying alive. Keep yourself strong and I might have something for you to do one day.");
	
	rule TalkedToNpc(1)goto reward
}
state reward
{
	action GiveItem(1,150);
	action GiveExp(200);
	action ShowHint(You obtain 150 gold and 200 exp.);
	action End();
}