-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommonEvents.json
More file actions
1 lines (1 loc) · 9.68 KB
/
Copy pathcommonEvents.json
File metadata and controls
1 lines (1 loc) · 9.68 KB
1
{"eventsUser":[{"id":1,"name":"Hero action","p":[]},{"id":2,"name":"Hero touch","p":[]},{"id":3,"name":"Enemy touch","p":[]},{"id":4,"name":"Left stick","p":[{"id":1,"name":"id","d":{"k":1}},{"id":2,"name":"x","d":{"k":1}},{"id":3,"name":"y","d":{"k":1}}]},{"id":5,"name":"Right stick","p":[{"id":1,"name":"id","d":{"k":1}},{"id":2,"name":"x","d":{"k":1}},{"id":3,"name":"y","d":{"k":1}}]}],"states":[{"id":1,"name":"State 1"},{"id":2,"name":"State 2"},{"id":3,"name":"State 3"},{"id":4,"name":"State 4"},{"id":5,"name":"State 5"},{"id":6,"name":"State 6"},{"id":7,"name":"State 7"},{"id":8,"name":"State 8"},{"id":9,"name":"State 9"},{"id":10,"name":"State 10"}],"commonReactors":[{"id":1,"name":"Load global variables","bh":true,"p":[],"c":[{"kind":57,"command":[9,8,8,"settings",12,1],"children":[]},{"kind":8,"command":[1,0,4,1,0,10,false],"children":[{"kind":2,"command":[0,2,0,0,12,20],"children":[]},{"kind":2,"command":[0,3,0,3,10,false],"children":[]},{"kind":2,"command":[0,4,0,0,12,0.05],"children":[]},{"kind":2,"command":[0,5,0,0,12,5],"children":[]},{"kind":57,"command":[9,1,8,"settings"],"children":[]}]},{"kind":9,"command":[],"children":[]},{"kind":10,"command":[],"children":[]}]}],"commonObjects":[],"do":{"id":1,"name":"Default","states":[{"id":1,"name":"State 1","gk":0,"gid":-1,"x":0,"y":0,"rt":[0,0],"move":true,"stop":false,"climb":false,"dir":false,"through":false,"cam":true,"pix":true,"pos":false,"sx":{"k":12,"v":1},"sy":{"k":12,"v":1},"sz":{"k":12,"v":1},"l":[]}],"p":[],"events":[{"id":1,"name":"Hero action","p":[],"r":{"1":{"bh":true,"c":[]}},"sys":false}],"ooepf":false,"hId":-1},"ho":{"id":2,"name":"Hero","states":[{"id":1,"name":"State 1","gk":3,"gid":1,"x":0,"y":0,"rt":[0,0],"move":true,"stop":true,"climb":true,"dir":false,"through":false,"cam":true,"pix":true,"pos":false,"sx":{"k":12,"v":1},"sy":{"k":12,"v":1},"sz":{"k":12,"v":1},"l":[]}],"p":[{"id":1,"name":"CameraMoving","iv":{"k":10,"v":false}},{"id":2,"name":"First mouse move","iv":{"k":10,"v":true}},{"id":3,"name":"Camera X"},{"id":4,"name":"Camera Y"}],"events":[{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":1}},{"id":2,"name":"Repeat","v":{"k":10,"v":true}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":21,"command":[7,-1,1,1,1,0,1],"children":[]},{"kind":19,"command":[1,7,2,1,0,1,2],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":2}},{"id":2,"name":"Repeat","v":{"k":10,"v":true}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":34,"command":[0,"Core.Game.current.hero.move(Common.ORIENTATION.None, 1, 180, true);"],"children":[]},{"kind":19,"command":[1,7,2,1,0,1,2],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":3}},{"id":2,"name":"Repeat","v":{"k":10,"v":true}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":21,"command":[7,-1,1,1,1,2,1],"children":[]},{"kind":19,"command":[1,7,2,1,0,1,2],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":4}},{"id":2,"name":"Repeat","v":{"k":10,"v":true}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":21,"command":[7,-1,1,1,1,3,1],"children":[]},{"kind":19,"command":[1,7,2,1,0,1,2],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":9}},{"id":2,"name":"Repeat","v":{"k":10,"v":true}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":8,"command":[0,0,6,1,0,10,0],"children":[{"kind":30,"command":[7,1,0,10,1],"children":[]},{"kind":23,"command":[0,1,0,0,3,0,0,3,0,0,3,0,0,0,12,-90,12,0,3,0,1,12,1],"children":[]},{"kind":30,"command":[7,1,0,10,0],"children":[]}]},{"kind":10,"command":[],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":10}},{"id":2,"name":"Repeat","v":{"k":10,"v":true}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":8,"command":[0,0,6,1,0,10,0],"children":[{"kind":30,"command":[7,1,0,10,1],"children":[]},{"kind":23,"command":[0,1,0,0,3,0,0,3,0,0,3,0,0,0,12,90,12,0,3,0,1,12,1],"children":[]},{"kind":30,"command":[7,1,0,10,0],"children":[]}]},{"kind":10,"command":[],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":11}},{"id":2,"name":"Repeat","v":{"k":10,"v":false}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":false}}],"r":{"1":{"bh":false,"c":[{"kind":19,"command":[1,7,1,1,0,1,1],"children":[]}]}},"sys":true},{"id":3,"name":"KeyPress","p":[{"id":1,"name":"ID","v":{"k":11,"v":13}},{"id":2,"name":"Repeat","v":{"k":10,"v":false}},{"id":3,"name":"Immediate Repeat","v":{"k":10,"v":false}}],"r":{"1":{"bh":false,"c":[{"kind":11,"command":[],"children":[]}]}},"sys":true},{"id":1,"name":"Time","p":[{"id":1,"name":"Interval","v":{"k":2,"v":null}},{"id":2,"name":"Repeat","v":{"k":2,"v":null}}],"r":{"1":{"bh":false,"c":[{"kind":19,"command":[1,7,2,1,0,1,3],"children":[]}]}},"sys":true},{"id":1,"p":[{"id":1,"name":"Interval","v":{"k":2}},{"id":2,"name":"Repeat","v":{"k":10,"v":false}}],"r":{"1":{"bh":true,"c":[{"kind":30,"command":[7,1,0,10,false],"children":[]}]}},"sys":true},{"id":5,"name":"MouseDown","p":[{"id":1,"name":"x","v":{"k":1,"v":null}},{"id":2,"name":"y","v":{"k":1,"v":null}},{"id":3,"name":"Left","v":{"k":2,"v":null}},{"id":4,"name":"Repeat","v":{"k":10,"v":true}}],"r":{"1":{"bh":false,"c":[{"kind":42,"command":[],"children":[]},{"kind":8,"command":[0,7,9,"!['UpHero','DownHero','LeftHero','RightHero'].some(abr => [...Common.Inputs.keysPressed].some(k => Data.Keyboards.isKeyEqual(k, Data.Keyboards.controls[abr])))"],"children":[{"kind":8,"command":[0,7,8,"Core.ReactionInterpreter.currentParameters.get(1).getValue() <= (Common.ScreenResolution.CANVAS_WIDTH - Common.ScreenResolution.getScreenX(64)) / 2"],"children":[{"kind":21,"command":[7,-1,1,1,1,2,1],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":8,"command":[0,7,8,"Core.ReactionInterpreter.currentParameters.get(1).getValue() >= (Common.ScreenResolution.CANVAS_WIDTH + Common.ScreenResolution.getScreenX(64)) / 2"],"children":[{"kind":21,"command":[7,-1,1,1,1,3,1],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":8,"command":[0,7,8,"Core.ReactionInterpreter.currentParameters.get(2).getValue() <= (Common.ScreenResolution.CANVAS_HEIGHT - Common.ScreenResolution.getScreenY(64)) / 2"],"children":[{"kind":21,"command":[7,-1,1,1,1,0,1],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":8,"command":[0,7,8,"Core.ReactionInterpreter.currentParameters.get(2).getValue() >= (Common.ScreenResolution.CANVAS_HEIGHT + Common.ScreenResolution.getScreenY(64)) / 2"],"children":[{"kind":21,"command":[7,-1,1,1,1,1,1],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":19,"command":[1,7,2,1,0,1,2],"children":[]},{"kind":8,"command":[0,0,6,2,0,10,true],"children":[{"kind":19,"command":[1,7,1,1,0,1,1],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":30,"command":[7,2,0,10,false],"children":[]}]},{"kind":10,"command":[],"children":[]}]}},"sys":true},{"id":6,"name":"KeyPress","p":[{"id":1,"name":"x","v":{"k":1,"v":null}},{"id":2,"name":"y","v":{"k":1,"v":null}},{"id":3,"name":"Left","v":{"k":2,"v":null}}],"r":{"1":{"bh":false,"c":[{"kind":42,"command":[],"children":[]},{"kind":30,"command":[7,2,0,10,true],"children":[]}]}},"sys":true},{"id":8,"p":[],"r":{"1":{"bh":true,"c":[{"kind":8,"command":[0,7,9,"Data.Systems.caterpillarMaxPartyMembers.getValue() > 0"],"children":[{"kind":2,"command":[0,101,0,10,"Core.Game.current.teamHeroes[0].system.idCharacter "],"children":[]},{"kind":21,"command":[7,-1,0,1,0,13,0,1,2,4,101,1,0,0,1,1],"children":[]}]},{"kind":10,"command":[],"children":[]}]}},"sys":true},{"id":4,"p":[{"id":1,"name":"id","v":{"k":2}},{"id":2,"name":"x","v":{"k":2}},{"id":3,"name":"y","v":{"k":2}}],"r":{"1":{"bh":false,"c":[{"kind":8,"command":[0,0,5,2,0,12,0],"children":[{"kind":8,"command":[0,0,5,3,0,12,0],"children":[{"kind":42,"command":[],"children":[]}]},{"kind":10,"command":[],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":2,"command":[0,8,0,0,5,2],"children":[]},{"kind":2,"command":[0,9,0,0,5,3],"children":[]},{"kind":57,"command":[1,2,12,-1,4,8,4,9,10,true],"children":[]}]}},"sys":false},{"id":5,"p":[{"id":1,"name":"id","v":{"k":2}},{"id":2,"name":"x","v":{"k":2}},{"id":3,"name":"y","v":{"k":2}}],"r":{"1":{"bh":false,"c":[{"kind":8,"command":[0,0,5,2,0,12,0],"children":[{"kind":8,"command":[0,0,5,3,0,12,0],"children":[{"kind":42,"command":[],"children":[]}]},{"kind":10,"command":[],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":8,"command":[0,0,6,1,0,10,0],"children":[{"kind":30,"command":[7,1,0,10,1],"children":[]},{"kind":2,"command":[0,5,0,0,12,4],"children":[]},{"kind":30,"command":[7,3,0,5,2],"children":[]},{"kind":30,"command":[7,3,3,4,5],"children":[]},{"kind":2,"command":[0,7,0,0,5,3],"children":[]},{"kind":2,"command":[0,7,3,0,4,5],"children":[]},{"kind":2,"command":[0,7,3,0,12,-1],"children":[]},{"kind":8,"command":[0,0,4,6,0,10,true],"children":[{"kind":2,"command":[0,7,3,0,12,-1],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":23,"command":[0,1,0,0,3,0,0,3,0,0,3,0,0,0,6,3,12,0,3,0,1,12,0],"children":[]},{"kind":8,"command":[0,7,9,"(Scene.Map.current.camera.verticalAngle > 20 &&\nCore.Game.current.getVariable(7) < 0) ||\n(Scene.Map.current.camera.verticalAngle < 80 &&\nCore.Game.current.getVariable(7) > 0)\n"],"children":[{"kind":23,"command":[0,1,0,0,3,0,0,3,0,0,3,0,0,0,12,0,4,7,3,0,1,12,0],"children":[]}]},{"kind":10,"command":[],"children":[]},{"kind":30,"command":[7,1,0,10,0],"children":[]}]},{"kind":10,"command":[],"children":[]}]}},"sys":false}],"ooepf":false,"hId":-1}}