Skip to content

Commit

Permalink
inkraft card scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
LocusAzzurro authored Jan 1, 2025
1 parent dd61c15 commit ce12447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions jiachen/data/amekawamiya/inkraft_story/old_scroll.ink.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"inkVersion":21,"root":[["\n","ev","str","^inkraft_old_scroll","/str",{"x()":"hasVariable","exArgs":1},"/ev",{"temp=":"has_inkraft_old_scroll"},"\n","ev",{"VAR?":"has_inkraft_old_scroll"},false,"==","/ev",[{"->":".^.b","c":true},{"b":["\n","ev","str","^inkraft_old_scroll","/str",0,{"x()":"setVariable","exArgs":2},"pop","/ev","\n",{"->":"0.15"},null]}],"nop","\n","ev","str","^inkraft_old_scroll","/str",{"x()":"getVariable","exArgs":1},"/ev",{"temp=":"inkraft_old_scroll"},"\n","^【与旅行商人的对话开始】","\n","^旅行商人:你好啊,旅行者。","\n","ev","str","^打个招呼","/str","/ev",{"*":"0.c-0","flg":20},["ev",{"^->":"0.35.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str",{"VAR?":"inkraft_old_scroll"},0,"<=","/ev",{"*":"0.c-1","flg":19},{"s":["^你手里的是什么?",{"->":"$r","var":true},null]}],{"c-0":["\n","end",{"->":"0.g-0"},{"#f":5}],"c-1":["ev",{"^->":"0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":"0.35.s"},[{"#n":"$r2"}],"\n",{"->":"scroll_offer"},{"->":"0.g-0"},{"#f":5}],"g-0":["done",{"#f":5}]}],"done",{"scroll_offer":[["ev","str","^locusazzurro_icaruswings:sapphire_gem","/str",8,"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"hasItem","exArgs":4},"/ev",{"temp=":"has_sapphire"},"\n","^旅行商人:这个啊,此乃我在旅途中收集到的一份古卷。","\n","^旅行商人:若您感兴趣,只需8颗蓝宝石便可。","\n","ev","str","^购入","/str",{"VAR?":"has_sapphire"},"/ev",{"*":".^.c-0","flg":21},["ev",{"^->":"scroll_offer.0.26.$r1"},{"temp=":"$r"},"str",{"->":".^.s"},[{"#n":"$r1"}],"/str","/ev",{"*":".^.^.c-1","flg":18},{"s":["^我再想想。",{"->":"$r","var":true},null]}],{"c-0":["\n",{"->":"buy"},{"#f":5}],"c-1":["ev",{"^->":"scroll_offer.0.c-1.$r2"},"/ev",{"temp=":"$r"},{"->":".^.^.26.s"},[{"#n":"$r2"}],"\n","end",{"#f":5}]}],{"#f":1}],"buy":["ev","str","^locusazzurro_icaruswings:sapphire_gem","/str",8,"str","^components","/str","str","^$<$qminecraft:lore$q: [$d$<$qcolor$q:$qblue$q,$qitalic$q:false,$qtext$q:$q姬川岛$q$>$d]$>","/str",{"x()":"takeItem","exArgs":4},"pop","/ev","\n","^旅行商人:看来您与这物件有缘,请收好吧。","\n","ev","str","^/shard award @s inkraft:mf_carnival_hermit","/str",{"x()":"runUnlimitedCommand","exArgs":1},"pop","/ev","\n","ev","str","^inkraft_old_scroll","/str",1,{"x()":"setVariable","exArgs":2},"pop","/ev","\n","end",{"#f":1}],"global decl":["ev","/ev","end",null],"#f":1}],"listDefs":{}}
Loading

0 comments on commit ce12447

Please sign in to comment.