Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "pos": {
- "x": 0,
- "y": 0
- },
- "opcode": {
- "id": "eval_rs",
- "primary": "R",
- "parameters": [
- {
- "type": "side",
- "value": {
- "side": "west"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 0,
- "y": 1
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "U",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 0,
- "y": 2
- },
- "opcode": {
- "id": "eval_rs",
- "primary": "R",
- "parameters": [
- {
- "type": "side",
- "value": {
- "side": "east"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 0,
- "y": 3
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "U",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 0,
- "y": 4
- },
- "opcode": {
- "id": "eval_gettoken",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 8
- },
- "opcode": {
- "id": "do_signal",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Report"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 0,
- "y": 5
- },
- "opcode": {
- "id": "ev_message",
- "primary": "U",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Master"
- }
- },
- {
- "type": "boolean",
- "value": {
- "null": true
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 9,
- "y": 1
- },
- "opcode": {
- "id": "do_message",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Shield Pulse"
- }
- },
- {
- "type": "integer",
- "value": {
- "v": 3
- }
- },
- {
- "type": "integer",
- "value": {
- "null": true
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 9,
- "y": 2
- },
- "opcode": {
- "id": "do_concat",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "CRITICAL"
- }
- },
- {
- "type": "string",
- "value": {
- "v": "~T"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 9,
- "y": 3
- },
- "opcode": {
- "id": "do_settoken",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 9,
- "y": 4
- },
- "opcode": {
- "id": "do_concat",
- "primary": "U",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "No Change"
- }
- },
- {
- "type": "string",
- "value": {
- "v": "~T"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 1
- },
- "opcode": {
- "id": "do_wire",
- "primary": "R",
- "parameters": []
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 3
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "L",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "fun": "last_number"
- }
- },
- {
- "type": "number",
- "value": {
- "v": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 1,
- "y": 0
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 3
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 4
- },
- "opcode": {
- "id": "do_signal",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Increase"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 1,
- "y": 1
- },
- "opcode": {
- "id": "eval_rs",
- "primary": "L",
- "parameters": [
- {
- "type": "side",
- "value": {
- "side": "south"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 5
- },
- "opcode": {
- "id": "do_concat",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Increase"
- }
- },
- {
- "type": "string",
- "value": {
- "v": "~T"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 1,
- "y": 2
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "U",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 6
- },
- "opcode": {
- "id": "do_settoken",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 1,
- "y": 3
- },
- "opcode": {
- "id": "eval_rs",
- "primary": "L",
- "parameters": [
- {
- "type": "side",
- "value": {
- "side": "north"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 1,
- "y": 4
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "U",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 5
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 10,
- "y": 3
- },
- "opcode": {
- "id": "do_signal",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Report"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 0
- },
- "opcode": {
- "id": "do_log",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Off or No Input"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 1
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "U",
- "secondary": "r",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 1
- }
- },
- {
- "type": "number",
- "value": {
- "var": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 3
- },
- "opcode": {
- "id": "eval_gettoken",
- "primary": "L",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 2,
- "y": 0
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "R",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 14
- }
- },
- {
- "type": "number",
- "value": {
- "var": 3
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 2,
- "y": 1
- },
- "opcode": {
- "id": "do_wire",
- "primary": "R",
- "parameters": []
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 6
- },
- "opcode": {
- "id": "eval_number",
- "primary": "R",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 0
- },
- "opcode": {
- "id": "do_signal",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Report"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 1
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "R",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 1
- }
- },
- {
- "type": "number",
- "value": {
- "var": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 2
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "R",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "var": 0
- }
- },
- {
- "type": "number",
- "value": {
- "var": 4
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 3
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "L",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "var": 4
- }
- },
- {
- "type": "number",
- "value": {
- "var": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 0
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "D",
- "secondary": "r",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 1
- }
- },
- {
- "type": "number",
- "value": {
- "var": 3
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 4
- },
- "opcode": {
- "id": "do_wire",
- "primary": "R",
- "parameters": []
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 1
- },
- "opcode": {
- "id": "eval_number",
- "primary": "R",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 11
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 6
- },
- "opcode": {
- "id": "do_settoken",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 3
- },
- "opcode": {
- "id": "do_concat",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Cooldown~"
- }
- },
- {
- "type": "string",
- "value": {
- "var": 4
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 4
- },
- "opcode": {
- "id": "do_concat",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "fun": "last_str"
- }
- },
- {
- "type": "string",
- "value": {
- "v": "~T"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 5
- },
- "opcode": {
- "id": "do_settoken",
- "primary": "D",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 6
- },
- "opcode": {
- "id": "eval_gettoken",
- "primary": "D",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 7
- },
- "opcode": {
- "id": "do_subtract_numbers",
- "primary": "D",
- "parameters": [
- {
- "type": "number",
- "value": {
- "fun": "last_number"
- }
- },
- {
- "type": "number",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 8
- },
- "opcode": {
- "id": "do_settoken",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 8,
- "y": 1
- },
- "opcode": {
- "id": "do_signal",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Critical"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 8,
- "y": 2
- },
- "opcode": {
- "id": "do_signal",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Decrease"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 8,
- "y": 3
- },
- "opcode": {
- "id": "do_concat",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Decrease"
- }
- },
- {
- "type": "string",
- "value": {
- "v": "~T"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 0
- },
- "opcode": {
- "id": "eval_number",
- "primary": "D",
- "parameters": [
- {
- "type": "number",
- "value": {
- "v": 12
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 8,
- "y": 4
- },
- "opcode": {
- "id": "do_message",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Update Flow"
- }
- },
- {
- "type": "integer",
- "value": {
- "v": 3
- }
- },
- {
- "type": "integer",
- "value": {
- "v": 5
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 1
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 4
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 8,
- "y": 6
- },
- "opcode": {
- "id": "do_signal",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "Report"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 3
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "L",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 4
- }
- }
- ]
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement