Advertisement
zaq_hack

Aggregate v2

Mar 14th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.65 KB | None | 0 0
  1. [
  2. {
  3. "pos": {
  4. "x": 2,
  5. "y": 2
  6. },
  7. "opcode": {
  8. "id": "do_setvar",
  9. "primary": "R",
  10. "parameters": [
  11. {
  12. "type": "integer",
  13. "value": {
  14. "v": 0
  15. }
  16. }
  17. ]
  18. }
  19. },
  20. {
  21. "pos": {
  22. "x": 4,
  23. "y": 4
  24. },
  25. "opcode": {
  26. "id": "eval_number",
  27. "primary": "R",
  28. "parameters": [
  29. {
  30. "type": "number",
  31. "value": {
  32. "var": 1
  33. }
  34. }
  35. ]
  36. }
  37. },
  38. {
  39. "pos": {
  40. "x": 6,
  41. "y": 6
  42. },
  43. "opcode": {
  44. "id": "do_stop",
  45. "parameters": []
  46. }
  47. },
  48. {
  49. "pos": {
  50. "x": 0,
  51. "y": 2
  52. },
  53. "opcode": {
  54. "id": "ev_timer",
  55. "primary": "R",
  56. "parameters": [
  57. {
  58. "type": "integer",
  59. "value": {
  60. "v": 190
  61. }
  62. },
  63. {
  64. "type": "boolean",
  65. "value": {
  66. "null": true
  67. }
  68. }
  69. ]
  70. }
  71. },
  72. {
  73. "pos": {
  74. "x": 0,
  75. "y": 4
  76. },
  77. "opcode": {
  78. "id": "ev_signal",
  79. "primary": "D",
  80. "parameters": [
  81. {
  82. "type": "string",
  83. "value": {
  84. "v": "Reset Agg"
  85. }
  86. },
  87. {
  88. "type": "boolean",
  89. "value": {
  90. "null": true
  91. }
  92. }
  93. ]
  94. }
  95. },
  96. {
  97. "pos": {
  98. "x": 0,
  99. "y": 5
  100. },
  101. "opcode": {
  102. "id": "eval_number",
  103. "primary": "D",
  104. "parameters": [
  105. {
  106. "type": "number",
  107. "value": {
  108. "v": 0
  109. }
  110. }
  111. ]
  112. }
  113. },
  114. {
  115. "pos": {
  116. "x": 0,
  117. "y": 6
  118. },
  119. "opcode": {
  120. "id": "do_settoken",
  121. "parameters": [
  122. {
  123. "type": "integer",
  124. "value": {
  125. "v": 0
  126. }
  127. }
  128. ]
  129. }
  130. },
  131. {
  132. "pos": {
  133. "x": 7,
  134. "y": 0
  135. },
  136. "opcode": {
  137. "id": "do_setvar",
  138. "primary": "L",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "value": {
  143. "v": 0
  144. }
  145. }
  146. ]
  147. }
  148. },
  149. {
  150. "pos": {
  151. "x": 5,
  152. "y": 0
  153. },
  154. "opcode": {
  155. "id": "do_concat",
  156. "primary": "L",
  157. "parameters": [
  158. {
  159. "type": "string",
  160. "value": {
  161. "fun": "last_str"
  162. }
  163. },
  164. {
  165. "type": "string",
  166. "value": {
  167. "var": 1
  168. }
  169. }
  170. ]
  171. }
  172. },
  173. {
  174. "pos": {
  175. "x": 7,
  176. "y": 2
  177. },
  178. "opcode": {
  179. "id": "do_add_numbers",
  180. "primary": "R",
  181. "parameters": [
  182. {
  183. "type": "number",
  184. "value": {
  185. "fun": "last_number"
  186. }
  187. },
  188. {
  189. "type": "number",
  190. "value": {
  191. "var": 1
  192. }
  193. }
  194. ]
  195. }
  196. },
  197. {
  198. "pos": {
  199. "x": 5,
  200. "y": 2
  201. },
  202. "opcode": {
  203. "id": "do_fetchitems",
  204. "primary": "R",
  205. "parameters": [
  206. {
  207. "type": "inventory",
  208. "value": {
  209. "side": "up",
  210. "intside": "up",
  211. "node": "T001"
  212. }
  213. },
  214. {
  215. "type": "integer",
  216. "value": {
  217. "var": 0
  218. }
  219. },
  220. {
  221. "type": "item",
  222. "value": {
  223. "null": true
  224. }
  225. },
  226. {
  227. "type": "integer",
  228. "value": {
  229. "null": true
  230. }
  231. },
  232. {
  233. "type": "integer",
  234. "value": {
  235. "v": 2
  236. }
  237. },
  238. {
  239. "type": "boolean",
  240. "value": {
  241. "null": true
  242. }
  243. },
  244. {
  245. "type": "boolean",
  246. "value": {
  247. "null": true
  248. }
  249. }
  250. ]
  251. }
  252. },
  253. {
  254. "pos": {
  255. "x": 7,
  256. "y": 4
  257. },
  258. "opcode": {
  259. "id": "do_multiply_long",
  260. "primary": "R",
  261. "parameters": [
  262. {
  263. "type": "number",
  264. "value": {
  265. "var": 1
  266. }
  267. },
  268. {
  269. "type": "number",
  270. "value": {
  271. "v": 100
  272. }
  273. }
  274. ]
  275. }
  276. },
  277. {
  278. "pos": {
  279. "x": 3,
  280. "y": 2
  281. },
  282. "opcode": {
  283. "id": "do_setvar",
  284. "primary": "R",
  285. "parameters": [
  286. {
  287. "type": "integer",
  288. "value": {
  289. "v": 1
  290. }
  291. }
  292. ]
  293. }
  294. },
  295. {
  296. "pos": {
  297. "x": 5,
  298. "y": 4
  299. },
  300. "opcode": {
  301. "id": "do_settoken",
  302. "primary": "R",
  303. "parameters": [
  304. {
  305. "type": "integer",
  306. "value": {
  307. "v": 0
  308. }
  309. }
  310. ]
  311. }
  312. },
  313. {
  314. "pos": {
  315. "x": 7,
  316. "y": 6
  317. },
  318. "opcode": {
  319. "id": "do_log",
  320. "primary": "L",
  321. "parameters": [
  322. {
  323. "type": "string",
  324. "value": {
  325. "v": "-----"
  326. }
  327. }
  328. ]
  329. }
  330. },
  331. {
  332. "pos": {
  333. "x": 1,
  334. "y": 2
  335. },
  336. "opcode": {
  337. "id": "eval_number",
  338. "primary": "R",
  339. "parameters": [
  340. {
  341. "type": "number",
  342. "value": {
  343. "v": 0
  344. }
  345. }
  346. ]
  347. }
  348. },
  349. {
  350. "pos": {
  351. "x": 1,
  352. "y": 5
  353. },
  354. "opcode": {
  355. "id": "ev_message",
  356. "primary": "L",
  357. "parameters": [
  358. {
  359. "type": "string",
  360. "value": {
  361. "v": "Reset Agg"
  362. }
  363. },
  364. {
  365. "type": "boolean",
  366. "value": {
  367. "null": true
  368. }
  369. }
  370. ]
  371. }
  372. },
  373. {
  374. "pos": {
  375. "x": 8,
  376. "y": 0
  377. },
  378. "opcode": {
  379. "id": "do_add_numbers",
  380. "primary": "L",
  381. "parameters": [
  382. {
  383. "type": "number",
  384. "value": {
  385. "var": 0
  386. }
  387. },
  388. {
  389. "type": "number",
  390. "value": {
  391. "v": 1
  392. }
  393. }
  394. ]
  395. }
  396. },
  397. {
  398. "pos": {
  399. "x": 8,
  400. "y": 1
  401. },
  402. "opcode": {
  403. "id": "do_pushitems",
  404. "primary": "U",
  405. "parameters": [
  406. {
  407. "type": "inventory",
  408. "value": {
  409. "side": "up",
  410. "intside": "up",
  411. "node": "T001"
  412. }
  413. },
  414. {
  415. "type": "integer",
  416. "value": {
  417. "var": 0
  418. }
  419. },
  420. {
  421. "type": "integer",
  422. "value": {
  423. "null": true
  424. }
  425. },
  426. {
  427. "type": "integer",
  428. "value": {
  429. "v": 2
  430. }
  431. }
  432. ]
  433. }
  434. },
  435. {
  436. "pos": {
  437. "x": 6,
  438. "y": 0
  439. },
  440. "opcode": {
  441. "id": "do_concat",
  442. "primary": "L",
  443. "parameters": [
  444. {
  445. "type": "string",
  446. "value": {
  447. "var": 0
  448. }
  449. },
  450. {
  451. "type": "string",
  452. "value": {
  453. "v": "~"
  454. }
  455. }
  456. ]
  457. }
  458. },
  459. {
  460. "pos": {
  461. "x": 8,
  462. "y": 2
  463. },
  464. "opcode": {
  465. "id": "do_setvar",
  466. "primary": "U",
  467. "parameters": [
  468. {
  469. "type": "integer",
  470. "value": {
  471. "v": 1
  472. }
  473. }
  474. ]
  475. }
  476. },
  477. {
  478. "pos": {
  479. "x": 4,
  480. "y": 0
  481. },
  482. "opcode": {
  483. "id": "do_log",
  484. "primary": "D",
  485. "parameters": [
  486. {
  487. "type": "string",
  488. "value": {
  489. "fun": "last_str"
  490. }
  491. }
  492. ]
  493. }
  494. },
  495. {
  496. "pos": {
  497. "x": 6,
  498. "y": 2
  499. },
  500. "opcode": {
  501. "id": "eval_gettoken",
  502. "primary": "R",
  503. "parameters": [
  504. {
  505. "type": "integer",
  506. "value": {
  507. "v": 2
  508. }
  509. }
  510. ]
  511. }
  512. },
  513. {
  514. "pos": {
  515. "x": 8,
  516. "y": 4
  517. },
  518. "opcode": {
  519. "id": "do_setvar",
  520. "primary": "D",
  521. "parameters": [
  522. {
  523. "type": "integer",
  524. "value": {
  525. "v": 1
  526. }
  527. }
  528. ]
  529. }
  530. },
  531. {
  532. "pos": {
  533. "x": 4,
  534. "y": 1
  535. },
  536. "opcode": {
  537. "id": "do_wire",
  538. "primary": "D",
  539. "parameters": []
  540. }
  541. },
  542. {
  543. "pos": {
  544. "x": 8,
  545. "y": 5
  546. },
  547. "opcode": {
  548. "id": "do_concat",
  549. "primary": "D",
  550. "parameters": [
  551. {
  552. "type": "string",
  553. "value": {
  554. "var": 1
  555. }
  556. },
  557. {
  558. "type": "string",
  559. "value": {
  560. "v": " RF/t"
  561. }
  562. }
  563. ]
  564. }
  565. },
  566. {
  567. "pos": {
  568. "x": 4,
  569. "y": 2
  570. },
  571. "opcode": {
  572. "id": "test_loop",
  573. "primary": "R",
  574. "secondary": "d",
  575. "parameters": [
  576. {
  577. "type": "integer",
  578. "value": {
  579. "v": 0
  580. }
  581. },
  582. {
  583. "type": "integer",
  584. "value": {
  585. "v": 7
  586. }
  587. }
  588. ]
  589. }
  590. },
  591. {
  592. "pos": {
  593. "x": 6,
  594. "y": 4
  595. },
  596. "opcode": {
  597. "id": "do_box",
  598. "primary": "R",
  599. "parameters": [
  600. {
  601. "type": "string",
  602. "value": {
  603. "v": "50"
  604. }
  605. },
  606. {
  607. "type": "tuple",
  608. "value": {
  609. "x": 10,
  610. "y": 88
  611. }
  612. },
  613. {
  614. "type": "tuple",
  615. "value": {
  616. "x": 108,
  617. "y": 32
  618. }
  619. },
  620. {
  621. "type": "integer",
  622. "value": {
  623. "v": -1
  624. }
  625. }
  626. ]
  627. }
  628. },
  629. {
  630. "pos": {
  631. "x": 8,
  632. "y": 6
  633. },
  634. "opcode": {
  635. "id": "do_text",
  636. "primary": "L",
  637. "parameters": [
  638. {
  639. "type": "string",
  640. "value": {
  641. "v": "52"
  642. }
  643. },
  644. {
  645. "type": "tuple",
  646. "value": {
  647. "x": 15,
  648. "y": 96
  649. }
  650. },
  651. {
  652. "type": "string",
  653. "value": {
  654. "fun": "last_str"
  655. }
  656. },
  657. {
  658. "type": "integer",
  659. "value": {
  660. "v": -1
  661. }
  662. }
  663. ]
  664. }
  665. },
  666. {
  667. "pos": {
  668. "x": 4,
  669. "y": 3
  670. },
  671. "opcode": {
  672. "id": "do_wire",
  673. "primary": "D",
  674. "parameters": []
  675. }
  676. }
  677. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement