From bf8f7d0fbff49264458b0dd15d9e6cec06a62b4e Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sat, 8 Dec 2018 10:04:27 +1200 Subject: Increased the limits of read/write to 24. --- desktop/core/library/l.js | 2 +- desktop/core/library/o.js | 4 ++-- desktop/core/library/p.js | 2 +- desktop/core/library/q.js | 2 +- desktop/core/library/t.js | 2 +- desktop/core/library/x.js | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/desktop/core/library/l.js b/desktop/core/library/l.js index 6441eb1..a4a1658 100644 --- a/desktop/core/library/l.js +++ b/desktop/core/library/l.js @@ -11,7 +11,7 @@ function OperatorL (orca, x, y, passive) { this.ports.haste.len = { x: -1, y: 0 } this.haste = function () { - this.len = clamp(this.listen(this.ports.haste.len, true), 1, 16) + this.len = clamp(this.listen(this.ports.haste.len, true), 1, 24) for (let x = 1; x <= this.len; x++) { orca.lock(this.x + x, this.y) diff --git a/desktop/core/library/o.js b/desktop/core/library/o.js index 41ad17f..be6f3cb 100644 --- a/desktop/core/library/o.js +++ b/desktop/core/library/o.js @@ -14,8 +14,8 @@ function OperatorO (orca, x, y, passive) { this.ports.output = { x: 0, y: 1 } this.haste = function () { - const x = clamp(this.listen(this.ports.haste.x, true) + 1, 1, 16) - const y = clamp(this.listen(this.ports.haste.y, true), 0, 16) + const x = clamp(this.listen(this.ports.haste.x, true) + 1, 1, 24) + const y = clamp(this.listen(this.ports.haste.y, true), 0, 24) this.ports.input.val = { x: x, y: y } } diff --git a/desktop/core/library/p.js b/desktop/core/library/p.js index 391a39f..f490303 100644 --- a/desktop/core/library/p.js +++ b/desktop/core/library/p.js @@ -14,7 +14,7 @@ function OperatorP (orca, x, y, passive) { this.ports.output = { x: 0, y: 1 } this.haste = function () { - this.len = clamp(this.listen(this.ports.haste.len, true), 1, 16) + this.len = clamp(this.listen(this.ports.haste.len, true), 1, 24) this.key = this.listen(this.ports.haste.key, true) for (let x = 0; x < this.len; x++) { orca.lock(this.x + x, this.y + 1) diff --git a/desktop/core/library/q.js b/desktop/core/library/q.js index 9586ab6..a526342 100644 --- a/desktop/core/library/q.js +++ b/desktop/core/library/q.js @@ -12,7 +12,7 @@ function OperatorQ (orca, x, y, passive) { this.ports.output = { x: 0, y: 1 } this.haste = function () { - this.len = clamp(this.listen(this.ports.haste.len, true), 1, 16) + this.len = clamp(this.listen(this.ports.haste.len, true), 1, 24) for (let x = 1; x <= this.len; x++) { orca.lock(this.x + x, this.y) } diff --git a/desktop/core/library/t.js b/desktop/core/library/t.js index 0c96c8b..074c0ef 100644 --- a/desktop/core/library/t.js +++ b/desktop/core/library/t.js @@ -14,7 +14,7 @@ function OperatorT (orca, x, y, passive) { this.ports.output = { x: 0, y: 1 } this.haste = function () { - this.len = clamp(this.listen(this.ports.haste.len, true), 1, 16) + this.len = clamp(this.listen(this.ports.haste.len, true), 1, 24) this.key = this.listen(this.ports.haste.key, true) for (let x = 1; x <= this.len; x++) { orca.lock(this.x + x, this.y) diff --git a/desktop/core/library/x.js b/desktop/core/library/x.js index d529ce2..9449461 100644 --- a/desktop/core/library/x.js +++ b/desktop/core/library/x.js @@ -14,8 +14,8 @@ function OperatorX (orca, x, y, passive) { this.ports.output = { x: 0, y: 1, unlock: true } this.haste = function () { - const x = clamp(this.listen(this.ports.haste.x, true), 0, 16) - const y = clamp(this.listen(this.ports.haste.y, true), 1, 16) + const x = clamp(this.listen(this.ports.haste.x, true), 0, 24) + const y = clamp(this.listen(this.ports.haste.y, true), 1, 24) this.ports.output = { x: x, y: y, unlock: true } } -- cgit v1.2.3