|
| 1 | +{ |
| 2 | + "disk_is_present": { |
| 3 | + "message0": "Is disk %1 present?", |
| 4 | + "args0": [ |
| 5 | + { |
| 6 | + "type": "field_dropdown", |
| 7 | + "name": "SIDE", |
| 8 | + "options": [ |
| 9 | + ["Top", "top"], |
| 10 | + ["Bottom", "bottom"], |
| 11 | + ["Left", "left"], |
| 12 | + ["Right", "right"], |
| 13 | + ["Front", "front"], |
| 14 | + ["Back", "back"] |
| 15 | + ] |
| 16 | + } |
| 17 | + ], |
| 18 | + "output": "Boolean", |
| 19 | + "colour": 160, |
| 20 | + "tooltip": "Check if any item is present in the disk drive" |
| 21 | + }, |
| 22 | + "disk_get_label": { |
| 23 | + "message0": "get label disk %1", |
| 24 | + "args0": [ |
| 25 | + { |
| 26 | + "type": "field_dropdown", |
| 27 | + "name": "SIDE", |
| 28 | + "options": [ |
| 29 | + ["Top", "top"], |
| 30 | + ["Bottom", "bottom"], |
| 31 | + ["Left", "left"], |
| 32 | + ["Right", "right"], |
| 33 | + ["Front", "front"], |
| 34 | + ["Back", "back"] |
| 35 | + ] |
| 36 | + } |
| 37 | + ], |
| 38 | + "output": "String", |
| 39 | + "colour": 160, |
| 40 | + "tooltip": "Get the label of the disk in the drive" |
| 41 | + }, |
| 42 | + "disk_set_label": { |
| 43 | + "message0": "set label disk %1 to %2", |
| 44 | + "args0": [ |
| 45 | + { |
| 46 | + "type": "field_dropdown", |
| 47 | + "name": "SIDE", |
| 48 | + "options": [ |
| 49 | + ["Top", "top"], |
| 50 | + ["Bottom", "bottom"], |
| 51 | + ["Left", "left"], |
| 52 | + ["Right", "right"], |
| 53 | + ["Front", "front"], |
| 54 | + ["Back", "back"] |
| 55 | + ] |
| 56 | + }, |
| 57 | + { |
| 58 | + "type": "input_value", |
| 59 | + "name": "LABEL", |
| 60 | + "check": "String" |
| 61 | + } |
| 62 | + ], |
| 63 | + "previousStatement": null, |
| 64 | + "nextStatement": null, |
| 65 | + "colour": 160, |
| 66 | + "tooltip": "Set the label of the disk in the drive" |
| 67 | + }, |
| 68 | + "disk_has_data": { |
| 69 | + "message0": "Is disk %1 have data?", |
| 70 | + "args0": [ |
| 71 | + { |
| 72 | + "type": "field_dropdown", |
| 73 | + "name": "SIDE", |
| 74 | + "options": [ |
| 75 | + ["Top", "top"], |
| 76 | + ["Bottom", "bottom"], |
| 77 | + ["Left", "left"], |
| 78 | + ["Right", "right"], |
| 79 | + ["Front", "front"], |
| 80 | + ["Back", "back"] |
| 81 | + ] |
| 82 | + } |
| 83 | + ], |
| 84 | + "output": "Boolean", |
| 85 | + "colour": 160, |
| 86 | + "tooltip": "Check if the disk has data" |
| 87 | + }, |
| 88 | + "disk_get_mount_path": { |
| 89 | + "message0": "get mount path of disk %1", |
| 90 | + "args0": [ |
| 91 | + { |
| 92 | + "type": "field_dropdown", |
| 93 | + "name": "SIDE", |
| 94 | + "options": [ |
| 95 | + ["Top", "top"], |
| 96 | + ["Bottom", "bottom"], |
| 97 | + ["Left", "left"], |
| 98 | + ["Right", "right"], |
| 99 | + ["Front", "front"], |
| 100 | + ["Back", "back"] |
| 101 | + ] |
| 102 | + } |
| 103 | + ], |
| 104 | + "output": "String", |
| 105 | + "colour": 160, |
| 106 | + "tooltip": "Get the mount path of the disk" |
| 107 | + }, |
| 108 | + "disk_has_audio": { |
| 109 | + "message0": "Is disk %1 have audio?", |
| 110 | + "args0": [ |
| 111 | + { |
| 112 | + "type": "field_dropdown", |
| 113 | + "name": "SIDE", |
| 114 | + "options": [ |
| 115 | + ["Top", "top"], |
| 116 | + ["Bottom", "bottom"], |
| 117 | + ["Left", "left"], |
| 118 | + ["Right", "right"], |
| 119 | + ["Front", "front"], |
| 120 | + ["Back", "back"] |
| 121 | + ] |
| 122 | + } |
| 123 | + ], |
| 124 | + "output": "Boolean", |
| 125 | + "colour": 160, |
| 126 | + "tooltip": "Check if the disk has audio" |
| 127 | + }, |
| 128 | + "disk_get_audio_title": { |
| 129 | + "message0": "get audio title of disk %1", |
| 130 | + "args0": [ |
| 131 | + { |
| 132 | + "type": "field_dropdown", |
| 133 | + "name": "SIDE", |
| 134 | + "options": [ |
| 135 | + ["Top", "top"], |
| 136 | + ["Bottom", "bottom"], |
| 137 | + ["Left", "left"], |
| 138 | + ["Right", "right"], |
| 139 | + ["Front", "front"], |
| 140 | + ["Back", "back"] |
| 141 | + ] |
| 142 | + } |
| 143 | + ], |
| 144 | + "output": ["String", "Boolean"], |
| 145 | + "colour": 160, |
| 146 | + "tooltip": "Get the title of the audio track" |
| 147 | + }, |
| 148 | + "disk_play_audio": { |
| 149 | + "message0": "play audio disk %1", |
| 150 | + "args0": [ |
| 151 | + { |
| 152 | + "type": "field_dropdown", |
| 153 | + "name": "SIDE", |
| 154 | + "options": [ |
| 155 | + ["Top", "top"], |
| 156 | + ["Bottom", "bottom"], |
| 157 | + ["Left", "left"], |
| 158 | + ["Right", "right"], |
| 159 | + ["Front", "front"], |
| 160 | + ["Back", "back"] |
| 161 | + ] |
| 162 | + } |
| 163 | + ], |
| 164 | + "previousStatement": null, |
| 165 | + "nextStatement": null, |
| 166 | + "colour": 160, |
| 167 | + "tooltip": "Play the audio track on the disk" |
| 168 | + }, |
| 169 | + "disk_stop_audio": { |
| 170 | + "message0": "stop audio on %1", |
| 171 | + "args0": [ |
| 172 | + { |
| 173 | + "type": "field_dropdown", |
| 174 | + "name": "SIDE", |
| 175 | + "options": [ |
| 176 | + ["Top", "top"], |
| 177 | + ["Bottom", "bottom"], |
| 178 | + ["Left", "left"], |
| 179 | + ["Right", "right"], |
| 180 | + ["Front", "front"], |
| 181 | + ["Back", "back"] |
| 182 | + ] |
| 183 | + } |
| 184 | + ], |
| 185 | + "previousStatement": null, |
| 186 | + "nextStatement": null, |
| 187 | + "colour": 160, |
| 188 | + "tooltip": "Stop the audio track on the disk" |
| 189 | + }, |
| 190 | + "disk_eject": { |
| 191 | + "message0": "eject disk %1", |
| 192 | + "args0": [ |
| 193 | + { |
| 194 | + "type": "field_dropdown", |
| 195 | + "name": "SIDE", |
| 196 | + "options": [ |
| 197 | + ["Top", "top"], |
| 198 | + ["Bottom", "bottom"], |
| 199 | + ["Left", "left"], |
| 200 | + ["Right", "right"], |
| 201 | + ["Front", "front"], |
| 202 | + ["Back", "back"] |
| 203 | + ] |
| 204 | + } |
| 205 | + ], |
| 206 | + "previousStatement": null, |
| 207 | + "nextStatement": null, |
| 208 | + "colour": 160, |
| 209 | + "tooltip": "Eject the disk from the drive", |
| 210 | + "helpUrl": "" |
| 211 | + }, |
| 212 | + "disk_get_id": { |
| 213 | + "message0": "get ID of disk %1", |
| 214 | + "args0": [ |
| 215 | + { |
| 216 | + "type": "field_dropdown", |
| 217 | + "name": "SIDE", |
| 218 | + "options": [ |
| 219 | + ["Top", "top"], |
| 220 | + ["Bottom", "bottom"], |
| 221 | + ["Left", "left"], |
| 222 | + ["Right", "right"], |
| 223 | + ["Front", "front"], |
| 224 | + ["Back", "back"] |
| 225 | + ] |
| 226 | + } |
| 227 | + ], |
| 228 | + "output": "String", |
| 229 | + "colour": 160, |
| 230 | + "tooltip": "Get the unique ID of the disk" |
| 231 | + } |
| 232 | +} |
0 commit comments