ink icon indicating copy to clipboard operation
ink copied to clipboard

story does not compile with EXTERNAL function call in ink story

Open GlutenPlasters opened this issue 1 year ago • 1 comments

These images should explain it. Screenshot 2024-10-11 at 3 43 23 PM Screenshot 2024-10-11 at 3 35 20 PM Screenshot 2024-10-11 at 3 35 34 PM

GlutenPlasters avatar Oct 11 '24 22:10 GlutenPlasters

As far as I'm aware - the way to handle this within inky is create a "dummy" ink function. So:

=== function add_cash(amount)
~ return

Should cover it.

When you're running a play through in Inky, add_cash just runs that blank function, but in your application wrapper, it'll run the external function, instead.

stevencowles avatar Jan 01 '25 13:01 stevencowles