VapuFastpit
Skips the pit stop wait and between-day transit, but keeps DaySummary and GameOver intact.
模組介紹 作者原文
VapuFastpit
A BepInEx mod for Gamble With Your Friends that removes the parts of the day-transition flow you have to sit through without actually adding any gameplay — while keeping the screens you genuinely want to see (DaySummary, GameOver) intact.
What it skips
- Pit stop / leave-casino countdown. The end-of-day trigger zone at the casino exit normally counts down for several seconds once all players are inside. This mod reduces that countdown to a fraction of a second and lets it fire as soon as one player is in the zone, so AFK or stuck teammates can't stall the day.
- Lose-scene pit jump. When you lose, the game loads LoseStateScene which contains an actual pit you have to walk to and drop into before the GameOver screen appears. This mod automatically triggers the same SceneSwitcher the pit would have triggered, so the GameOver flow starts on its own.
- GameOver result roll. The GameOver UI normally animates each line (title, day reached, per-player contributions, totals, ticket balance) with delays between segments. This mod feeds skip requests into the UI's own per-segment skip system so each phase completes instantly while still firing the callbacks that set the final values — you see the full result screen, just without the long buildup.
What it does NOT touch
- Mirror.NetworkManager.ServerChangeScene — scene transitions are unmodified, LoseStateScene still loads on a loss.
- SkipUI.SetSkippableForLocal — the DaySummary skip vote is not auto-cast, so the day-end summary screen behaves exactly as in vanilla.
- DaySummaryUI and GameManager.ShowDayStats() — the between-day summary is shown in full.
- EndingCutscene_Coinflip_Won, EndingCutscene_Coinflip_Lost, EndingCutscene_Debt_Paid — endgame cutscenes are unmodified.
- FollowUsSceneManager — the post-credits scene is unmodified.
Configuration
Settings are written to BepInEx/config/vapu.fastpit.cfg on first run.
| Section | Key | Default | Description |
| --- | --- | --- | --- |
| Pit Stop | CountdownSeconds | 0.2 | Replacement for AllPlayersTriggerZone.delayBeforeEvent. 0 makes the trigger fire instantly. |
| Pit Stop | TriggerOnAnyPlayerInZone | true | If true, the zone fires when at least one player is inside instead of requiring all of them. |
| GameOver | AutoSkipAnimation | true | If true, GameOverUI's animated phases auto-complete via its own skip mechanism. |
| GameOver | AutoJumpInPit | true | If true, the host server auto-invokes the LoseStateScene SceneSwitcher on scene load, so nobody has to physically jump in the pit. Host-only effect. |
| GameOver | AutoJumpDelaySeconds | 1.5 | Seconds to wait after LoseStateScene loads before auto-triggering the SceneSwitcher. Gives LoseInitializeRoutine and player spawn time to settle. |
Multiplayer
- The pit-stop countdown patch runs on the host (the trigger zone's logic only executes server-side after OnStartClient).
- The auto-jump-in-pit patch is gated by NetworkServer.active, so only the host invokes it. Clients without the mod still see the result because the host calls GameManager.ShowGameOverStats() → RpcPlayGameOverFeedback → GameOverUI.Show() on every client.
- The GameOver animation skip is local to each client. Install the mod on every machine that should see the fast version.
Requirements
- Gamble With Your Friends (Steam, Unity 6000.x, Mirror Networking)
- BepInEx 5.4.x (BepInExPack)
Compatibility
Verified against Steam build 24474336 (app 3892270). Every hook the mod uses was re-checked against
that build: the three patch targets still exist with the same signatures, all reflected private members
(_pendingSegmentSkips, delayBeforeEvent, colliderCheckInterval, checkCollider, _countdownRoutine,
_hasTriggered, _lastCheckTime) resolve, AllPlayersTriggerZone.CheckPlayers is unchanged from what the
prefix replaces, GameOverUI still drives its animation through WaitForSecondsOrSkip / ConsumeSkipRequest,
and SceneSwitcher still routes Lose into ShowGameOverStats().
Installation
Mod Manager
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: