πΎπ A simple NPC quotes repo. You can contribute to Hacktoberfest easily.
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!
- 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!
void Start()
{
var npc = NPC.GetRandom();
Debug.Log(npc.name + " says: "+ npc.quote);
}
Result:
Ned says: Winter is coming...
var npc = NPC.GetRandom();
Console.WriteLine(npc.name + " says: "+ npc.quote);
Result:
Ned says: Winter is coming...