Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "pos": {
- "x": 1,
- "y": 1
- },
- "opcode": {
- "id": "eval_getrf",
- "primary": "D",
- "parameters": [
- {
- "type": "inventory",
- "value": {
- "side": "up"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 2,
- "y": 2
- },
- "opcode": {
- "id": "eval_getmaxrf",
- "primary": "U",
- "parameters": [
- {
- "type": "inventory",
- "value": {
- "side": "up"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 0,
- "y": 1
- },
- "opcode": {
- "id": "ev_timer",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 40
- }
- },
- {
- "type": "boolean",
- "value": {
- "null": true
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 1,
- "y": 2
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 1
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "D",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "var": 0
- }
- },
- {
- "type": "number",
- "value": {
- "var": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 0
- },
- "opcode": {
- "id": "do_log",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "var": 3
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 1
- },
- "opcode": {
- "id": "test_gt_number",
- "primary": "R",
- "secondary": "d",
- "parameters": [
- {
- "type": "number",
- "value": {
- "var": 0
- }
- },
- {
- "type": "number",
- "value": {
- "var": 3
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 2
- },
- "opcode": {
- "id": "do_log",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "bat full"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 0
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "R",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 3
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 5,
- "y": 1
- },
- "opcode": {
- "id": "do_log",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "var": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 2
- },
- "opcode": {
- "id": "do_log",
- "primary": "D",
- "parameters": [
- {
- "type": "string",
- "value": {
- "v": "need energy"
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 7,
- "y": 3
- },
- "opcode": {
- "id": "do_rs",
- "parameters": [
- {
- "type": "side",
- "value": {
- "side": "south"
- }
- },
- {
- "type": "integer",
- "value": {
- "v": 0
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 0
- },
- "opcode": {
- "id": "do_subtract_numbers",
- "primary": "D",
- "parameters": [
- {
- "type": "number",
- "value": {
- "var": 1
- }
- },
- {
- "type": "number",
- "value": {
- "v": 1000
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 1
- },
- "opcode": {
- "id": "do_divide_numbers",
- "primary": "U",
- "parameters": [
- {
- "type": "number",
- "value": {
- "fun": "last_number"
- }
- },
- {
- "type": "number",
- "value": {
- "v": 100
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 6,
- "y": 3
- },
- "opcode": {
- "id": "do_rs",
- "parameters": [
- {
- "type": "side",
- "value": {
- "side": "south"
- }
- },
- {
- "type": "integer",
- "value": {
- "v": 15
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 2,
- "y": 0
- },
- "opcode": {
- "id": "do_log",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "var": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 1
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "D",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 2
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 4,
- "y": 2
- },
- "opcode": {
- "id": "do_multiply_long",
- "primary": "U",
- "parameters": [
- {
- "type": "number",
- "value": {
- "var": 1
- }
- },
- {
- "type": "number",
- "value": {
- "v": 30
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 2,
- "y": 1
- },
- "opcode": {
- "id": "do_setvar",
- "primary": "U",
- "parameters": [
- {
- "type": "integer",
- "value": {
- "v": 1
- }
- }
- ]
- }
- },
- {
- "pos": {
- "x": 3,
- "y": 2
- },
- "opcode": {
- "id": "do_log",
- "primary": "R",
- "parameters": [
- {
- "type": "string",
- "value": {
- "var": 2
- }
- }
- ]
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment