Describe the bug
Rewards can be edited after a tutorial is created or completed, but
To Reproduce
Steps to reproduce the behavior:
Open the tutorial recording tool and record some event.
In the tutorial save window, add any item, tool, or node as a reward for completing the tutorial, then press Finish and save.
Open the tutorial tool, select the tutorial, start the tutorial, and complete the tutorial then receive the reward.
Open the tutorial tool, select the tutorial, edit the tutorial, change the reward to another item, tool, or node, then press Finish and save.
Open the tutorial tool, select the tutorial, start the tutorial, and complete the tutorial then receive nothing.
Expected behavior
If the reward has not changed when the tutorial is edited, then do not grant any additional quantity of items, tools, or nodes beyond what the tutorial already permits. This is roughly the current behaviour, although perhaps unintended. We do not want to allow players to continue to complete the tutorial and accumulate more items, tools, or nodes than intended.
If the reward is changed when the tutorial is edited, then grant that new reward when the tutorial is completed again. If dealing with a tool, then the tool manager should also be checked/updated to ensure that the player does not currently have any tools in their inventory that is(are) not currently allowed by the tutorial/classroom.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug Rewards can be edited after a tutorial is created or completed, but
To Reproduce Steps to reproduce the behavior:
Finish and save
.Finish and save
.Expected behavior If the reward has not changed when the tutorial is edited, then do not grant any additional quantity of items, tools, or nodes beyond what the tutorial already permits. This is roughly the current behaviour, although perhaps unintended. We do not want to allow players to continue to complete the tutorial and accumulate more items, tools, or nodes than intended.
If the reward is changed when the tutorial is edited, then grant that new reward when the tutorial is completed again. If dealing with a tool, then the tool manager should also be checked/updated to ensure that the player does not currently have any tools in their inventory that is(are) not currently allowed by the tutorial/classroom.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.