Skip to content

Commit

Permalink
v6 - Exfils overhaul (SPT 3.10.x) (#51)
Browse files Browse the repository at this point in the history
⚠️ Note: The version of SPT should be >= 3.10.3

it resolves #59  
it resolves #17 
it resolves #19
it resolves #10 
it resolves #30
it resolves #27 
it resolves #69 

# Changes

## Configs
- The Narcotic's config has been promoted to be the default
configuration in PTT version 6
- templating system for exfils tooltips (check the default config to see
how it works, I'll try to provide a documentation with the v6 release)
- unified player spawnpoints config -> shared_player_spawnpoints.json
(check the DevilFlippy config to see how you can add you own custom
spawnpoints without editing the shared json file)

## Exfils
- Exfils overhaul! 🔥now you can choose a destination between several
offraid positions or transits if configured
- PTT TRANSITS!🔥you can give it a try with the default config to see how
it behaves, I'll add a custom transits example config in the future
- custom ptt exfils tooltips🔥(offraid position, maps, traders) 
- basic support of vanilla transits (disabled by default in the config)
- exfils and offraid position can be renamed for all languages (please
note that the old Tooltips.json files are no longer supported)
- Factory: added "Courtyard  gate" exfil
- Woods: added "Power Line Passage" exfil
- Woods: "Factory Gate (Co-Op)" changed to "Friendship Bridge (Co-Op)"
- `vanilla_exfils_requirements` is no longer supported (at least for
now, I need to think about it)

## Profile changes
- secondary stash ids are now transformed into MongoId. (every PTT ids
start with a `deadbeef` prefix in order to help during debug phases)

## Traders
- locked traders are now hidden (configurable from F12 BepInEx menu)
- fix id for most of existing supported traders.
- add several 3.10.x modded traders in the default config

## Other fixes
- fixed factory spawnpoints (thanks to GorillaSoup)
- fixed laboratory exfils
- fixed trains exfils (on reserve and shoreline)

# Remaining TODOs
- [x] feat(client): hide locked traders (+ BepInEx config)
- [x] fix broken spawn points for new Factory map
~fix broken extracts when playing as a scav~ (Won't fix)
- [x] fix broken FIR tweak (need to be re-implemented from scratch)
- [x] update `all-exfils.ts`
- [x] feat: support of vanilla transits
- [x] fix trader id: Painter
- [x] fix trader id: Priscilu
- [x] fix trader id: Legs the trader
- [x] fix trader id: Scorpion
- [x] fix trader id: Artem
- [x] fix trader id: HarryHideout
- [x] fix trader id: Lotus
- [x] added trader: Frostbite
- [x] change trader offraid position for HarryHideout to be
`BasementDescent` (should not be too close of the player hideout)
- [x] change how trader descriptions work (see #17)
- [x] default config: change current traders locations + french
traduction
- [x] feat: add trader "gunsmith" in default config
- [x] change `exfiltrations_config` to be grouped by map (+ config
analysis)
- [x] analysis: `offraid_positions.*.displayName` locales validity
(should be considered as an error if not valid)
- [x] analysis: `exfiltrations_config.*.displayName` locales validity
(should be considered as an error if not valid)
- [x] analysis: `extracts_prompt_template` locales validity (should be
considered as an error if not valid)
- [x] analysis: `transits_prompt_template` locales validity (should be
considered as an error if not valid)
- [x] analysis: `exfiltrations_config.*` check exfil name validity
(should be considered as an error if not valid)
- [x] analysis: warning when an exfiltrations_config is unused (because
the exfil is not used anywhere else in the config)
- [x] analysis: warning when a `offraid_positions` is missing
- [x] analysis: warning when a `offraid_positions` is declared but not
used in `exfiltrations`
- [x] support of json5
- [ ] ~auto-migration `.json` to `.json5`~ (I won't do that in the end)
- [x] `uninstall` procedure should be set via `UserConfig.jsonc`
- [x] remove `enabled` field
- [x] remove `bypass_unintall_procedure` field
- [x] config changes: unified `shared_player_spawnpoints.jsonc`
- [x] config changes: multi-lingual tooltips support (replacement for
Tooltips.json)
- [x] support of custom transits + multiple offraid position
- [x] custom prompt text for extract (added `extracts_prompt_template`
config property)
- [x] custom prompt text for transit (added `transits_prompt_template`
config property)
- [x] custom prompt confirmation step on extract/transit
- [x] Warn player on game start when IE_API is missing or outdated
- [x] Filter exfil prompts for sandbox/sandbox_high according to the
player level
- [x] Client: disable unused exfil points (to fix dynamic maps with too
much exfils)
- [ ] ~DevEx: #66 (nice to have)~
- [ ] ~create Examples/MinimumConfig~
- [x] move `ExampleOverrideByProfiles` into Examples dir
- [x] config analysis: Examples dir
- [ ] ~update documentations~
  • Loading branch information
guillaumearm authored Jan 13, 2025
2 parents fdecac5 + 6903200 commit f823067
Show file tree
Hide file tree
Showing 477 changed files with 61,147 additions and 34,197 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build and Test
on: [push, pull_request, pull_request_target]
on: [push]

jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@
/Trap-PathToTarkov*
/mod.zip
/configs/UserConfig.json

/PTT-Extracts/bin
/PTT-Extracts/obj
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/dist/
/src/*.js
/Trap-PathToTarkov-*
/PTT-Extracts/
/PTT-Plugin/
/PTT-Packets/
*.md
package-lock.json
118 changes: 59 additions & 59 deletions ALL_EXFILS.md

Large diffs are not rendered by default.

64 changes: 0 additions & 64 deletions PTT-Extracts/License.txt

This file was deleted.

35 changes: 0 additions & 35 deletions PTT-Extracts/PTTExtracts.csproj

This file was deleted.

122 changes: 0 additions & 122 deletions PTT-Extracts/Patch.cs

This file was deleted.

16 changes: 0 additions & 16 deletions PTT-Extracts/Plugin.cs

This file was deleted.

Loading

0 comments on commit f823067

Please sign in to comment.