From e5f18ec25dd2de099e0dd1b61e5c0401e6f57b7f Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Tue, 28 May 2024 11:15:01 -0700 Subject: [PATCH] Update readme; update build to package server --- README.md | 17 +++++++++++------ UIFixes.csproj | 2 +- server/build.mjs | 6 ++++++ 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f0d3167..8db0e76 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,17 @@ Tarkov is full of annoyances but we can fix them! Sometimes. - Allow found in raid money and ammo automatically stack with non-found-in-raid items (stops containers making extra stacks!) - Option to synchronize stash scroll position everywhere your stash is visible -## Flea market ✨ -- ✨ Filter history remembers previous searches and filters, and adds a new BACK button to return to the previous results. -- ✨ Auto-expand categories when there's space to do so +## Traders +- ✨ Autoswitch between buy and sell when you click trader items or control-click your own items +- ✨ Insure items directly from the context menu +- ✨ Autoselect quest items when turning in + +## Flea market +- Filter history remembers previous searches and filters, and adds a new BACK button to return to the previous results. +- Auto-expand categories when there's space to do so - ✨ Locked trader item tooltip reveals which specific quest will unlock it -- ✨ Option to keep the Add Offer window open after placing your offer -- ✨ Set prices in the Add Offer window by clicking the min/avg/max market prices +- Option to keep the Add Offer window open after placing your offer +- Set prices in the Add Offer window by clicking the min/avg/max market prices ## Doors - Remove the unimplemented actions like "Bang & clear" that, lets face it, are never going to happen anyway. @@ -39,7 +44,7 @@ Tarkov is full of annoyances but we can fix them! Sometimes. - Auto-expand descriptions when possible (great for showing extra text from mods like Item Info) ## Hideout -- Remember search text when you leave hideout without closing (e.g. when searching for a recipe item on flea) +- Remember window state when you leave hideout without closing (e.g. when searching for a recipe item on flea) ## Mail - Skips "You can return to this later" warnings when not transferring all items (optional, defaults ON) diff --git a/UIFixes.csproj b/UIFixes.csproj index c9dc633..b15114e 100644 --- a/UIFixes.csproj +++ b/UIFixes.csproj @@ -67,6 +67,6 @@ - + diff --git a/server/build.mjs b/server/build.mjs index accc80c..deb7f40 100644 --- a/server/build.mjs +++ b/server/build.mjs @@ -121,6 +121,12 @@ async function main() { await fs.copy(projectDir, sptModPath); logger.log("success", `Files successfully copied to ${sptModPath}`); + // Copy output to parent dist folder + logger.log("info", "Copying output to SPT installation"); + const parentDistPath = path.join(currentDir, "../dist/user/mods/", projectShortName); + await fs.copy(projectDir, parentDistPath); + logger.log("success", `Files successfully copied to ${parentDistPath}`); + // Create a zip archive of the project files. logger.log("info", "Beginning folder compression..."); const zipFilePath = path.join(path.dirname(projectDir), `${projectName}.zip`);