This thread contains minor BotW spoilers. Pertaining mostly to the mechanics involved in obtaining more hearts, and stamina. If you don't want to be spoiled, please redirect yourself from this thread.
Still here? Okay. I'm wondering if it is possible to have it so Link can obtain a number of items using a counter, and if these said items can be traded in for other items. Using string control codes so long as the item editor, and counters work, I should not need a script here otherwise.
Here's the scenario(s):
- Link enters place with guy (bait room). Guy needs bait. Link has X amount of counter items required to pass. If link has X amount of items, he gives link bait (string control codes) which he can use to make the guy leave and go into the next room but without taking those said items. This guy warns Link that once he enters the next room though, X amount of items will be taken and exchanged for either another heart container or magic container (This part is not as important, treat it as one item for the sake of the question).
- Link enters place with guy (bait room). Guy needs bait. Link does not have X amount of items needed to pass. Link cannot go on cause the string control code knows Link does not have enough of that item. Better go git gud.
tl;dr version, can string control codes work with script counters for items that reference those without scripts?
EDIT: Can someone move this to ZC Editor Help? Sorry guys.