Skip to content

Repository files navigation

AnyShip

简体中文 | English

允许在出货箱中出售任何物品,并支持垃圾桶回收。

功能

  • 出货任何物品:除了 exclude-items.json 中排除的物品外,所有物品均可放入出货箱
  • 最低获得金钱:出货时物品售价低于设定值时,仍按设定值结算
  • 垃圾桶回收增强:丢弃物品时可按垃圾桶等级获得回收金额,并可设置最低保底
  • GMCM 图形配置:安装 Generic Mod Config Menu 后可在游戏中直接设置
  • 排除列表:通过 exclude-items.json 灵活控制需要走游戏原始逻辑的物品(支持通配符 *)

安装

  1. 安装 SMAPI 4.0+
  2. 安装 Generic Mod Config Menu(可选,用于游戏内配置)
  3. 下载本模组的最新发布包
  4. 解压到 Stardew Valley/Mods/AnyShip 目录

配置

游戏内配置(需 GMCM)

选项 说明
Enable Mod 启用或禁用模组
Minimum Gold Received 出货时物品至少获得的金额(默认 1)
Enable Trash Can Refund 启用垃圾桶回收
Minimum Refund Amount 丢弃物品时至少获得的金额(0 = 遵循垃圾桶等级规则)
Apply Minimum at Level 0 允许在未升级垃圾桶(等级 0)时也应用最低保底

排除列表 (exclude-items.json)

在模组目录下的 exclude-items.json 文件中配置需要走游戏原始逻辑的物品,支持通配符:

[
  "(T)*",   // 排除所有工具
  "(W)*",   // 排除所有武器
  "(O)74"   // 排除五彩碎片
]

修改后执行 any_ship_reload 命令或重启游戏生效。

命令

  • any_ship_reload — 重新加载配置和排除列表

构建

需求

dotnet build

手动指定游戏安装目录:

dotnet build -c Release /p:GamePath="[GamePath]"

本地化翻译

参考 i18n 文件夹中已有的翻译,新建一个 json 语言文件。

兼容性

  • Stardew Valley 1.6+
  • SMAPI 4.0+
  • Generic Mod Config Menu(可选)

About

允许在出货箱中出售任何物品,并支持垃圾桶回收 | Allows selling any item in the shipping bin, with enhanced trash can refund mechanics

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages