A TTS bug can cause tokens to be lost or possibly duplicated if they are added to a container while that container is being searched. This uses event listeners to block bag changes while it is being searched.
Steps to reproduce:
1. Search the bag
2. Add a token to the bag (bless/curse is easiest)
3. Remove a token from the bag using the search window
4. Close the search
The token supposedly added in #2 will be gone.
Creates the basic framework for the SCED introduction/training tour. As this will be a large feature, this is intended to checkpoint
progress and work.
What's here:
- Basic tour script definition
- Script UI creation, camera handling, and flow
What's not here:
- Multiplayer support. Everything is currently locked to white.
- Final UI. Most UI is placeholder and will be updated later.
- Extra script capability such as higlighting objects, explicit positioning, etc.
This uses the new object API concept to provide a layer of indirection between
an object and others which might call() to methods on it. Example usage:
local playmatApi = require("playermat/PlaymatApi")
playmatApi.setLimitSnapsByType(tag, "All")
This uses the new object API concept to provide a layer of indirection between
an object and others which might call() to methods on it. Example usage:
local playmatApi = require("playermat/PlaymatApi")
playmatApi.setLimitSnapsByType(tag, "All")
- Saved old cards have a different structure for uses (single vs. array) making the change breaking. Code was assuming an array, breaking any loaded objects with the old structure
- Uses spawn loop was setting the values only, resulting in only the last item being spawned
- Upkeep checks were embedded incorrectly, leading to logic errors in certain circumstances
- If uses had multiple entries, tokens were spawning on top of each other and exploding, probably due to the yPos shift in playmats. Added an offset to spawn the groups in different places to avoid this, which is prettier anyway