letbeast=quest {
letplayer=newPlayer()
// this is the beginning, we require player to talk with an npc using specified dialog nodedo!talkplayer"Rudolf""KillBeast", killplayer"Beast"player.StartQuest("Beast") // and then, the rest will be called when player does thisdo!killplayer"Beast"ifplayer.KillCount("Beast") >2thenplayer.GiveXP(200)
}