Skip to content

🛠️ ⸨ plugin ⸩  lorem ipsum: Blathers edition (ACNH)

Notifications You must be signed in to change notification settings

glenthemes/blathers-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner: Blathers from ACNH pointing a wing at a speech bubble titled blathersText, with the description "A Blathers quotes lorem ipsum (placeholder text) generator. Hoo!".

👋 Introduction:

blathersText() is a JavaScript plugin that generates quotes from Blathers by specifying a category (e.g. bugs, fish), or leaving it blank to retrieve a random quote. All quotes are from ACNH, which Blathers will say when the player donates a specimen and presses "Tell me about this!".

💡 Purpose:

Just for fun! Blathers yaps a lot, so I figured it would be a perfect opportunity to spice up lorem ipsum.

🔍 Sources:

(Expand for banner credits.)
  • ACNH leaf pattern background: u/Vach
  • ACNH speech bubble PNG: triviacrossing
  • fonts: FOT Rodin Bokutoh Pro, FOT Seurat Pro

🚀 Usage:

Add the following code under <head>:

<script src="https://cdn.jsdelivr.net/gh/glenthemes/blathers-text/blathersText.js"></script>
<script>
blathersText();
</script>

The following are two options:

  • for basic usage please read Method 1 (HTML).
  • if you want to further process the data in JavaScript, please read Method 2 (JavaScript).

🍃 Method 1 (HTML):

You can choose to inject text into an HTML element (e.g. a <p>) by adding the blathersText attribute:

<p class="optional-class" blathersText></p>
Option name Details
blathersText="" or simply blathersText gets a random quote
blathersText="bug" gets a random quote from the bugs category
blathersText="fish" gets a random quote from the fish category
blathersText="sea creature" gets a random quote from the sea creatures category
blathersText="fossil" gets a random quote from the fossils category
e.g. blathersText="pop-eyed goldfish" gets the quote of a particular specimen (not random)

👁️ Method 1 (HTML) demo/preview


🍃 Method 2 (JavaScript):

Beneficial if you want to do something further with the quote.

blathersText(OPTION_NAME).then(output => {
    console.log(output) // whatever you want to do with the quote
})
Function call with option name Details
blathersText() gets a random quote
blathersText("bug") gets a random quote from the bugs category
blathersText("fish) gets a random quote from the fish category
blathersText("sea creature") gets a random quote from the sea creatures category
blathersText("fossil") gets a random quote from the fossils category
e.g. blathersText("pop-eyed goldfish") gets the quote of a particular specimen (not random)

👁️ Method 2 (HTML) demo/preview


🍎 Usage Notes:

  • Option names (e.g. bugs, fish) are not case-sensitive (e.g. T. Rex is the same as t. rex)
  • If you are retrieving the quote for a particular specimen (e.g. pop-eyed goldfish), remember to include any hyphens -, and make sure the syntax matches exactly to how it is in-game! If in doubt, search them up on animalcrossing.fandom.com or nookipedia.com!
  • Do not remove any quotation marks provided in the example(s).

💞 Thank you ⋆

If you have any questions or run into any issues, you can contact me via:

💌 glenthemes.exe@gmail.com
💻 discord.gg/RcMKnwz