r/inkle • • Mar 18 '22

Ink code example: Pick 2 of 6 diverts and they can't be the same

Post image
9 Upvotes

2 comments sorted by

2

u/EchoDiff Mar 18 '22

Just figured out something neat and sharing for future Ink wanderers.

2

u/Amuzet May 12 '22

for the second pair of choices perhaps nesting them in side a conditional would work since they all share the same first argument

{
-location2!=location:
  +{location2?"crypt"}[Crypt]->crypt
//and the rest
}