Add another serial code

This commit is contained in:
Ethan O'Brien 2024-05-03 21:51:49 -05:00
parent b7e3bc68b6
commit f5d134979c

View file

@ -25,6 +25,8 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse {
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 if body["input_code"].to_string() == "sleepysleepyslep" {
item = global::gift_item_basic(15540001, 50, 3, "I am tired", &mut user);
} else {
let resp = object!{
"code": 0,