diff options
author | Devine Lu Linvega <[email protected]> | 2018-12-14 09:43:38 +1200 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2018-12-14 09:43:38 +1200 |
commit | 615735c0f5ca3a53fddd343956c723d3d9f07129 (patch) | |
tree | e5c44f0ac3cebb6b3c97bca57bc513d561f1d188 | |
parent | ad332412a2dd9f333bda049000b01c3c58ce8493 (diff) | |
download | Orca-615735c0f5ca3a53fddd343956c723d3d9f07129.tar.gz Orca-615735c0f5ca3a53fddd343956c723d3d9f07129.zip |
Final forms of X G P ?
-rw-r--r-- | DESIGN.md | 68 | ||||
-rw-r--r-- | desktop/core/library/g.js | 4 | ||||
-rw-r--r-- | desktop/core/library/p.js | 4 | ||||
-rw-r--r-- | desktop/core/library/x.js | 6 |
4 files changed, 35 insertions, 47 deletions
@@ -4,11 +4,11 @@ | ---------- | ----------- | Directions | N S E W Z | Math | A I M R -| Logic | F | Timers | C D | Writers | G P X | Readers | O Q T | Jumpers | J Y +| Logic | F | Misc | B H K L U V | Special | * ; : ! # @@ -21,39 +21,39 @@ ## Attributes -| ID# | Glyph | Rating | Stable | Idle | Outputs -| --- | ----- | ------ | ------ | ------- | ------- -| 10 | A | +++++ | X | | Any -| 11 | B | ? | | | * -| 12 | C | +++++ | X | | Any -| 13 | D | +++++ | X | | * -| 14 | E | +++++ | X | | -| 15 | F | +++++ | X | | * -| 16 | G | ++++ | X | X | Any - Multi - Unlocked -| 17 | H | +++++ | X | | Any -| 18 | I | +++++ | X | | Any -| 19 | J | +++ | X | | Any -| 20 | K | ? | X | | -| 21 | L | ++ | | | -| 22 | M | +++++ | X | | Any -| 23 | N | +++++ | X | | -| 24 | O | ++++ | X | | Any -| 25 | P | ++++ | X | X | Any - Unlocked -| 26 | Q | ++++ | X | | Any - Multi -| 27 | R | +++++ | X | | Any -| 28 | S | +++++ | X | | -| 29 | T | ++++ | X | | Any -| 30 | U | +++++ | X | | -| 31 | V | ? | | | ? -| 32 | W | +++++ | X | | -| 33 | X | ++++ | X | X | Any - Unlocked -| 34 | Y | +++ | X | | Any -| 35 | Z | ? | | | -| 36 | * | +++++ | X | | -| 37 | # | +++++ | X | | -| 38 | ; | +++++ | X | X | -| 39 | : | +++++ | X | X | -| 40 | ! | +++++ | X | | * +| ID# | Glyph | Rating | Stable | Outputs +| --- | ----- | ------ | ------ | ------- +| 10 | A | +++++ | X | Any +| 11 | B | ? | | * +| 12 | C | +++++ | X | Any +| 13 | D | +++++ | X | * +| 14 | E | +++++ | X | +| 15 | F | +++++ | X | * +| 16 | G | +++++ | X | Any - Multi - Unlocked +| 17 | H | +++++ | X | Any +| 18 | I | +++++ | X | Any +| 19 | J | +++ | X | Any +| 20 | K | ? | X | +| 21 | L | ++ | | +| 22 | M | +++++ | X | Any +| 23 | N | +++++ | X | +| 24 | O | +++++ | X | Any +| 25 | P | +++++ | X | Any - Unlocked +| 26 | Q | +++++ | X | Any - Multi +| 27 | R | +++++ | X | Any +| 28 | S | +++++ | X | +| 29 | T | +++++ | X | Any +| 30 | U | +++++ | X | +| 31 | V | ? | | ? +| 32 | W | +++++ | X | +| 33 | X | +++++ | X | Any - Unlocked +| 34 | Y | ++++ | X | Any +| 35 | Z | ? | | +| 36 | * | +++++ | X | +| 37 | # | +++++ | X | +| 38 | ; | +++++ | X | +| 39 | : | +++++ | X | +| 40 | ! | +++++ | X | * ## Ideas diff --git a/desktop/core/library/g.js b/desktop/core/library/g.js index 4d0cbf3..8fece12 100644 --- a/desktop/core/library/g.js +++ b/desktop/core/library/g.js @@ -25,10 +25,6 @@ function OperatorG (orca, x, y, passive) { } this.run = function () { - if (!this.bang()) { return } - - this.draw = false - // Read let str = '' for (const id in this.ports.input) { diff --git a/desktop/core/library/p.js b/desktop/core/library/p.js index cf2856b..932230f 100644 --- a/desktop/core/library/p.js +++ b/desktop/core/library/p.js @@ -23,10 +23,6 @@ function OperatorP (orca, x, y, passive) { } this.run = function () { - if (!this.bang()) { return } - - this.draw = false - const res = this.listen(this.ports.input.val) this.output(`${res}`) } diff --git a/desktop/core/library/x.js b/desktop/core/library/x.js index 784f494..9449461 100644 --- a/desktop/core/library/x.js +++ b/desktop/core/library/x.js @@ -3,7 +3,7 @@ const Operator = require('../operator') function OperatorX (orca, x, y, passive) { - Operator.call(this, orca, x, y, 'x', true) + Operator.call(this, orca, x, y, 'x', passive) this.name = 'teleport' this.info = 'Writes a distant operator with offset.' @@ -20,10 +20,6 @@ function OperatorX (orca, x, y, passive) { } this.run = function () { - if (!this.bang()) { return } - - this.draw = false - const res = this.listen(this.ports.input.val) this.output(`${res}`) } |