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

Turn off Binkplayer error on external function fallbacks (Old version of PR) #16

Closed
wants to merge 126 commits into from

Conversation

IFcoltransG
Copy link
Contributor

@IFcoltransG IFcoltransG commented Aug 28, 2024

This PR has been replaced by #17 because I couldn't figure out what the commits were doing after the force push.


Currently, Binkplayer throws an error if the provided .ink.json contains a fallback for an external function. With this PR, it does not throw that error unless the -e CLI flag is passed.

The CLI doesn't let you properly handle external functions, so without this change, it's not possible to run Ink with external functions at all, even if they have fallbacks.

I'm also sneaking in a fix for an off-by-one error in the display of randomly chosen choices — happy to cherry-pick into a different PR. My reason for including it is that both changes came from attempting to use that auto_play mode to test an existing Ink story, and finding both issues.

@IFcoltransG
Copy link
Contributor Author

I'm not really sure what's going on with GitHub — it's saying that diffs can't be viewed for this PR? — but it doesn't look like your main branch has these changes.
It may be that you force pushed from your main branch to this PR, instead of the merge process, overwriting the PR's changes. Would you like me to rebase my commits back into this PR to be merged properly, or did you close for a different reason?

@bladecoder
Copy link
Owner

bladecoder commented Dec 4, 2024

Sorry, I had to force push from my main branch to fix some commits with wrong email from the commit story and maybe I overwrite this PR :-( . Please, rebase and I will apply the PR again.

@IFcoltransG
Copy link
Contributor Author

IFcoltransG commented Dec 4, 2024

I've made a new PR instead because I wasn't able to figure out how to put this one back together: #17

@IFcoltransG IFcoltransG changed the title Turn off Binkplayer error on external function fallbacks Turn off Binkplayer error on external function fallbacks (Old version of PR) Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants