Skip to content

Instantly share code, notes, and snippets.

@GeorgesAlkhouri
Created March 1, 2024 09:49
Show Gist options
  • Select an option

  • Save GeorgesAlkhouri/2a4c54de05eb1bb6ec686f8dbe5764b1 to your computer and use it in GitHub Desktop.

Select an option

Save GeorgesAlkhouri/2a4c54de05eb1bb6ec686f8dbe5764b1 to your computer and use it in GitHub Desktop.
{"inkVersion":21,"root":[[{"->":"start"},["done",{"#f":5,"#n":"g-0"}],null],"done",{"checkMind":["ev",{"VAR?":"mind"},5,">","/ev","~ret",{"#f":1}],"checkForce":["ev",{"VAR?":"force"},5,">","/ev","~ret",{"#f":1}],"start":[["^You roam around, looking for a suitable sinkhole to break some minerals from the rock. As you discover an old path that leads further up into the more sloping regions of the mountain.","\n","ev","str","^I could follow this path and find out where it leads.","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^I'd rather stay at this altitude, mining minerals is easier here","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["^ ","\n","ev",{"f()":"checkMind"},"/ev",[{"->":".^.b","c":true},{"b":["\n",{"->":"path_positive"},{"->":".^.^.^.7"},null]}],[{"->":".^.b"},{"b":["\n",{"->":"path_negative"},{"->":".^.^.^.7"},null]}],"nop","\n",{"#f":5}],"c-1":["\n","ev",{"f()":"checkForce"},"/ev",[{"->":".^.b","c":true},{"b":["\n",{"->":"pit_positive"},{"->":".^.^.^.6"},null]}],[{"->":".^.b"},{"b":["\n",{"->":"pit_negative"},{"->":".^.^.^.6"},null]}],"nop","\n",{"#f":5}]}],{"#f":1}],"path_positive":[["^Time and weather have taken their toll on the path that winds its way up the mountain laboriously, sometimes disappearing under rubble or briefly losing itself at a drop-off. But you can always find it again.","\n","^The ascent is arduous, but it would have been impossible without the old way. After a while, you reach a wind-sculpted stone plateau. You cannot discern what purpose this place once served, but in front of you stretches a wonderful view over the entire mountain landscape, bathed in warm light by the rising sun. Golden rays break at the mountain peak above you.","\n","ev","str","^I take some time before I continue my adventure.","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^It almost seems as if I could grasp the light that is reflected from the mountain","/str","/ev",{"*":".^.c-1","flg":20},{"c-0":["^ ","\n","ev",{"VAR?":"calm"},1,"+",{"VAR=":"calm","re":true},"/ev",{"->":"start"},{"#f":5}],"c-1":["^ ","\n","ev",{"VAR?":"shape"},20,"-",{"VAR=":"shape","re":true},"/ev","ev",{"VAR?":"gold"},5,"+",{"VAR=":"gold","re":true},"/ev",{"->":"start"},{"#f":5}]}],{"#f":1}],"path_negative":[["^Time and weather have taken their toll on the path that winds its way up the mountain laboriously, sometimes disappearing under rubble or briefly losing itself at a drop-off. The higher you climb, the harder it becomes to follow it until you eventually lose it entirely.","\n","^Somewhat lost, you stand on the slope.","\n","ev","str","^Too bad, I'd better start descending","/str","/ev",{"*":".^.c-0","flg":20},{"c-0":["^ ","\n","ev",{"VAR?":"sad"},1,"+",{"VAR=":"sad","re":true},"/ev",{"->":"start"},{"#f":5}]}],{"#f":1}],"pit_positive":[["^You continue along the slope, after battling through a few dried-up bushes, you discover a funnel-shaped wound in the rock, as if a giant had ripped a handful out of the mountain, in the rubble you can glimpse the glitter of some minerals.","\n","ev","str","^The search was worth it, I will surely find something here.","/str","/ev",{"*":".^.c-0","flg":20},{"c-0":["^ ","\n",{"->":"start"},{"#f":5}]}],{"#f":1}],"pit_negative":[["^You continue along the slope, unfortunately, you can't find a suitable place for mining minerals. Your pickaxe sighs disappointedly in your hand.","\n","ev","str","^So, let's move on.","/str","/ev",{"*":".^.c-0","flg":20},{"c-0":["^ ","\n",{"->":"start"},{"#f":5}]}],{"#f":1}],"global decl":["ev",0,{"VAR=":"force"},0,{"VAR=":"mind"},0,{"VAR=":"calm"},0,{"VAR=":"sad"},20,{"VAR=":"shape"},0,{"VAR=":"gold"},"/ev","end",null],"#f":1}],"listDefs":{}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment