Skip to content
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

Add support for updated tapout data #73

Open
connorhsm opened this issue Nov 3, 2024 · 1 comment
Open

Add support for updated tapout data #73

connorhsm opened this issue Nov 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@connorhsm
Copy link
Member

connorhsm commented Nov 3, 2024

The tapout flag of objects has been moved from being a tag in an object name to being a unique parameter value in the object file. This data should be parsed by the processor and associated with the object.

Also consider how we can display this information in a simple way, with hints about its meaning.

Importing objects...
WARNING: Unhandled data {"tapoutTrigger": ["1","0","1","1"]
...

Example object
https://github.com/twohoursonelife/OneLifeData7/blob/bf13c33647a9c961750739514bb3a6d24fe98fa7/objects/7736.txt#L17

Existing twotech display of tapout data
image

Tapout data explanation on the wiki
https://twohoursonelife.fandom.com/wiki/Objects_(Mechanics)#Tags

@connorhsm connorhsm added the enhancement New feature or request label Nov 3, 2024
@connorhsm
Copy link
Member Author

Tapout data can optionally be present in either location, part of the name (old) and or parameter in file (new). The file parameter option takes precedence.

Displaying this information in a simple way should only support the file parameter option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant