private void step1(){
  final SpeakerNPC npc=npcs.get("Finn Farmer");
  npc.add(ConversationStates.ATTENDING,ConversationPhrases.QUEST_MESSAGES,new QuestInStateCondition(QUEST_SLOT,QUEST_INDEX_STATUS,"deliver_to_george"),ConversationStates.ATTENDING,"Thank you for agreeing to tell George this message:",new SayTextAction("[quest.coded_message:1]"));
  npc.add(ConversationStates.ATTENDING,ConversationPhrases.QUEST_MESSAGES,new AndCondition(new QuestNotActiveCondition(QUEST_SLOT),new NotCondition(new TimeReachedCondition(QUEST_SLOT,QUEST_INDEX_TIME))),ConversationStates.ATTENDING,"Perhaps, I have another message tomorrow.",null);
  npc.add(ConversationStates.ATTENDING,ConversationPhrases.QUEST_MESSAGES,new AndCondition(new QuestNotActiveCondition(QUEST_SLOT),new TimeReachedCondition(QUEST_SLOT,QUEST_INDEX_TIME)),ConversationStates.QUEST_OFFERED,"I have an urgent message for #George! It's really important! But my parents don't let me wander around the city alone. As if I were a small kid! Could you please deliver a message to him?",null);
  npc.add(ConversationStates.QUEST_OFFERED,"george",null,ConversationStates.QUEST_OFFERED,"Just find Tommy. Perhaps in Ados Park. George won't be far away. Could you please deliver a message to him?",null);
  npc.add(ConversationStates.QUEST_OFFERED,ConversationPhrases.NO_MESSAGES,ConversationStates.IDLE,"Okay, then I better don't tell you no secrets.",new MultipleActions(new DecreaseKarmaAction(10),new SetQuestAction(QUEST_SLOT,QUEST_INDEX_STATUS,"rejected")));
  npc.add(ConversationStates.QUEST_OFFERED,ConversationPhrases.YES_MESSAGES,ConversationStates.ATTENDING,null,new MultipleActions(new CreateAndSayCodedMessage(),new SetQuestAction(QUEST_SLOT,QUEST_INDEX_STATUS,"deliver_to_george")));
}

private void step1 ( ) { final SpeakerNPC npc = npcs . get ( "Finn Farmer" ) ; npc . add ( ConversationStates . ATTENDING , ConversationPhrases . QUEST_MESSAGES , new QuestInStateCondition ( QUEST_SLOT , QUEST_INDEX_STATUS , "deliver_to_george" ) , ConversationStates . ATTENDING , "Thank you for agreeing to tell George this message:" , new SayTextAction ( "[quest.coded_message:1]" ) ) ; npc . add ( ConversationStates . ATTENDING , ConversationPhrases . QUEST_MESSAGES , new AndCondition ( new QuestNotActiveCondition ( QUEST_SLOT ) , new NotCondition ( new TimeReachedCondition ( QUEST_SLOT , QUEST_INDEX_TIME ) ) ) , ConversationStates . ATTENDING , "Perhaps, I have another message tomorrow." , null ) ; npc . add ( ConversationStates . ATTENDING , ConversationPhrases . QUEST_MESSAGES , new AndCondition ( new QuestNotActiveCondition ( QUEST_SLOT ) , new TimeReachedCondition ( QUEST_SLOT , QUEST_INDEX_TIME ) ) , ConversationStates . QUEST_OFFERED , "I have an urgent message for #George! It's really important! But my parents don't let me wander around the city alone. As if I were a small kid! Could you please deliver a message to him?" , null ) ; npc . add ( ConversationStates . QUEST_OFFERED , "george" , null , ConversationStates . QUEST_OFFERED , "Just find Tommy. Perhaps in Ados Park. George won't be far away. Could you please deliver a message to him?" , null ) ; npc . add ( ConversationStates . QUEST_OFFERED , ConversationPhrases . NO_MESSAGES , ConversationStates . IDLE , "Okay, then I better don't tell you no secrets." , new MultipleActions ( new DecreaseKarmaAction ( 10 ) , new SetQuestAction ( QUEST_SLOT , QUEST_INDEX_STATUS , "rejected" ) ) ) ; npc . add ( ConversationStates . QUEST_OFFERED , ConversationPhrases . YES_MESSAGES , ConversationStates . ATTENDING , null , new MultipleActions ( new CreateAndSayCodedMessage ( ) , new SetQuestAction ( QUEST_SLOT , QUEST_INDEX_STATUS , "deliver_to_george" ) ) ) ; }
prepare finn farmer to start the quest
