Skip to content

Instantly share code, notes, and snippets.

@joethephish
Created May 24, 2020 14:53
Show Gist options
  • Save joethephish/27023af46eff1cff340842c96fdbc99c to your computer and use it in GitHub Desktop.
Save joethephish/27023af46eff1cff340842c96fdbc99c to your computer and use it in GitHub Desktop.
Sorcery-style ink with MAP convention
-> locationA
// Maybe in locationA.ink?
== locationA ==
Hello, welcome to location A!
-
+ Look in the drawer! -> lookInDrawer
+ Don't bother -> locationAPart2
= lookInDrawer
A key!
-> locationAPart2
== locationAPart2
You're probably done with location A
* {locationA.lookInDrawer} [MAP: Location B]
With the key you unlocked the door!
-> locationB
* [MAP: Location C] -> locationC
// Maybe in locationB.ink?
== locationB
Hello, welcome to location B!
* I'm bored, let's go?
-
* [MAP: Location C] -> locationC
// Maybe in locationC.ink?
== locationC
Ooh, final boss!
+ [fight]
- You win.
-> END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment