:benjamin_ask_for_wanted_poster
  #[CONDITION] Managers.Tasks.getTaskStatus('teleport-quest-3') == TaskStatus.NONE && Managers.Tasks.getTaskStatus('teleport-quest-2') == TaskStatus.ACCEPTED
  #[PRIORITY] !Managers.Villagers.wasEventPlayedToday('benjamin_ask_for_wanted_poster')

  Player "Benjamin! Just the person I wanted to see."
  Benjamin "Oh, do you need anything?"

  Player "Right now I need a handcuff. I thought maybe you could have one?"
  Benjamin "I do have one. Probably not for the reasons you expect, but I have it."
  Player "What do you mean?"
  Benjamin "Did you know I used to be an actor when I lived in the city?"

  if Switches.playerKnowsBenjaminIsAnActor
    Player "Actually, I did."
    Benjamin "Oh, someone told you this before? Well, it's not like it was a secret anyway."
  else
    Player "Really? I did not know that!"
    js Switches.playerKnowsBenjaminIsAnActor = true;
  end

  Benjamin "The handcuff that I have is from that time. I used it for a character that I played."
  Player "That sounds fun. But would you be willing to trade that handcuff for something?"

  Benjamin "That handcuff brings me good memories, but I think I can trade it for something else. Something cool."
  Player "Anything in mind?"
  Benjamin "Yes. A <color:item>Wanted Poster</color>."
  
  Player "That will probably be hard to find, but I'll do what I can."
  Benjamin "Thank you, I'll be waiting."
  replace task teleport-quest-2 teleport-quest-3


:benjamin_receive_wanted_poster
  #[CONDITION] Managers.Tasks.getTaskStatus('teleport-quest-3-delivery') == TaskStatus.ACCEPTED
  #[PRIORITY] true

  Benjamin "Hey, what's that smell?"
  Player "It's a long story. But I got the Wanted Poster you were looking for."
  Benjamin "Oh... This is a Pirate Wanted Poster. I was interested in one from the Wild West."
  Benjamin "But that's ok. This is better than nothing. Here's the handcuff you wanted."
  Player "Thank you, Benjamin."

  js Switches.foundHandcuffs = true;
  replace task teleport-quest-3-delivery teleport-quest-2-delivery
