inkle / inkle/ink

Or statement when testing a list?

Open
#620 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

I'm writing this for a murder mystery game:
`{
- deductions ? (murder_victim_was_not_lady_duffy) && clues ? (jewellery_missing || sweet_christine):
~ clue_sets+=clue_set_true_murderer
}`

But the || is not working. The error message I get is "Can not call use '?' operation on List and Int". How can I perform a function based one having _at least one_ of an item in a list, but not necessarily having both the items in the list?

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.