Files
BreakEscape/scenarios/ink/influence-demo.json

1 line
5.7 KiB
JSON

{"inkVersion":21,"root":[[["done",{"#n":"g-0"}],null],"done",{"start":["ev",{"VAR?":"conversation_count"},1,"+",{"VAR=":"conversation_count","re":true},"/ev","ev",{"VAR?":"influence"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^trusted ally","/str","/ev",{"VAR=":"relationship","re":true},{"->":"start.12"},null]}],"nop","\n","ev",{"VAR?":"influence"},5,">=",{"VAR?":"influence"},10,"<","&&","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^friend","/str","/ev",{"VAR=":"relationship","re":true},{"->":"start.24"},null]}],"nop","\n","ev",{"VAR?":"influence"},-5,">=",{"VAR?":"influence"},5,"<","&&","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^acquaintance","/str","/ev",{"VAR=":"relationship","re":true},{"->":"start.36"},null]}],"nop","\n","ev",{"VAR?":"influence"},-5,"<","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^distrustful contact","/str","/ev",{"VAR=":"relationship","re":true},{"->":"start.44"},null]}],"nop","\n","ev",{"VAR?":"relationship"},"str","^trusted ally","/str","==","/ev",[{"->":".^.b","c":true},{"b":["\n","^Good to see you, partner. What do you need?","\n",{"->":"start.54"},null]}],"nop","\n","ev",{"VAR?":"relationship"},"str","^friend","/str","==","/ev",[{"->":".^.b","c":true},{"b":["\n","^Hey there! Always happy to help.","\n",{"->":"start.64"},null]}],"nop","\n","ev",{"VAR?":"relationship"},"str","^acquaintance","/str","==","/ev",[{"->":".^.b","c":true},{"b":["\n","^Hello. What brings you here?","\n",{"->":"start.74"},null]}],"nop","\n","ev",{"VAR?":"relationship"},"str","^distrustful contact","/str","==","/ev",[{"->":".^.b","c":true},{"b":["\n","^What do you want now?","\n",{"->":"start.84"},null]}],"nop","\n",{"->":"hub"},null],"hub":[["ev","str","^Ask how they're doing","/str","/ev",{"*":".^.c-0","flg":4},"ev","str","^Offer to help with their work","/str",{"VAR?":"helped_with_task"},"!","/ev",{"*":".^.c-1","flg":5},"ev","str","^Check on the task progress","/str",{"VAR?":"helped_with_task"},"/ev",{"*":".^.c-2","flg":5},"ev","str","^Ask about classified intel","/str",{"VAR?":"influence"},5,">=",{"VAR?":"shared_secret"},"!","&&","/ev",{"*":".^.c-3","flg":5},"ev","str","^Request backup on your mission","/str",{"VAR?":"influence"},10,">=","/ev",{"*":".^.c-4","flg":5},"ev","str","^Demand information immediately","/str","/ev",{"*":".^.c-5","flg":4},"ev","str","^Make a joke","/str","/ev",{"*":".^.c-6","flg":4},"ev","str","^Leave","/str","/ev",{"*":".^.c-7","flg":4},{"c-0":["\n",{"->":"small_talk"},null],"c-1":["\n",{"->":"help_offer"},null],"c-2":["\n",{"->":"task_followup"},null],"c-3":["\n",{"->":"classified_intel"},null],"c-4":["\n",{"->":"request_backup"},null],"c-5":["\n",{"->":"be_demanding"},null],"c-6":["\n",{"->":"joke"},null],"c-7":["^ ","#","^exit_conversation","/#","\n","^See you around.","\n",{"->":"hub"},null]}],null],"small_talk":["ev",{"VAR?":"influence"},0,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","^I'm doing well, thanks for asking.","\n","ev",{"VAR?":"influence"},1,"+",{"VAR=":"influence","re":true},"/ev","#","^influence_increased","/#",{"->":".^.^.^.7"},null]}],[{"->":".^.b"},{"b":["\n","^I'm fine. Can we get to the point?","\n",{"->":".^.^.^.7"},null]}],"nop","\n",{"->":"hub"},null],"help_offer":["^Really? That would be amazing.","\n","^I've been swamped with this security audit.","\n","ev",true,"/ev",{"VAR=":"helped_with_task","re":true},"ev",{"VAR?":"influence"},2,"+",{"VAR=":"influence","re":true},"/ev","#","^influence_increased","/#","^Your help means a lot.","\n",{"->":"hub"},null],"task_followup":["ev",{"VAR?":"influence"},5,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","^Thanks to your help, we finished ahead of schedule!","\n","^The director was impressed.","\n","ev",{"VAR?":"influence"},1,"+",{"VAR=":"influence","re":true},"/ev","#","^influence_increased","/#","^I owe you one.","\n",{"->":".^.^.^.7"},null]}],[{"->":".^.b"},{"b":["\n","^It's going fine. Thanks for asking.","\n",{"->":".^.^.^.7"},null]}],"nop","\n",{"->":"hub"},null],"classified_intel":["ev",{"VAR?":"influence"},10,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","^Alright, I trust you. Between us...","\n","ev",true,"/ev",{"VAR=":"shared_secret","re":true},"ev",{"VAR?":"influence"},2,"+",{"VAR=":"influence","re":true},"/ev","#","^influence_increased","/#","^The breach came from inside the network.","\n",{"->":"hub"},{"->":".^.^.^.7"},null]}],[{"->":".^.b"},{"b":["\n","^You know I can't share that. Not yet.","\n","^Build more trust first.","\n",{"->":"hub"},{"->":".^.^.^.7"},null]}],"nop","\n",null],"request_backup":["^Absolutely. You can count on me.","\n","^I'll have a team ready in 10 minutes.","\n","ev",{"VAR?":"influence"},1,"+",{"VAR=":"influence","re":true},"/ev","#","^influence_increased","/#",{"->":"hub"},null],"be_demanding":["^Whoa, slow down there.","\n","^I don't respond well to demands.","\n","ev",{"VAR?":"influence"},2,"-",{"VAR=":"influence","re":true},"/ev","#","^influence_decreased","/#","^Try asking nicely next time.","\n",{"->":"hub"},null],"joke":["ev",{"VAR?":"influence"},0,">=","/ev",[{"->":".^.b","c":true},{"b":["\n","^Ha! That's a good one.","\n","ev",{"VAR?":"influence"},1,"+",{"VAR=":"influence","re":true},"/ev","#","^influence_increased","/#","^It's nice to work with someone who can lighten the mood.","\n",{"->":"joke.7"},null]}],[{"->":".^.b"},{"b":["\n","^This isn't really the time for jokes.","\n","ev",{"VAR?":"influence"},1,"-",{"VAR=":"influence","re":true},"/ev","#","^influence_decreased","/#","^Let's stay professional.","\n",{"->":"joke.7"},null]}],"nop","\n",{"->":"hub"},null],"global decl":["ev","str","^Agent Carter","/str",{"VAR=":"npc_name"},0,{"VAR=":"influence"},"str","^stranger","/str",{"VAR=":"relationship"},0,{"VAR=":"conversation_count"},false,{"VAR=":"helped_with_task"},false,{"VAR=":"shared_secret"},"/ev","end",null]}],"listDefs":{}}