feat: implement awakening quest completion (/api/giveStartingGear) #977
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "neon/SpaceNinjaServer:starting-gear"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #975
My repo was completely messed up, hadn't touched it in a while. anyways hope this works
checks passed :)
@ -0,0 +20,4 @@
const dataJSON = getJSONfromString<IStartingGearClient>(String(req.body));
await addKeyChainItems(inventory, {
this should not be here, the game handles trigger items itself.
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.
Where else would u do it?
Not at all, because, as I said "the game handles trigger items itself."
try it without but it didnt work for me
use the game supplied values for creating inventory items.
feat: implement awakening quest completion (/api/giveStartingGear)to WIP: feat: implement awakening quest completion (/api/giveStartingGear)not sure what u mean by that. its working like this. it gives the Arsenal Segment which is required to start the next stage
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
WIP: feat: implement awakening quest completion (/api/giveStartingGear)to feat: implement awakening quest completion (/api/giveStartingGear)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 :)
Pull request closed