Stash
Maintained by
Adrian Greeve, Frédéric Massart ⭐
Add an inventory of items to your course and let your students find items by exploring the activities. #game #gamification
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
How to fix it? Thanks.
? Thank you very muc
Thank you for your kind words.
If you want to delete a single item from the stash of a student and not reset the ability to collect the item again, then you just delete a record from block_stash_user_items. If you want to reset the ability to collect the item again then you also need to delete a record from block_stash_drop_pickups. I would recommend looking at reset_stash_of() (and the method calls there) in blocks/stash/classes/manager.php for how the stash of a user is reset for all items for guidance on how to reset just one item.
I'll see if I can add this functionality in the future. Unfortunately my spare time is currently very short.
Excuse my english.
Could you please refer me,
which table do I have to update if I wish to remove just a single item from the Stash of a student
but without removing all of the other items ?
thanks so much
What I tried to solve this issue is to make them collect the item different times, so for example if the student got an excellent grade collect 3 times a piece of gold, if only good collect 2 times...
How can I do to give a report with number items order, not for name order?
That's a good idea! We'll consider this for future versions.
Meanwhile you can "hack" similar behaviours by using the sections as "content" and set them to be hidden until a certain item is acquired. You can also use the Trades to create a narrative whereby a user can only obtain a certain item by trading previously acquired ones. The shortcodes and/or additional options on the drops would be much though.
Thanks for the suggestion!
I was wondering if it would possible to allow items from Stash to conditionally display/hide content (similar to what can be done with the shortcodes built into the Level Up! plugin).
This would allow for some really interesting narrative possibilities - sequencing the order in which items must be collected, hiding content until they have a particular item (e.g. find the key), giving hints to students who do not yet have a particular item, etc.
Thanks for the great plugin guys.
All of the images are available in the backup linked in the description under "Quick start" (Number 4). Here is the URL again https://moodle.org/pluginfile.php/50/local_plugins/plugin_description/1665/stash-demo-v3.mbz