-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flower pots unexpectedly showing as an infinite tool #52
Comments
Related twotech/process/src/Transition.js Line 36 in 73d2caf
|
Whether an item is a tool is defined by the processor, rather than the game, so there isn't a simple check we can do to filter these items. The processor is checking that the actor ID is >= 0, and then that the actor ID is the same as the new actor ID. If we added an additional check for whether the object has a percentage use chance. This would catch all tools like shovels etc, but not flowerpots. twotech/process/src/ObjectBadges.js Lines 31 to 33 in 73d2caf
Objects this would affect that we may not want it to effect: Some items that are already being filtered out by the current code, which should possibly be included: While not ideal, one solution would be to implement the check I suggested above, as well as a whitelist of objects that we have selected, that should be included. |
Suspected due to these transitions
Possibly happening elsewhere for past items.
twotech/process/src/GameObject.js
Lines 216 to 221 in 0b5d789
The text was updated successfully, but these errors were encountered: