20 Commits

Author SHA1 Message Date
457663f14a fix: claim recipe response (#1106)
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (18) (push) Has been cancelled
Build / build (20) (push) Has been cancelled
Build / build (22) (push) Has been cancelled
Fixes #1105

The client already 'knows' the ItemCount was decremented so when we also say it in the response, it actually ends up causing the client to think the recipe was used twice.

Reviewed-on: #1106
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
2025-03-08 04:33:45 -08:00
caec5a6cbf feat: recipes that consume weapons (#1032)
All checks were successful
Build / build (18) (push) Successful in 39s
Build / build (22) (push) Successful in 50s
Build / build (20) (push) Successful in 57s
Build Docker image / docker (push) Successful in 32s
Closes #720

Reviewed-on: #1032
2025-02-28 06:47:34 -08:00
a5c45bb646 fix: consume a slot when item is crafted instead of bought via plat (#1029)
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (18) (push) Has been cancelled
Build / build (20) (push) Has been cancelled
Build / build (22) (push) Has been cancelled
Reviewed-on: #1029
2025-02-26 15:41:07 -08:00
d69cba6bef chore: reuse inventory in claimCompletedRecipeController (#999)
Some checks failed
Build / build (20) (push) Successful in 41s
Build / build (18) (push) Has been cancelled
Build / build (22) (push) Has been cancelled
Build Docker image / docker (push) Has been cancelled
Reviewed-on: #999
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
2025-02-24 05:27:50 -08:00
8b836020bf
chore: turn getJSONfromString into a template/generic function (#836) 2025-01-24 14:27:10 +01:00
a4c44e8bb0
chore: get rid of some unecessary conditionals (#835) 2025-01-20 12:21:39 +01:00
709c2a401b
feat: spectre loadouts (#719) 2025-01-06 01:21:37 +01:00
74ed098692
chore: do addItem on inventory document, not accountId (#699) 2025-01-04 00:25:09 +01:00
4756f54f40
chore: add middleware for error handling (#695) 2025-01-03 22:25:03 +01:00
16d98636e9
chore: updateCurrency with existing inventory instance (#674) 2024-12-31 01:41:29 +01:00
27af54d039 chore: fix concat of ObjectId to make eslint happy 2024-12-29 06:14:54 +01:00
987b05a334
chore: update express to v5 (#599) 2024-12-22 15:42:24 +01:00
ac6eaa2f4e
fix: Convert all Body to String Before Use (#382) 2024-06-24 12:37:28 +02:00
be5a271609
feat: handle costs of recipes (#329) 2024-06-19 10:32:16 +02:00
e8d7e17611
fix: not being able to purchase or craft some recipes (#314) 2024-06-17 16:41:02 +02:00
b08fff1906
feat: rushing recipes, refactor: addItem (#248) 2024-06-15 02:50:43 +02:00
e3f543d9be
improve: ensure 'npm run lint' passes without errors (#249) 2024-06-01 13:03:27 +02:00
6294a315a8
feat: properly implement nonce (#220) 2024-05-28 13:45:06 +02:00
9f0317fed2
chore: resolve various eslint complaints (#169) 2024-05-06 15:19:42 +02:00
8b50189fcf
Foundry 1 - Preliminary (#127) 2024-01-25 14:49:45 +01:00