audinowho / PMDODump

All content generation for PMDO. BEWARE SPOILERS.
MIT License
61 stars 14 forks source link

Ground Mode use of items #283

Open issuebotaudinowho[bot] opened 1 year ago

issuebotaudinowho[bot] commented 1 year ago

Discord: Trio-#4442 <@467050112787677184>

Feature Request:

leo-in-the-house commented 1 year ago

Looks like this is not as simple as slapping a CanUseOutsideOfDungeon flag on the items, calling GSceneMap.ProcessUseItem(), and calling it a day. The way the steps a use item like a Recall Box are called in a DSceneAction, we may need a separate entirely separate UseEvent parsed in a completely different way for calling such an item outside of a dungeon. Coincidentally, learnables (TMs) are usable outside of the dungeon, but have their interaction hardcoded in GSceneMap.ProcessUseItem(), so that isn't extensible.

A simpler workaround for these two specific items could be to have the move remember shop allow accepting Recall Boxes in lieu of money, and add a similar service for Special Abilities.