From c55b24be160815f701e229bfa1bf141c6a93419d Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Sat, 4 May 2024 21:18:22 -0500 Subject: [PATCH] Add cool new serial code --- src/router/serial_code.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/router/serial_code.rs b/src/router/serial_code.rs index d5a28b5..15ddd98 100644 --- a/src/router/serial_code.rs +++ b/src/router/serial_code.rs @@ -43,6 +43,17 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse { itemz = array![items::gift_item_basic(15540001, 50, 3, "I am tired", &mut user)]; } else if body["input_code"].to_string() == "ilikeganyu!!!!!!" { itemz = array![items::gift_item_basic(16005003, 100, 3, "I need more primogems", &mut user)]; + } else if body["input_code"].to_string() == "ganuy" { + itemz = array![ + items::gift_item_basic(40010015, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(30010015, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(20010018, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(10040018, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(20050016, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(30070015, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(40030013, 1, 2, "I need more primogem!!!!!!", &mut user), + items::gift_item_basic(10070016, 1, 2, "I need more primogem!!!!!!", &mut user) + ]; } else if body["input_code"].to_string() == "hu tao" { itemz = array![ items::gift_item_basic(15500001, 10, 3, "Okay...............", &mut user),