feat: implement awakening quest completion (/api/giveStartingGear) #977

Closed
neon wants to merge 3 commits from neon/SpaceNinjaServer:starting-gear into main
Contributor

closes #975

My repo was completely messed up, hadn't touched it in a while. anyways hope this works

closes #975 My repo was completely messed up, hadn't touched it in a while. anyways hope this works
neon added 1 commit 2025-02-20 02:47:37 -08:00
feat: implement giveStartingGear
All checks were successful
Build / build (22) (pull_request) Successful in 46s
Build / build (18) (pull_request) Successful in 1m1s
Build / build (20) (pull_request) Successful in 1m16s
7efcdfd9a3
Author
Contributor

checks passed :)

checks passed :)
OrdisPrime reviewed 2025-02-20 02:52:40 -08:00
@ -0,0 +20,4 @@
const dataJSON = getJSONfromString<IStartingGearClient>(String(req.body));
await addKeyChainItems(inventory, {
Owner

this should not be here, the game handles trigger items itself.

this should not be here, the game handles trigger items itself.
Author
Contributor

if youre talking about missionInventoryUpdate, then no. the awakening quest doesnt call that. this is why it needs to be done here.

if youre talking about missionInventoryUpdate, then no. the awakening quest doesnt call that. this is why it needs to be done here.
Owner

if youre talking about missionInventoryUpdate, then no. the awakening quest doesnt call that. this is why it needs to be done here.

What mission inventory update?
I marked the line addKeychain Items, this is not meant to be done here.

> if youre talking about missionInventoryUpdate, then no. the awakening quest doesnt call that. this is why it needs to be done here. What mission inventory update? I marked the line addKeychain Items, this is not meant to be done here.
Author
Contributor

Where else would u do it?

Where else would u do it?
Owner

Not at all, because, as I said "the game handles trigger items itself."

Not at all, because, as I said "the game handles trigger items itself."
Author
Contributor

try it without but it didnt work for me

try it without but it didnt work for me
Owner

use the game supplied values for creating inventory items.

use the game supplied values for creating inventory items.
neon added 1 commit 2025-02-20 02:58:09 -08:00
moved
All checks were successful
Build / build (18) (pull_request) Successful in 1m0s
Build / build (22) (pull_request) Successful in 37s
Build / build (20) (pull_request) Successful in 1m4s
605905c880
OrdisPrime changed title from feat: implement awakening quest completion (/api/giveStartingGear) to WIP: feat: implement awakening quest completion (/api/giveStartingGear) 2025-02-20 03:00:58 -08:00
OrdisPrime added a new dependency 2025-02-20 03:03:08 -08:00
Author
Contributor

not sure what u mean by that. its working like this. it gives the Arsenal Segment which is required to start the next stage

not sure what u mean by that. its working like this. it gives the Arsenal Segment which is required to start the next stage
neon added 1 commit 2025-02-20 08:43:28 -08:00
add comments
All checks were successful
Build / build (18) (pull_request) Successful in 38s
Build / build (20) (pull_request) Successful in 1m2s
Build / build (22) (pull_request) Successful in 1m12s
6f388128ae
Author
Contributor

giveKeyChainTriggeredItems.php and giveKeyChainTriggeredMessage.php dont get called after completing the awakening so this is absolutely needed as it gives the arsenal segment which allows for further progression and I feel its better adding it through "addKeyChainItems" instead of directly through "addItem".
Anyways i added some comments, please check

giveKeyChainTriggeredItems.php and giveKeyChainTriggeredMessage.php dont get called after completing the awakening so this is absolutely needed as it gives the arsenal segment which allows for further progression and I feel its better adding it through "addKeyChainItems" instead of directly through "addItem". Anyways i added some comments, please check
OrdisPrime changed title from WIP: feat: implement awakening quest completion (/api/giveStartingGear) to feat: implement awakening quest completion (/api/giveStartingGear) 2025-02-21 08:47:48 -08:00
Owner

I appreciate your effort, however I self-assigned the issue to me and had some code already, so I finished my code. I used your code to check against mine, so it was still helpful. Thanks :)

I appreciate your effort, however I self-assigned the issue to me and had some code already, so I finished my code. I used your code to check against mine, so it was still helpful. Thanks :)
OrdisPrime removed a dependency 2025-02-21 08:48:30 -08:00
Owner

I appreciate your effort, however I self-assigned the issue to me and had some code already, so I finished my code. I used your code to check against mine, so it was still helpful. Thanks :)

I appreciate your effort, however I self-assigned the issue to me and had some code already, so I finished my code. I used your code to check against mine, so it was still helpful. Thanks :)
OrdisPrime closed this pull request 2025-02-21 08:48:39 -08:00
All checks were successful
Build / build (18) (pull_request) Successful in 38s
Build / build (20) (pull_request) Successful in 1m2s
Build / build (22) (pull_request) Successful in 1m12s

Pull request closed

Sign in to join this conversation.
No description provided.