


适配 R.E.P.O. 4.0 版本的物品缩小搬运车。
作者 / Author: AngelcoMilk
Thunderstore: https://thunderstore.io/c/repo/p/AngelcoMilk/ShrinkCart/
GitHub 文档 / GitHub Docs: https://github.com/AngelcoMilk/ShrinkCart
ShrinkCart 会在物品放入 C.A.R.T / 购物车后自动缩小,方便搬运;物品真正离开购物车一段时间后会恢复原尺寸。缩放底层由 ScalerCore 负责,ShrinkCart 负责购物车触发、分类倍率、边缘防抖、恢复冷却、隐藏缩放闪光、商店/人物用品过滤、主机配置同步,以及可选敌人进车秒杀。
BepInEx-BepInExPack-5.4.2305Vippy-ScalerCore-0.6.0nickklmao-REPOConfig-1.2.6Thunderstore/r2modman 安装时会自动拉取依赖。手动安装时,请确保这些依赖和 ShrinkCart 安装在同一个 R.E.P.O. 配置文件中。
推荐房间里所有玩家都安装 ShrinkCart 和上述依赖。主机负责决定缩放倍率、商店/人物用品是否参与缩放、离车恢复时机和敌人进车秒杀;ScalerCore 负责把实际缩放状态同步给客户端。
v0.2.7 升级到 ScalerCore 0.6.0 后,缩放倍率、速度、恢复速度、隐藏闪光/声音都会由主机计算后通过 ScalerCore 同步。客户端本地配置与主机不同也不会改变缩放结果;推荐所有玩家都安装 ShrinkCart、ScalerCore 0.6.0 和 REPOConfig。
ValuableObject.volumeType 来判断贵重物大小分类。枪械、血包等商店购买类实用品默认不会被购物车缩小,避免影响战斗、治疗和工具使用。需要时可以在配置里打开“商店/人物用品也缩小”。

敌人球和 SurplusValuable 属于特殊物品分类,会使用单独的缩小倍率,方便和普通贵重物分开调整。

大型、宽型、高型、超高型贵重物会按各自分类倍率缩小,适合搬运原本难以放进车里的物品。

R.E.P.O. 新版本的特殊物品同样可以被识别并缩小,ShrinkCart 会优先使用游戏内置分类和自己的特殊物品规则。

配置界面由 REPOConfig 提供,主要配置项为中文:
倍率含义:0.4 表示目标尺寸为原尺寸的 40%。v0.2.8 默认值已按本地测试配置调整:缩小速度 0.6,放大速度 0.2,离车防抖延迟 0.5,恢复后重新缩小冷却 0.5,商店/人物用品缩放 false。
BepInEx/plugins/ShrinkCart/ShrinkCart.dllA shrink-hauler cart for R.E.P.O. 4.0.
Author: AngelcoMilk
Thunderstore: https://thunderstore.io/c/repo/p/AngelcoMilk/ShrinkCart/
GitHub Docs: https://github.com/AngelcoMilk/ShrinkCart
ShrinkCart automatically shrinks supported items placed inside a C.A.R.T / cart for easier hauling, then restores them after they truly leave the cart. ScalerCore handles the low-level scaling; ShrinkCart handles cart triggers, category factors, edge debounce, restore cooldowns, hidden cart-scale flashes and impact sounds, shop/player item filtering, host config sync, and optional enemy-in-cart instant kill.
BepInEx-BepInExPack-5.4.2305Vippy-ScalerCore-0.6.0nickklmao-REPOConfig-1.2.6All players in the room should install ShrinkCart and its dependencies. The host decides scale factors, shop/player item filtering, restore timing, and enemy-in-cart instant kill. ScalerCore syncs the actual scale state, while ShrinkCart syncs a host config snapshot for consistent client-side visuals.
With ScalerCore 0.6.0, the host's scale factor, shrink speed, restore speed, and quiet visual/audio options are sent through ScalerCore's multiplayer sync. Client-side config cannot override the host result.
ValuableObject.volumeType for valuable size categories.Guns, health packs, and similar shop utility items are not shrunk by default, so combat, healing, and tool use stay predictable. Enable "Shrink shop/player items" in config if you want them to use the fallback scale factor.

Enemy orbs and SurplusValuable use special categories and can be tuned separately from normal valuables.

Big, wide, tall, and very tall valuables shrink by category factor, making bulky items easier to haul in the cart.

Special items from newer R.E.P.O. versions are also supported through the game's built-in classification plus ShrinkCart's special-item rules.

Configuration is provided through REPOConfig. Scale factors are direct size multipliers: 0.4 means 40% of the original size. v0.2.8 defaults now match the local test config: shrink speed 0.6, restore speed 0.2, cart leave debounce 0.5, post-restore reshrink cooldown 0.5, shop/player item scaling false.
BepInEx/plugins/ShrinkCart/ShrinkCart.dll