跳到正文

Loose Change

Villagers accept any mix of coins by total value and give you change back. Works with Create: Numismatics out of the box.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🪙 Loose Change

Villager trades that cost currency now work on total value, and you get change back.

In vanilla, a trade priced at 48 spurs won’t take a single crown, even though a crown is worth ten times as much. Loose Change fixes that.

What it does

  • Pay with any mix of coins. The trade goes through as long as what you put in is worth enough.
  • Get change back. Overpay and the difference comes back as coins, largest denomination first.
  • Smart auto-fill. Clicking a trade fills the payment slots with the smallest handful of coins that covers it, not your whole purse.
  • Everything else stays vanilla. Trades that cost normal goods, and the goods half of a “goods + coins” trade, work exactly as before.

Works with

  • Create: Numismatics out of the box: spur, bevel, sprocket, cog, crown and sun.
  • Any other currency mod: add its coins to the config with one line each.
  • Standalone: if no listed coin is installed, the mod simply does nothing.

Config

config/loosechange-common.toml

 
toml
coinValues = [
  "numismatics:spur=1",
  "numismatics:bevel=8",
  "numismatics:sprocket=16",
  "numismatics:cog=64",
  "numismatics:crown=512",
  "numismatics:sun=4096"
]

Format is namespace:item=value. Values are whole numbers (1 to 1,000,000). Items that aren’t installed are ignored.

Notes

  • Required on both client and server.
  • NeoForge 1.21.1.
  • Made for the Marshlight Horizons modpack, and free for anyone to use in their own packs.

Changelog for 0.2.0

 
First public release.
- Villager trades priced in currency accept any mix of coins by total value.
- Overpayment is returned as change, largest coins first.
- Clicking a trade auto-fills the smallest set of coins that covers the price.
- Coin table is configurable; Create: Numismatics coins are set up by default.

 

常见问题

Loose Change 支持哪些 Minecraft 版本?

Loose Change 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Loose Change 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

marsh_mellow_dream 的其他作品

查看全部 →