Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lorebook Item #102

Closed
frodare opened this issue Jan 25, 2017 · 5 comments
Closed

Lorebook Item #102

frodare opened this issue Jan 25, 2017 · 5 comments
Assignees

Comments

@frodare
Copy link
Member

frodare commented Jan 25, 2017

Extend vanilla books. Read book content from a JSON text format. Allow other mods to register books via an API.

Type:

  • civilization lore (collectable sets of 12) (explanations of the civs and negative effects they can cause)
  • location hints (location to lost artifact or possibly even structure or nearby resources)
  • game hints (includes books from other mods)
  • general fiction (random poems / lore / etc)

#97

@frodare frodare added this to the Release 2 milestone Jan 25, 2017
@CawCawDrakon
Copy link
Contributor

The first lorebook: A Pantheon Unbiased, Book I
Pantheon Unbiased is a series of 9 to 12 common books in which the gods and other divine beings are described from a neutral, non-civ viewpoint.
A Pantheon Unbiased.zip

@frodare frodare self-assigned this Jan 28, 2017
frodare added a commit that referenced this issue Jan 29, 2017
basic support to load book items from a text file
@frodare
Copy link
Member Author

frodare commented Jan 29, 2017

@CawCawDrakon The books will need to be saved as text files. The current format uses the first line as the title, the second as the author and the rest of the lines as the content of the book. Double returned lines will create a new page. If you are still interested in contributing to this project, what I would like you to do is fork this repo and then add some of the book files. That way you will show up as contributor to the project. That will also give you the ability to edit the books directly in the code base. Once you fork the repo and add the book files, you can create a pull request. Let me know if you have any questions or are not familiar with github and want some pointers.

Book files go in:
https://github.com/ToroCraft/ToroQuest/blob/master/resources/assets/toroquest/books/*

There is currently one example book: https://github.com/ToroCraft/ToroQuest/blob/master/resources/assets/toroquest/books/civ_lore/test.txt

@CawCawDrakon
Copy link
Contributor

Ah, thanks! Yes, I´m not that experienced with github (aka I just signed up four weeks ago and didn´t do much), so some pointers would be helpful. For example, did I create that book right?

@frodare
Copy link
Member Author

frodare commented Jan 29, 2017

Yes, looks like you got it :) I just left a comment about changing the file name, after that I will merge it into the code base.

@frodare
Copy link
Member Author

frodare commented Jan 30, 2017

I decided to leave off API support for now.

@frodare frodare closed this as completed Jan 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants