Loop if title 汎用処理 Story XX Loop 汎用処理 if story if storyId ==“XX” 限られた状況下で、 if storyId ==“YY” 自動プレイ単一機能の実行可能 if day == “01” スキップボタン クリック if time == “0930” 25
then if state == “story” – タイトルので自動プレイ処理 end ストーリーでの汎用処理 if Auto.state("story") then Auto.storyLoop() end Coroutinue で if story == “storyId” 1秒ごとに呼ばれる ストーリーでの汎用処理 自動化プレイ用のループ関数 if story == “storyId” – その他Stateの処理 end 27
then if state == “story” – タイトルので自動プレイ処理 end ストーリーでの汎用処理 if Auto.state("story") then Auto.storyLoop() end Coroutinue で if story == “storyId” 1秒ごとに呼ばれる ストーリーでの汎用処理 自動化プレイ用のループ関数 if story == “storyId” – その他Stateの処理 end 28
pair in ipairs(Auto.StoryDef) do if state == “story” if storyId == pair[1] then ストーリーでの汎用処理 if Auto.Story.isLoadedLua(pair[2]) then Auto[pair[1]].loop() else if story == “storyId” Auto.Story.loadLua(pair[2]) end Story用のループ関数 ストーリーでの汎用処理 StoryId に対応した、 個別ストーリーのループを実行 if story == “storyId” end end – 汎用処理 end 29