Advertisement
zaq_hack

Shield Pulse v2

Mar 25th, 2019
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. [
  2. {
  3. "pos": {
  4. "x": 0,
  5. "y": 0
  6. },
  7. "opcode": {
  8. "id": "ev_message",
  9. "primary": "R",
  10. "parameters": [
  11. {
  12. "type": "string",
  13. "value": {
  14. "v": "Shield Pulse"
  15. }
  16. },
  17. {
  18. "type": "boolean",
  19. "value": {
  20. "null": true
  21. }
  22. }
  23. ]
  24. }
  25. },
  26. {
  27. "pos": {
  28. "x": 1,
  29. "y": 1
  30. },
  31. "opcode": {
  32. "id": "ev_signal",
  33. "primary": "U",
  34. "parameters": [
  35. {
  36. "type": "string",
  37. "value": {
  38. "v": "Shield Pulse"
  39. }
  40. },
  41. {
  42. "type": "boolean",
  43. "value": {
  44. "null": true
  45. }
  46. }
  47. ]
  48. }
  49. },
  50. {
  51. "pos": {
  52. "x": 10,
  53. "y": 2
  54. },
  55. "opcode": {
  56. "id": "do_stop",
  57. "parameters": []
  58. }
  59. },
  60. {
  61. "pos": {
  62. "x": 7,
  63. "y": 0
  64. },
  65. "opcode": {
  66. "id": "do_stop",
  67. "parameters": []
  68. }
  69. },
  70. {
  71. "pos": {
  72. "x": 9,
  73. "y": 2
  74. },
  75. "opcode": {
  76. "id": "do_rs",
  77. "primary": "R",
  78. "parameters": [
  79. {
  80. "type": "side",
  81. "value": {
  82. "side": "east",
  83. "node": "In"
  84. }
  85. },
  86. {
  87. "type": "integer",
  88. "value": {
  89. "v": 0
  90. }
  91. }
  92. ]
  93. }
  94. },
  95. {
  96. "pos": {
  97. "x": 6,
  98. "y": 0
  99. },
  100. "opcode": {
  101. "id": "test_gt_number",
  102. "primary": "D",
  103. "secondary": "r",
  104. "parameters": [
  105. {
  106. "type": "number",
  107. "value": {
  108. "fun": "last_number"
  109. }
  110. },
  111. {
  112. "type": "number",
  113. "value": {
  114. "v": 0
  115. }
  116. }
  117. ]
  118. }
  119. },
  120. {
  121. "pos": {
  122. "x": 8,
  123. "y": 2
  124. },
  125. "opcode": {
  126. "id": "do_log",
  127. "primary": "R",
  128. "parameters": [
  129. {
  130. "type": "string",
  131. "value": {
  132. "v": "Shield energy reset"
  133. }
  134. }
  135. ]
  136. }
  137. },
  138. {
  139. "pos": {
  140. "x": 5,
  141. "y": 0
  142. },
  143. "opcode": {
  144. "id": "eval_gettoken",
  145. "primary": "R",
  146. "parameters": [
  147. {
  148. "type": "integer",
  149. "value": {
  150. "v": 0
  151. }
  152. }
  153. ]
  154. }
  155. },
  156. {
  157. "pos": {
  158. "x": 6,
  159. "y": 1
  160. },
  161. "opcode": {
  162. "id": "eval_number",
  163. "primary": "D",
  164. "parameters": [
  165. {
  166. "type": "number",
  167. "value": {
  168. "v": 0
  169. }
  170. }
  171. ]
  172. }
  173. },
  174. {
  175. "pos": {
  176. "x": 7,
  177. "y": 2
  178. },
  179. "opcode": {
  180. "id": "do_settoken",
  181. "primary": "R",
  182. "parameters": [
  183. {
  184. "type": "integer",
  185. "value": {
  186. "v": 2
  187. }
  188. }
  189. ]
  190. }
  191. },
  192. {
  193. "pos": {
  194. "x": 4,
  195. "y": 0
  196. },
  197. "opcode": {
  198. "id": "do_log",
  199. "primary": "R",
  200. "parameters": [
  201. {
  202. "type": "string",
  203. "value": {
  204. "v": "Shield Pulse End"
  205. }
  206. }
  207. ]
  208. }
  209. },
  210. {
  211. "pos": {
  212. "x": 6,
  213. "y": 2
  214. },
  215. "opcode": {
  216. "id": "do_settoken",
  217. "primary": "R",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "value": {
  222. "v": 0
  223. }
  224. }
  225. ]
  226. }
  227. },
  228. {
  229. "pos": {
  230. "x": 3,
  231. "y": 0
  232. },
  233. "opcode": {
  234. "id": "do_rs",
  235. "primary": "R",
  236. "parameters": [
  237. {
  238. "type": "side",
  239. "value": {
  240. "side": "west",
  241. "node": "In"
  242. }
  243. },
  244. {
  245. "type": "integer",
  246. "value": {
  247. "v": 0
  248. }
  249. }
  250. ]
  251. }
  252. },
  253. {
  254. "pos": {
  255. "x": 2,
  256. "y": 0
  257. },
  258. "opcode": {
  259. "id": "do_delay",
  260. "primary": "R",
  261. "parameters": [
  262. {
  263. "type": "integer",
  264. "value": {
  265. "v": 80
  266. }
  267. }
  268. ]
  269. }
  270. },
  271. {
  272. "pos": {
  273. "x": 1,
  274. "y": 0
  275. },
  276. "opcode": {
  277. "id": "do_rs",
  278. "primary": "R",
  279. "parameters": [
  280. {
  281. "type": "side",
  282. "value": {
  283. "side": "west",
  284. "node": "In"
  285. }
  286. },
  287. {
  288. "type": "integer",
  289. "value": {
  290. "v": 15
  291. }
  292. }
  293. ]
  294. }
  295. }
  296. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement