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

Provision to reward player on quest completion #14

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

godfather2
Copy link

@godfather2 godfather2 commented Apr 29, 2020

How to test

As of now, quests get completed on activation(Terasology/TutorialQuests#11), but for the sake of this pr, this line entity.send(new QuestCompleteEvent(quest, quest.getStatus().isSuccess())) can be added to this method https://github.com/Terasology/Tasks/blob/master/src/main/java/org/terasology/tasks/systems/QuestSystem.java#L65, and the specified items(Terasology/TutorialQuests#12) should be given to the player.

@jdrueckert jdrueckert closed this May 21, 2020
@skaldarnar skaldarnar reopened this May 21, 2020
@skaldarnar skaldarnar changed the base branch from master to develop May 21, 2020 18:58
@4Denthusiast
Copy link

This module now needs a dependency on Inventory for this to work. Also, after completing the book quest in TutorialQuests, it doesn't actually give you the reward.

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

Successfully merging this pull request may close these issues.

4 participants