Advertisement
zaq_hack

Update Count v5

Mar 25th, 2019
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.04 KB | None | 0 0
  1. [
  2. {
  3. "pos": {
  4. "x": 0,
  5. "y": 0
  6. },
  7. "opcode": {
  8. "id": "ev_signal",
  9. "primary": "R",
  10. "parameters": [
  11. {
  12. "type": "string",
  13. "value": {
  14. "v": "Prime"
  15. }
  16. },
  17. {
  18. "type": "boolean",
  19. "value": {
  20. "null": true
  21. }
  22. }
  23. ]
  24. }
  25. },
  26. {
  27. "pos": {
  28. "x": 2,
  29. "y": 2
  30. },
  31. "opcode": {
  32. "id": "do_setvar",
  33. "primary": "R",
  34. "parameters": [
  35. {
  36. "type": "integer",
  37. "value": {
  38. "v": 0
  39. }
  40. }
  41. ]
  42. }
  43. },
  44. {
  45. "pos": {
  46. "x": 4,
  47. "y": 4
  48. },
  49. "opcode": {
  50. "id": "do_wire",
  51. "primary": "R",
  52. "parameters": []
  53. }
  54. },
  55. {
  56. "pos": {
  57. "x": 4,
  58. "y": 5
  59. },
  60. "opcode": {
  61. "id": "do_setvar",
  62. "primary": "R",
  63. "parameters": [
  64. {
  65. "type": "integer",
  66. "value": {
  67. "v": 1
  68. }
  69. }
  70. ]
  71. }
  72. },
  73. {
  74. "pos": {
  75. "x": 8,
  76. "y": 9
  77. },
  78. "opcode": {
  79. "id": "do_signal",
  80. "parameters": [
  81. {
  82. "type": "string",
  83. "value": {
  84. "v": "Update Flow"
  85. }
  86. }
  87. ]
  88. }
  89. },
  90. {
  91. "pos": {
  92. "x": 0,
  93. "y": 2
  94. },
  95. "opcode": {
  96. "id": "ev_signal",
  97. "primary": "R",
  98. "parameters": [
  99. {
  100. "type": "string",
  101. "value": {
  102. "v": "Increase"
  103. }
  104. },
  105. {
  106. "type": "boolean",
  107. "value": {
  108. "null": true
  109. }
  110. }
  111. ]
  112. }
  113. },
  114. {
  115. "pos": {
  116. "x": 2,
  117. "y": 4
  118. },
  119. "opcode": {
  120. "id": "do_setvar",
  121. "primary": "R",
  122. "parameters": [
  123. {
  124. "type": "integer",
  125. "value": {
  126. "v": 0
  127. }
  128. }
  129. ]
  130. }
  131. },
  132. {
  133. "pos": {
  134. "x": 6,
  135. "y": 8
  136. },
  137. "opcode": {
  138. "id": "test_call",
  139. "parameters": [
  140. {
  141. "type": "string",
  142. "value": {
  143. "v": "Jump"
  144. }
  145. }
  146. ]
  147. }
  148. },
  149. {
  150. "pos": {
  151. "x": 4,
  152. "y": 7
  153. },
  154. "opcode": {
  155. "id": "do_wire",
  156. "primary": "R",
  157. "parameters": []
  158. }
  159. },
  160. {
  161. "pos": {
  162. "x": 0,
  163. "y": 4
  164. },
  165. "opcode": {
  166. "id": "ev_signal",
  167. "primary": "R",
  168. "parameters": [
  169. {
  170. "type": "string",
  171. "value": {
  172. "v": "Decrease"
  173. }
  174. },
  175. {
  176. "type": "boolean",
  177. "value": {
  178. "null": true
  179. }
  180. }
  181. ]
  182. }
  183. },
  184. {
  185. "pos": {
  186. "x": 4,
  187. "y": 8
  188. },
  189. "opcode": {
  190. "id": "do_setvar",
  191. "primary": "R",
  192. "parameters": [
  193. {
  194. "type": "integer",
  195. "value": {
  196. "v": 1
  197. }
  198. }
  199. ]
  200. }
  201. },
  202. {
  203. "pos": {
  204. "x": 2,
  205. "y": 7
  206. },
  207. "opcode": {
  208. "id": "do_setvar",
  209. "primary": "R",
  210. "parameters": [
  211. {
  212. "type": "integer",
  213. "value": {
  214. "v": 0
  215. }
  216. }
  217. ]
  218. }
  219. },
  220. {
  221. "pos": {
  222. "x": 0,
  223. "y": 7
  224. },
  225. "opcode": {
  226. "id": "ev_signal",
  227. "primary": "R",
  228. "parameters": [
  229. {
  230. "type": "string",
  231. "value": {
  232. "v": "Critical"
  233. }
  234. },
  235. {
  236. "type": "boolean",
  237. "value": {
  238. "null": true
  239. }
  240. }
  241. ]
  242. }
  243. },
  244. {
  245. "pos": {
  246. "x": 5,
  247. "y": 0
  248. },
  249. "opcode": {
  250. "id": "do_settoken",
  251. "primary": "R",
  252. "parameters": [
  253. {
  254. "type": "integer",
  255. "value": {
  256. "v": 0
  257. }
  258. }
  259. ]
  260. }
  261. },
  262. {
  263. "pos": {
  264. "x": 3,
  265. "y": 0
  266. },
  267. "opcode": {
  268. "id": "do_add_numbers",
  269. "primary": "R",
  270. "parameters": [
  271. {
  272. "type": "number",
  273. "value": {
  274. "var": 0
  275. }
  276. },
  277. {
  278. "type": "number",
  279. "value": {
  280. "v": 50
  281. }
  282. }
  283. ]
  284. }
  285. },
  286. {
  287. "pos": {
  288. "x": 5,
  289. "y": 2
  290. },
  291. "opcode": {
  292. "id": "do_settoken",
  293. "primary": "R",
  294. "parameters": [
  295. {
  296. "type": "integer",
  297. "value": {
  298. "v": 0
  299. }
  300. }
  301. ]
  302. }
  303. },
  304. {
  305. "pos": {
  306. "x": 1,
  307. "y": 0
  308. },
  309. "opcode": {
  310. "id": "eval_gettoken",
  311. "primary": "R",
  312. "parameters": [
  313. {
  314. "type": "integer",
  315. "value": {
  316. "v": 0
  317. }
  318. }
  319. ]
  320. }
  321. },
  322. {
  323. "pos": {
  324. "x": 3,
  325. "y": 2
  326. },
  327. "opcode": {
  328. "id": "do_add_numbers",
  329. "primary": "R",
  330. "parameters": [
  331. {
  332. "type": "number",
  333. "value": {
  334. "var": 0
  335. }
  336. },
  337. {
  338. "type": "number",
  339. "value": {
  340. "v": 1
  341. }
  342. }
  343. ]
  344. }
  345. },
  346. {
  347. "pos": {
  348. "x": 5,
  349. "y": 4
  350. },
  351. "opcode": {
  352. "id": "eval_number",
  353. "primary": "D",
  354. "parameters": [
  355. {
  356. "type": "number",
  357. "value": {
  358. "v": 0
  359. }
  360. }
  361. ]
  362. }
  363. },
  364. {
  365. "pos": {
  366. "x": 5,
  367. "y": 5
  368. },
  369. "opcode": {
  370. "id": "do_settoken",
  371. "primary": "R",
  372. "parameters": [
  373. {
  374. "type": "integer",
  375. "value": {
  376. "v": 0
  377. }
  378. }
  379. ]
  380. }
  381. },
  382. {
  383. "pos": {
  384. "x": 9,
  385. "y": 9
  386. },
  387. "opcode": {
  388. "id": "do_log",
  389. "primary": "L",
  390. "parameters": [
  391. {
  392. "type": "string",
  393. "value": {
  394. "fun": "last_str"
  395. }
  396. }
  397. ]
  398. }
  399. },
  400. {
  401. "pos": {
  402. "x": 1,
  403. "y": 2
  404. },
  405. "opcode": {
  406. "id": "eval_gettoken",
  407. "primary": "R",
  408. "parameters": [
  409. {
  410. "type": "integer",
  411. "value": {
  412. "v": 0
  413. }
  414. }
  415. ]
  416. }
  417. },
  418. {
  419. "pos": {
  420. "x": 3,
  421. "y": 4
  422. },
  423. "opcode": {
  424. "id": "test_gt_number",
  425. "primary": "R",
  426. "secondary": "d",
  427. "parameters": [
  428. {
  429. "type": "number",
  430. "value": {
  431. "v": 1
  432. }
  433. },
  434. {
  435. "type": "number",
  436. "value": {
  437. "var": 0
  438. }
  439. }
  440. ]
  441. }
  442. },
  443. {
  444. "pos": {
  445. "x": 3,
  446. "y": 5
  447. },
  448. "opcode": {
  449. "id": "do_subtract_numbers",
  450. "primary": "R",
  451. "parameters": [
  452. {
  453. "type": "number",
  454. "value": {
  455. "var": 0
  456. }
  457. },
  458. {
  459. "type": "number",
  460. "value": {
  461. "v": 1
  462. }
  463. }
  464. ]
  465. }
  466. },
  467. {
  468. "pos": {
  469. "x": 5,
  470. "y": 7
  471. },
  472. "opcode": {
  473. "id": "eval_number",
  474. "primary": "D",
  475. "parameters": [
  476. {
  477. "type": "number",
  478. "value": {
  479. "v": 0
  480. }
  481. }
  482. ]
  483. }
  484. },
  485. {
  486. "pos": {
  487. "x": 1,
  488. "y": 4
  489. },
  490. "opcode": {
  491. "id": "eval_gettoken",
  492. "primary": "R",
  493. "parameters": [
  494. {
  495. "type": "integer",
  496. "value": {
  497. "v": 0
  498. }
  499. }
  500. ]
  501. }
  502. },
  503. {
  504. "pos": {
  505. "x": 5,
  506. "y": 8
  507. },
  508. "opcode": {
  509. "id": "do_settoken",
  510. "primary": "R",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "value": {
  515. "v": 0
  516. }
  517. }
  518. ]
  519. }
  520. },
  521. {
  522. "pos": {
  523. "x": 3,
  524. "y": 7
  525. },
  526. "opcode": {
  527. "id": "test_gt_number",
  528. "primary": "R",
  529. "secondary": "d",
  530. "parameters": [
  531. {
  532. "type": "number",
  533. "value": {
  534. "v": 1
  535. }
  536. },
  537. {
  538. "type": "number",
  539. "value": {
  540. "var": 0
  541. }
  542. }
  543. ]
  544. }
  545. },
  546. {
  547. "pos": {
  548. "x": 3,
  549. "y": 8
  550. },
  551. "opcode": {
  552. "id": "do_subtract_numbers",
  553. "primary": "R",
  554. "parameters": [
  555. {
  556. "type": "number",
  557. "value": {
  558. "var": 0
  559. }
  560. },
  561. {
  562. "type": "number",
  563. "value": {
  564. "v": 50
  565. }
  566. }
  567. ]
  568. }
  569. },
  570. {
  571. "pos": {
  572. "x": 1,
  573. "y": 7
  574. },
  575. "opcode": {
  576. "id": "eval_gettoken",
  577. "primary": "R",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "value": {
  582. "v": 0
  583. }
  584. }
  585. ]
  586. }
  587. },
  588. {
  589. "pos": {
  590. "x": 10,
  591. "y": 0
  592. },
  593. "opcode": {
  594. "id": "ev_signal",
  595. "primary": "D",
  596. "parameters": [
  597. {
  598. "type": "string",
  599. "value": {
  600. "v": "Jump"
  601. }
  602. },
  603. {
  604. "type": "boolean",
  605. "value": {
  606. "null": true
  607. }
  608. }
  609. ]
  610. }
  611. },
  612. {
  613. "pos": {
  614. "x": 10,
  615. "y": 1
  616. },
  617. "opcode": {
  618. "id": "do_concat",
  619. "primary": "D",
  620. "parameters": [
  621. {
  622. "type": "string",
  623. "value": {
  624. "v": "B~"
  625. }
  626. },
  627. {
  628. "type": "string",
  629. "value": {
  630. "var": 0
  631. }
  632. }
  633. ]
  634. }
  635. },
  636. {
  637. "pos": {
  638. "x": 10,
  639. "y": 2
  640. },
  641. "opcode": {
  642. "id": "do_concat",
  643. "primary": "D",
  644. "parameters": [
  645. {
  646. "type": "string",
  647. "value": {
  648. "fun": "last_str"
  649. }
  650. },
  651. {
  652. "type": "string",
  653. "value": {
  654. "v": "..A~"
  655. }
  656. }
  657. ]
  658. }
  659. },
  660. {
  661. "pos": {
  662. "x": 10,
  663. "y": 3
  664. },
  665. "opcode": {
  666. "id": "do_concat",
  667. "primary": "D",
  668. "parameters": [
  669. {
  670. "type": "string",
  671. "value": {
  672. "fun": "last_str"
  673. }
  674. },
  675. {
  676. "type": "string",
  677. "value": {
  678. "var": 1
  679. }
  680. }
  681. ]
  682. }
  683. },
  684. {
  685. "pos": {
  686. "x": 6,
  687. "y": 0
  688. },
  689. "opcode": {
  690. "id": "test_call",
  691. "parameters": [
  692. {
  693. "type": "string",
  694. "value": {
  695. "v": "Jump"
  696. }
  697. }
  698. ]
  699. }
  700. },
  701. {
  702. "pos": {
  703. "x": 10,
  704. "y": 4
  705. },
  706. "opcode": {
  707. "id": "do_settoken",
  708. "primary": "D",
  709. "parameters": [
  710. {
  711. "type": "integer",
  712. "value": {
  713. "v": 4
  714. }
  715. }
  716. ]
  717. }
  718. },
  719. {
  720. "pos": {
  721. "x": 10,
  722. "y": 5
  723. },
  724. "opcode": {
  725. "id": "eval_random",
  726. "primary": "D",
  727. "parameters": [
  728. {
  729. "type": "integer",
  730. "value": {
  731. "v": 0
  732. }
  733. },
  734. {
  735. "type": "integer",
  736. "value": {
  737. "v": 9
  738. }
  739. }
  740. ]
  741. }
  742. },
  743. {
  744. "pos": {
  745. "x": 4,
  746. "y": 0
  747. },
  748. "opcode": {
  749. "id": "do_setvar",
  750. "primary": "R",
  751. "parameters": [
  752. {
  753. "type": "integer",
  754. "value": {
  755. "v": 1
  756. }
  757. }
  758. ]
  759. }
  760. },
  761. {
  762. "pos": {
  763. "x": 6,
  764. "y": 2
  765. },
  766. "opcode": {
  767. "id": "test_call",
  768. "parameters": [
  769. {
  770. "type": "string",
  771. "value": {
  772. "v": "Jump"
  773. }
  774. }
  775. ]
  776. }
  777. },
  778. {
  779. "pos": {
  780. "x": 10,
  781. "y": 6
  782. },
  783. "opcode": {
  784. "id": "do_setvar",
  785. "primary": "D",
  786. "parameters": [
  787. {
  788. "type": "integer",
  789. "value": {
  790. "v": 0
  791. }
  792. }
  793. ]
  794. }
  795. },
  796. {
  797. "pos": {
  798. "x": 10,
  799. "y": 7
  800. },
  801. "opcode": {
  802. "id": "eval_gettoken",
  803. "primary": "D",
  804. "parameters": [
  805. {
  806. "type": "integer",
  807. "value": {
  808. "v": 4
  809. }
  810. }
  811. ]
  812. }
  813. },
  814. {
  815. "pos": {
  816. "x": 2,
  817. "y": 0
  818. },
  819. "opcode": {
  820. "id": "do_setvar",
  821. "primary": "R",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "value": {
  826. "v": 0
  827. }
  828. }
  829. ]
  830. }
  831. },
  832. {
  833. "pos": {
  834. "x": 4,
  835. "y": 2
  836. },
  837. "opcode": {
  838. "id": "do_setvar",
  839. "primary": "R",
  840. "parameters": [
  841. {
  842. "type": "integer",
  843. "value": {
  844. "v": 1
  845. }
  846. }
  847. ]
  848. }
  849. },
  850. {
  851. "pos": {
  852. "x": 10,
  853. "y": 8
  854. },
  855. "opcode": {
  856. "id": "do_concat",
  857. "primary": "D",
  858. "parameters": [
  859. {
  860. "type": "string",
  861. "value": {
  862. "fun": "last_str"
  863. }
  864. },
  865. {
  866. "type": "string",
  867. "value": {
  868. "v": "..R"
  869. }
  870. }
  871. ]
  872. }
  873. },
  874. {
  875. "pos": {
  876. "x": 6,
  877. "y": 5
  878. },
  879. "opcode": {
  880. "id": "test_call",
  881. "parameters": [
  882. {
  883. "type": "string",
  884. "value": {
  885. "v": "Jump"
  886. }
  887. }
  888. ]
  889. }
  890. },
  891. {
  892. "pos": {
  893. "x": 10,
  894. "y": 9
  895. },
  896. "opcode": {
  897. "id": "do_concat",
  898. "primary": "L",
  899. "parameters": [
  900. {
  901. "type": "string",
  902. "value": {
  903. "fun": "last_str"
  904. }
  905. },
  906. {
  907. "type": "string",
  908. "value": {
  909. "var": 0
  910. }
  911. }
  912. ]
  913. }
  914. }
  915. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement