Skip to content

Provision to reward player on quest completion#14

Open
godfather2 wants to merge 3 commits into
Terasology:developfrom
godfather2:reward
Open

Provision to reward player on quest completion#14
godfather2 wants to merge 3 commits into
Terasology:developfrom
godfather2:reward

Conversation

@godfather2
Copy link
Copy Markdown

@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
Copy Markdown

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