aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-02-09 19:45:23 +0100
committersD <stoned@derpymail.org>2020-02-09 19:45:23 +0100
commiteedce27a6e5d15fdcbf43e10d45ebfd23598543f (patch)
treed1ac1dc259fac942cfa99d8b7eb579944187695a /webAO/client.js
parentdc969e44d2e31de3cd028822570ba06bcfc806cd (diff)
make guilty buttons work
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 505b165..8c423cf 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -2323,6 +2323,22 @@ export function initCE() {
window.initCE = initCE;
/**
+ * Declare the defendant not guilty
+ */
+export function notguilty() {
+ client.sendRT("judgeruling#0");
+}
+window.notguilty = notguilty;
+
+/**
+ * Declare the defendant not guilty
+ */
+export function guilty() {
+ client.sendRT("judgeruling#1");
+}
+window.guilty = guilty;
+
+/**
* Increment defense health point.
*/
export function addHPD() {