mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Add another serial_code
This commit is contained in:
parent
4dde7bb2e3
commit
6cab39e41d
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue