Advertisement
zaq_hack

Reactor Master v8

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