From 6cab39e41d4377267ac4f803fe1b35210745df26 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Fri, 3 May 2024 17:34:42 -0500 Subject: [PATCH] Add another serial_code --- src/router/serial_code.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/router/serial_code.rs b/src/router/serial_code.rs index af83967..253b4ce 100644 --- a/src/router/serial_code.rs +++ b/src/router/serial_code.rs @@ -22,7 +22,9 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse { let item; if body["input_code"].to_string() == "SIF2REVIVALREAL!" { - item = global::gift_item_basic(1, 100000, 4, "You typed in code!!!!!!!!!", &mut user); + item = global::gift_item_basic(1, 100000, 4, "Another game died... This makes me sad :(", &mut user); + } else if body["input_code"].to_string() == "pweasegivegems11" { + item = global::gift_item_basic(1, 6000, 1, "Only because you asked...", &mut user); } else { let resp = object!{ "code": 0,