inkle / inkle/inky

Inky fails to run without any error message when undeclared EXTERNAL functions exist.

Open
#440 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

If you have EXTERNAL functions referenced in your script that don't have a fallback, calling them anywhere in your story prevents inky from showing anything in the right-hand player window, and doesn't show a warning or anything else to hint at the issue.

Struck me as something to fix (perhaps writing blank fallback functions invisibly+automatically in inky when an EXTERNAL is defined without a fallback?), or just adding a warning.

```-> Intro
= Intro

Intro story text!
+ Go to the shop
~ OpenShop()
->Intro

EXTERNAL OpenShop()
// Here's the issue. If you remove this, it won't run in inky, nor will it give any indication of why not.
=== function OpenShop()
Open Shop```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.