cemuka / NPC-Quotes

๐Ÿ‘พ๐Ÿ’ญ A simple NPC quotes repo. You can contribute to Hacktoberfest easily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPC-Quotes

๐Ÿ‘พ๐Ÿ’ญ A simple NPC quotes repo. You can contribute to Hacktoberfest easily.

How to contribute to this project

Here are 4 quick and painless ways to contribute to this project:

  • Fork this repository
  • Clone the repository to your local machine
  • Create new items following best practices

Choose all 3, make a pull request for your work and wait for it to be merged!

Getting started

  • Fork this repository (Click the Fork button in the top right of this page, click your Profile Image)
  • Clone your fork down to your local machine
git clone https://github.com/your-username/NPC-Quotes.git
  • Create a branch
git checkout -b branch-name
  • Make your changes (Perform all tasks above)
  • Commit and push
git add .
git commit -m 'Commit message'
git push origin branch-name
  • Create a new pull request from your forked repository (Click the New Pull Request button located at the top of your repo)
  • Wait for your PR review and merge approval!
  • Star this repository if you had fun!

Unity sample

void Start()
{
    var npc = NPC.GetRandom();
    Debug.Log(npc.name + " says: "+ npc.quote);
}

Result:

    Ned says: Winter is coming...

Any .NET platform sample

    var npc = NPC.GetRandom();
    Console.WriteLine(npc.name + " says: "+ npc.quote);

Result:

    Ned says: Winter is coming...

About

๐Ÿ‘พ๐Ÿ’ญ A simple NPC quotes repo. You can contribute to Hacktoberfest easily.


Languages

Language:C# 100.0%