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

Integration with Quests #21

Closed
Cervator opened this issue Dec 24, 2018 · 0 comments
Closed

Integration with Quests #21

Cervator opened this issue Dec 24, 2018 · 0 comments
Assignees
Labels
Type: Improvement Request for or addition/enhancement of a feature

Comments

@Cervator
Copy link
Member

Cervator commented Dec 24, 2018

As a modder I would want to be able to attach quests (tasks) to a book. If the book is in a players inventory it should be active and if it is removed it should become inactive. I would want to define the book and the quest requirements in the same prefab.

As a player I would want to be able to find books in the world and acquire quests while I have said book.

See https://github.com/Terasology/QuestExamples for an example of a simple quest bound to an entity placed in the world. Update that module to depend on Books and place a book that has a quest attached to it in a chest spawned near the player. Handle logic for when the book enters and exits the player's inventory (might be some similar code in BookcaseSystem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Request for or addition/enhancement of a feature
Projects
None yet
Development

No branches or pull requests

2 participants