Draft: Mystery Gift Functionality
MR Description
Allows developers to generate a code through a command, this command can be uploaded to a pastebin and it gets decoded to figure out the rewards to give.
I never saw until today that there was a WIP for Mystery Gifts, Mud has previously created UIs, so while this works without any UI, I would like to edit this to include a UI.
TODO:
- UI for Mystery Gift
- Connect buttons to methods
Before testing
Download this csv file and add it to your Data/Text/Dialogs
folder
Notes to acknowledge before testing
- Examples of how to generate a gift are given in the code
- You can host multiple gifts! Just type
//
between the codes in pastebin. - The text is missing French translations currently.
- I've provided a few example gifts with the pastebin that is provided, but you can change the URL for your own testing.
- You can use translated text for your mystery gift name, just put the name like
"[100000, 5]"
instead of"pokemon_test"
Tests to realize
-
Claiming a gift removes it from the choice of gifts to claim -
Claiming a gift adds it to $user_data[:mystery_gifts]
-
Claiming a gift actually rewards the player with the gift -
You can create your own mystery gift of a Pokémon -
You can create your own mystery gift of an Item
Showcasing content
Edited by Invatorzen