vg-json-data / sm-json-data

JSON representations of Super Metroid Game Data
Other
26 stars 12 forks source link

Split tech requirements into two fields: tech and other #1507

Closed kjbranch closed 4 months ago

kjbranch commented 4 months ago

This is the first step towards adding items back to tech (i.e. morph to canIBJ); then h_canArtificialMorphIBJ can be defined as {"tech": "canIBJ"}.

kjbranch commented 4 months ago

canGrappleJump is an odd one that I don't like, but I think it should work ok. It could be moved into a helper, which won't improve anything really, but it will help us not have "or"s, if that is something we want in the future.

The tech with helpers that include both tech and items were split in an awkward way. I plan to fix those and hopefully remove them in the next step.

I'll look through this PR one more time before I merge it - it's a bit of a scary one if there is an error somewhere.