:devin_first
  Devin "<hideName>Yo, are you <name>? The new farmer?"
  Player "That's right, I'm <name>. But how did you know?"
  Devin "<hideName>'Cuz there's a sign on your back that says, \"<name>, noob farmer.\""
  Player "<!>"
  Devin "<hideName><laughing> I'm just messin' with ya. My dad told me."
  Devin "<hideName><sighing> My name is Devin. From now on, I've gotta pick up the stuff you put in the shipping bin <color:important>every day at 8 AM<color:default>."
  Devin "<sighing> Try not to ship too much, will ya? Hauling all of it back to the store is a pain in the ahhh--um, arms. Yeah. Arms."

:devin_default
  if-switch devinOnAProject
    Devin "I'm so excited about this project."
  else
    Devin "I'm bored, but I don't want to work."
  end

:devin_too_early
  Devin "Good morning, <name>. What are you doing here so early?"

:devin_too_late
  Devin "It's already late, <name>. Do you need anything?"

:devin_going_to_your_farm
  if-variable totalDays is 2
    Devin "Even though it's your first day here, dad wants me to check your shipping bin."
    Devin "I'll come to your farm every day from now on to check if you have anything to sell."
    return
  end

  if time between 06:58 and 07:08
    Devin "I'm just resting a little bit. I'll be in your farm in a minute."
    return
  end

  Devin "Good morning! I'm going to check your shipping bin now, <name>."
  if time between 07:08 and 07:50
    Devin "You still have a few minutes to put in there anything you wish to sell."
  end

:devin_going_back_to_store
  if-variable shippedItems is 0
    if-variable totalDays is 2
      if time between 08:00 and 08:09
        Devin "We didn't expect you to have shipped anything yet, but dad told me to come check anyway."
      end

      Devin "Whenever you want to sell anything, put it on the shipping bin and I'll pick it up in the morning."
      return
    end

    if-variable totalDays <= 10
      Devin "No shipments today, huh? Well you're just starting, so it's only natural."
      Devin "If you're waiting for your crops to grow, you can check the forests and mountains for stuff to forage."
      Devin "I'll continue to come to your farm every day to collect whatever you put in the shipping bin."
      return
    end

    if-variable totalDays <= 31
      Devin "Are you getting used to the forests, caves and mountains around town, <name>?"
      Devin "There's a lot to forage there, you don't need to leave your shipping bin empty."
      return
    end

    Devin "I came all the way here and you had nothing to ship, <name>? My dad will think I'm pulling a fast one to skip working."
    return
  end

  if-variable shippedItems >= 10
    if-variable totalDays is 2
      Devin "How did you even find time to ship all of this so early on your first day?"
      Devin "You're going to give me a lot of work, aren't you?"
      return
    end

    if-variable shippedItems >= 50
      if-variable totalDays <= 10
        Devin "Yo <name>, why are you working so much? You've been here for just a few days and already had me carry so much weight."
        return
      end

      if time between 08:40 and 08:46
        Devin "I had to stop to rest a little. You shipped too much today, <name>."
        return
      end

      # If Devin is still in the farm, he's still surprised by the amount
      if time between 08:00 and 08:09
        Devin "Wow, you've shipped a lot today, <name>! Congratulations on your hard work!"
        Devin "Now how am I going to carry all of this to the store?"
        return
      end

      Devin "This shipment is so heavy! I think I'll bring a wheelbarrow next time."
      return
    end
  end

  if time between 08:40 and 08:46
    Devin "I stopped to rest a little bit. It's a long way between your farm and the store."
    return
  end

  Devin "Good morning, <name>! I'll take your stuff to the store now. We can talk later."
  return

:_devin_explain_candy_day
  if-switch knowsCandyDay is off
    Player "What is a Candy Day?"
    Devin "It's a special day to give candy to every kid in town. You should participate too, the kids will appreciate it."
    switch knowsCandyDay ON
  end

:devin_announce_candy_day_tomorrow
  Devin "We are selling a lot of chocolate today, because of the Candy Day tomorrow. Are you here to buy some too?"
  include _devin_explain_candy_day

:devin_announce_candy_day_today
  Devin "Did you give anything to the kids for the Candy Day yet, <name>?"
  Devin "I gave a chocolate bar to the kids and a cake to Nathalia. She loves some sweets, so she wouldn't miss the chance of getting some today."
  include _devin_explain_candy_day

:devin_hint_1
  Devin "The biggest piece of advice I can give you is this: don't rush and do what you want."
  Devin "Farming isn't a race, and you can't miss out on anything. If you don't finish something today, you can always finish it tomorrow."
  Devin "And if you can't finish it tomorrow, there's always the next season."

:devin_store_chat_1
  Devin "Our store is the best place in town to buy seeds and cooking ingredients."
  Devin "We also have a few unique products that may be helpful on your farm. You should visit us regularly."

:devin_store_chat_2
  Devin "I have the most boring job in the whole universe. What do you say we switch jobs for a day?"
  Devin "You do deliveries and I switch your job with someone else."

:devin_store_chat_3
  Devin "The day is just starting and I already have another shipment to work on."
  Devin "I wish I could be working on something else."

:devin_store_chat_4
  Devin "I have a lot of stuff to do today, but I just don't feel like it."
  Devin "I wish I could use my time to work on my own projects instead."

:devin_store_chat_5
  Devin "Lucas goes to the store everyday, but he never talks to us there. Doesn't even say hi."
  Devin "He should learn to be more humble."

:devin_store_chat_6
  Devin "I'm tired of working already, please tell me the day is almost over."

:devin_complaining_about_complaints
  Devin "<sighing>Dad's always lecturing me about working harder and paying more attention... Red grapes, green grapes, what's the difference?"

:devin_slip_about_nathalia
  Devin "I do like my job, despite everything. I get to exercise and also get to see Nathalia."
  Devin "<...>"
  Devin "All my other friends too, of course. I'm happy to see all of them."

:devin_good_day_for_a_walk
  Devin "<Good morning>, <name>! Good day for a walk, right?"
  Devin "The good thing about Orange Town is that there are no cars on the street, so you can walk freely without a care in the word."
  Devin "Having cars around would be... problematic."

:devin_ask_about_farm_life_1
  Devin "Yo <name>, getting used to your new life yet?"

:devin_ask_about_farm_life_2
  Devin "How's farm life treating you, <name>? If your crops aren't growing right, you gotta show 'em who's boss by stomping on them a bit."
  Devin "I mean, what kind of farmer takes sass from carrots and potatoes? Spare the root and spoil the chili, that's what I always say."

:devin_complain_about_summer_1
  Devin "I don't like the summer. The heat is too strong and I can't even think straight, even with the air conditioner in my room."  

:devin_complain_about_summer_2
  Devin "I don't know why people enjoy the beach so much during hot days. It's even hotter there."

:devin_complain_about_summer_3
  Devin "I need to find some new hobby. Some new excuse to stay indoors all day enjoying my air conditioner on the hot days."
  Devin "I'm thinking about learning magic tricks."

:devin_complain_about_summer_4
  Devin "It's... It's too hot, I don't want to do anything."

:devin_missing_tools
  Devin "You're just starting out, right? You should try to find more tools."

  if !Switches.hasIronSickle
    Devin "A <color:important>sickle</color> would let you cut dead crops, as well as the weeds and grass on your farm. I think I saw one in the abandoned mines."
  end

  if !Switches.hasIronHammer
    Devin "A <color:important>hammer</color> can be used to break rocks and to look for minerals. Why don't you try asking one of the miners if they can give you one?"
  end

  if !Switches.hasIronAxe
    if Switches.hasBrokenAxe
      Devin "An <color:important>axe</color> can be used to break logs and even trees if you have a good one. Why don't you try asking for Viktor to fix the one you found?"
    else
      Devin "An <color:important>axe</color> can be used to break logs and even trees if you have a good one. Maybe you can find one of Raphael's old axes in the forest, though it will probably be broken if you do."
    end
  end

:devin_complaining_about_work_1
  Devin "Good afternoon, <name>! Let me tell you, making deliveries is not too bad."
  Devin "It's a bit bad, but I can also chat with the townsfolk or stop by the library to read a book, so not too bad."

:devin_complaining_about_work_2
  Devin "Good afternoon, <name>! Did I tell you my legs are sore already?"
  Devin "I have to walk all over town while making deliveries or receiving shipments. It never gets easier."

:devin_good_evening
  Devin "Good evening, <name>! What a long day, huh?"

:devin_good_evening_1
  Devin "Good evening, <name>! I'm thinking of hitting the mines tonight, to see if I can find a nice diamond."
  Devin "Did I ever mention how much I love diamonds? They are super useful on every kind of project."

:devin_working_on_bad_weather
  Devin "<cobweb>"
  Devin "Even with this weather, my dad wants me to work..."

  if storm
    Devin "I tell you, sometimes I think he wants to see me die."
    return
  end

  if-variable month is 2
    if raining
      Devin "At least it's not so hot on rainy days."
      return
    end
  end

:devin_good_evening_2
  Devin "Good evening, <name>! I like to look at the sky at night and count the stars."
  Devin "I keep getting distracted, but it's how I have the best ideas."

:devin_good_evening_3
  Devin "The day is finally over. I'm gonna drink a nice cup of hot milk to relax a bit."

:devin_spring_1
  Devin "I wouldn't mind if it were a bit colder. I think the flowers could still endure it."

:devin_spring_2
  Devin "I like living in Orange Town. You can clearly see the difference between seasons. It wasn't like this in the city."

:devin_spring_3
  Devin "We are not even in summer yet and I already miss winter. Nothing is better than a cold day."

:devin_fall_1
  Devin "The weather is finally starting to get a bit colder!"

:devin_fall_2
  Devin "I have to be careful during fall. The number of times I stepped on leaves and slipped is too embarrassing to reveal."

:devin_fall_3
  Devin "Everybody eats pumpkin during fall."
  Devin "I wonder why they do... It tastes so bad."

:devin_winter_1
  Devin "<heart>"
  Devin "Can you feel this winter cold? Best thing in the world."

:devin_winter_2
  Devin "I made a few snowballs today, just to be safe. Nobody will be throwing any at me without getting twice as many back."

:devin_winter_3
  Devin "<heart>"
  Devin "I really love winter. It makes my soul happier."

:devin_dont_ship_too_much_1
  Devin "Try not to ship too much, will ya? Hauling all of it back to the store will make my arms sore."

:devin_woke_up_early
  Devin "Good morning, <name>! I woke up extra early today."
  Devin "Waking up early reminds me of my time on the school. I didn't have a good experience there."

:devin_new_project_idea
  Devin "<Good morning>, <name>! Do you have any idea for a new project? I want to try something new."
  Devin "My dad keeps giving me more and more work at the store, so there's not much time for it, but working on my own projects and inventions is fun and relaxing."

:devin_go_meet_nathalia
  Devin "Nathalia is probably not doing anything important right now. I think I'll go talk to her."

:devin_rain_will_make_farm_plentiful
  Devin "Oh no!"
  Player "What happened?"
  Devin "I just realized. The rain will make your farm much more plentiful, will it not?"
  Devin "It will be a lot more work to carry everything to the store."

:devin_joke_1
  Devin "Hey <name>. Did you know that a scarecrow won an award?"
  Player "Really? Why is that?"
  Devin "Because he was out standing in his field."
  Player "<sweatdrop:async>"
  Devin "<music>"
  switch devinToldJoke1 ON

:devin_joke_2
  Devin "Why aren't the flowers bouncing around?"
  Player "<?>"
  Devin "We are on spring season, after all."
  Player "<sweatdrop:async>"
  Devin "<music>"
  switch devinToldJoke2 ON

:devin_library_1
  Devin "Nathalia takes very good care of this library. Thanks to her we all have a nice place to enjoy reading some books."

:devin_complain_about_viktor
  Devin "Viktor can be so annoying sometimes."
  Devin "I was super excited about this new project I'm working on, but he listed several flaws and kept talking about how to make it better."
  Devin "Sometimes I just want to do things my way, even if it's not the best."
  Devin "I'm only doing it for fun after all. It's not my main job."

:devin_talk_about_auto_hammer
  Devin "I invented something new last night: an automatic hammer."
  Player "<?:async>"
  Player "How does that work?"
  Devin "You just aim it at what you want to hammer and press a button. It will automatically hit the target for as long as you keep the button pressed."
  Player "Is it safe?"
  Devin "Of course!"

:devin_talk_about_auto_hammer_2
  Devin "You jinxed me, <dude>."
  Player "I'm sorry?"
  Devin "My automatic hammer. When I told you about it you asked me if it was safe. Well, last night I tried to use it again and it caught on fire."
  Player "Oh... sorry?"

:devin_talk_about_nathalias_gift
  Devin "Nathalia gave me a really cool gift the other day, now I got her a set of bookmarks."
  Devin "I'm happy to have received something useful for my inventions, but even more for picking a gift she loved."

:devin_comment_event_0
  if Switches.playerChoseSavory
    js Variables.devinsGiftToPlayer = Managers.Text.item('sandwich');
  else
    js Variables.devinsGiftToPlayer = Managers.Text.item('chocolate-icecream');
  end

  Devin "Did you like that <var:devinsGiftToPlayer>, <name>? Keep working hard and you may get another one!"


:WIP-stuff
# :devin_long_time_no_chat
#   Devin "Oh hey there, <name>! How are you doing? It's been a while since we last spoke."
#   Devin "Did anything happen? Did I... do anything?"
#   Devin "I'm sorry if I did anything wrong. Take this as an apology."

#   wait 10

#   if Switches.playerChoseSweet
#     js var devinEvent = Managers.Villagers.getVillagerData('Devin');
#     + devinEvent.pickItemId('chocolate-icecream');
#   else
#     js var devinEvent = Managers.Villagers.getVillagerData('Devin');
#     + devinEvent.pickItemId('sandwich');
#   end

#   wait 20