// Priority: -100
if (global.datagenDialog) {
  runNpcDatagen("blacksmith", {
    name: "Aiden",
    intro: [
      "Heya @i! Ace told me all about your plans here in the valley.",
      "My name is Aiden, and I'll be the one keeping your tools fresh for farming!",
      "If you need any smithing templates or geode busters just stop by my shop.",
      "Growing a town like this is no easy task, and I'm here to help!"
    ],
    chatter: {
      friendship0: [
        "Heya! Need something?",
        "Finally upgrading those tools again?",
        "What can I help you with @i?",
        "Hello there @i, do you need something?",
        "Got any geodes laying around? I love cracking them open with these busters!",
        "Busy day today @i?",
        "If someone tells you they saw a limpet, it's polite to ask them what kind.",
        "How's your farm going @i?",
        ["Ace told me so much about the valley before I moved here.", "The love they have for nature really shows!"],
        ["Hmm... raw materials are plentiful underground, but the caves are crawling with monsters.", "Be safe down there @i!"],
        ["I was taking a walk the other day and I swear I saw a piece of coal with legs...", "There's some strange magic in these caves I'm sure of it!"],
        "Hey @i, how's the farm going today?",
        ["Have you had a chance to get down in the caves yet?", "You'll need some materials down there that I don't carry soon."],
        ["If you don't have time to go mining to make sprinklers I have plenty of stock!", "Ahh I didn't mean to do a sales pitch!! Just wanted to make sure you knew!!"],
        ["Earth Crystals have this soft glow to them that makes them stick out in caves!", "They're prettier than diamonds in my eyes!"],
        "Ace gave me this beautiful flower the other day, it's crazy what you can find in the wild!"
      ],
      friendship1: [
        ["Upgrading your tools is important, but don't slack on the armor either!", "Cave diving can be pretty dangerous if you're not wearing any."],
        "Got any geodes laying around? I love watching you crack em open!",
        "Have you met Maria yet? I've never met someone better with animals.",
        "Leon is such a character...",
        "Ahh I can't chat today @i, too much to do!",
        "What can I do for you today @i?",
        "Heya @i! What do you need!",
        ["I saw a crazy looking butterfly today!", "They're so delicate and graceful..."],
        ["Maria seems to order a lot of custom supplies from me...", "I wonder if Caroline can hook her up with a different supplier?"],
        ["I'm not sure if I trust Leon...", "Some people can really take advantage of you if you're not careful."],
      ],
      friendship2: [
        "Busy day today @i?",
        ["How's it going @i?", "It's a beautiful day today."],
        "Heya @i! I was hoping you'd come around today!",
        "Whatcha up to @i? Wanting to upgrade to gold tools yet?",
        "Too busy to chat @i, Maria just put in a huge order!",
        "My wrist hurts something fierce! I gotta take it easy today...",
        ["Hmmm nobody seems to be buying pitchforks at Leon's.", "Or maybe a certain someone forgot to put in an order again..."],
        "How are you doing today? It's a beautiful day out!",
        ["It's crazy how many tools Ace seems to go through every week!", "Everyone here has been working so hard!", "...Except maybe Leon..."],
        ["Ace told me more about the Skull Cavern last night...", "Apparently the desert caves are full of gold and iridium!", "Also "],
        ["I was taking a walk the other day and noticed a Limpet staring at me from a cave!", "What a cute little snail!"],
        ["Caroline refuses to go with any other suppliers for the stuff I make.", "I guess I should take that as a compliment but that's more work for me..."],
        ["Did you hear what Leon was saying about Caroline?", "Actually I shouldn't spread rumors, talk to Leon yourself about it."],
      ],
      friendship3: [
        "Hello my friend! What do you need!",
        "Hello friend! What can I get for you today?",
        "Hey @i! I was hoping I'd see you soon!",
        "What can I help you with @i?",
        "What do you think about Haruna? I can't tell if she's closed off or just quiet...",
        "I wonder what Caroline is doing with all that gold she ordered recently.",
        "Heya @i! What do you need!",
        "Welcome back, I've been missing you!",
        ["When I feel homesick I think of all the wonderful people around me.", "You're included on that list of course!"],
        "Hmmm Leon still owes me for fixing that shelf... I wonder if I can get something sweet today at the market!",
        ["Ugh, I slept on my neck oddly last night...", "But seeing you has made the day worth it!"],
        ["Leon gave me a free boquet with my groceries today!", "I feel a bit guilty for mistaking nonchalance for rudness."]
      ],
      friendship4: [
        "Well well well, @i's back in my shop!",
        "Hey friend, what can I get you!",
        "Lovely day today @i, what do you need?",
        ["You smell like roses! Have you been exploring the flower forests recently?", "I've heard you can find rainbow trees there, but that seems a little ridiculous to me."],
        "Sometimes when I'm working I'll catch a little but of Haruna's singing! It's so serene out here...",
        "I'm really glad I came out, life has been so rich for me lately.",
        "♫ Heya hiya @i! ♫",
        ["I always get a little self-conscious when Caroline's auditing my stock.", "She can be harsh sometimes but it always seems to come from a good place."],
        ["You should get around to finishing the boiler room if you haven't already.", "Nothing wrong with some industrial machinery to make farm life easier!"],
        ["I'm starting to come around to Leon I think.", "Some people are just rough around the edges due to circumstances in their lives.", "Though I'm not quite sure if that's true of Leon..."],
        ["People think that smithing is all about strength, but it's more to it than that.", "Rare metals like neptunium or electrum require more gentle presses.", "Every type of metal has its own personality!"]],
      friendship5: [
        "Heya @i! What do you need!",
        "Welcome back, I've been missing you!",
        "Heya friend! Looking to buy some metal?",
        "Welcome welcome! Always have time for a friend.",
        "♫ It's a new day! A fresh start! A glowing morning! ♫",
        "Sparkstone is such a curious thing. It's the distilled essence of the moon, a gift of Selene.",
        ["Have you gotten your hands on some silver?", "It's exceedingly rare, but electrum tools can make your mining trips more fruitful!"],
        "Ace gave me some mossberries from yesterday's chopping run! They're so pleasantly tangy!",
        "I love the fresh smell of the valley, they remind me of spring magnolias from my home town.",
        "Leon has started waving to me regularly! Does this mean what I think it does?",
        ["Have you upgraded your tools to iridium yet?", "Ace was telling me it's more plentiful on the lower depths of the Skull Cavern!"],
        ["I would love to get my hands on a prismatic shard...", "The Skull Cavern is far too dangerous for a person like me to traverse!"],
        ["Maria made me this perfect sweater for these harsh winters!", "Too bad it's a little small for me, but at least it's nice to look at!"],
        ["Leon said something nice to me!", "Well maybe it was nice, I'm not quite sure.", "But it at least felt good to hear!"],
      ],
    },
    giftResponse: {
      loved: [
        ["Wow! Are you sure about this? Are you really?", "I'll cherish this forever @i!"],
        "You're gonna make me melt with something like this!",
        ["AHH! This is far too nice, I can't accept this!", "But it would be rude not to!", "Thank you @i!"],
        "I'm going to cry, this is too sweet just to jump a person with!",
        "How did you know I've been wanting one of these! You're too kind!",
        "Woah! @i I didn't know you liked me that much... Thank you!",
        "What have I done to deserve such a sweet friend!! Thank you so much!",
        ["You can't just walk up to someone and give them a gift like this!", "Thank you friend!"]
      ],
      liked: [
        "Wow, you're such a good friend @i!",
        "This makes me feel a different kind of warmth... Thank you @i!",
        "What!! A gift like this! Thank you!",
        "That's so sweet of you... Thanks truly!",
        "Woah! Thank you so much!",
        "You're a really good friend @i, thank you!",
        "It's so nice to feel appreciated here!",
        "You make my heart sing @i~",
        "You're such a kind person... Thank you @i."
      ],
      neutral: [
        "Thanks friend",
        "Why thank you @i!",
        "Well thanks!",
        "Thanks @i!",
        "Much appreciated friend!",
        "I think I can use this for something!",
        "Oh! Thank you for the gift.",
        "It's nice to be thought about."
      ],
      disliked: [
        "I appreciate the thought but I'm not really a fan of this.",
        "I appreciate the thought but I don't really have a use for this.",
        ["I appreciate the thought but you should really know me better!", "It's an important mark of a friend."],
        "Oh...",
        "This isn't really to my taste but that's alright!",
        "Oh! A gift! This is a gift right?",
        ["I don't think I can melt this down into anything usable if that's what your asking...", "Oh it's a gift! Oh!"],
        "I can never be too mad at someone for trying to do something nice."
      ],
      hated: [
        "Sorry but I can't let you treat me like this.",
        "Why don't you take a lap and come back with a clear head.",
        "This isn't how you treat a friend.",
        "Did I upset you? What's going on here...",
        ["...", "...", "Please leave."],
        "How unkind.",
        "I wish I didn't have better expectations of you.",
        ["Talk to me again when you're in a better mood.", "If you continue to take your anger out on the people of this town I won't forgive you."],
        "Why would you give me such a thing...",
        ["I can never be too mad at someone for trying to do something nice...", "But this feels a little mean-spirited"]
      ],
    },
    unique: [
      {
        name: "five_gift",
        text: [
          "Oh hey hey hey it's my best friend @i!! I've got something that'll make your day even brighter!",
          "A special edition of my mining specialty mining hammer, on the house!",
          "I'm sure you're moving tons of stone while building out this town, so this should really help speed up your work.",
          "Oh right by the way, I didn't exactly clear this with Caroline, so don't go showing it off to her. You know how much she cares about our budgets...",
          "...It's our secret!"
        ]
      },
      {
        name: "cobblemon_mystery_gift",
        text: [
          "Hey @i, I've got something special for you!",
          "I learned how to make Magearna during my smithing apprenticeship, and it's very close to my heart.",
          "I have no idea how Haruna manages to find the Soul Hearts required to make a Pokémon like this.",
          "You won't find anything like this elsewhere, so I figured a trainer like you would appreciate it!"
        ]
      },
    ]
  });
}