Oficium 0.5.0
What's new
Tested on Hytale 0.7.7.
Merchant, a new primary profession
- Warehouse counter. A new 3-block station, crafted and placed only by Merchants. Other players store the item in their hand there and take it back later. The owner chooses how to charge: free, on deposit or on withdrawal, paid with an item or with gold. The owner only sees what is stored and never touches it. Items are never lost: if the warehouse closes, each client gets a notice and takes everything back for free with
/oficium warehouse. Each client starts with 9 spaces and reaches 45 at the Merchant's maximum level, and a Merchant can have from 1 to 5 counters, all sharing the same stock. All numbers are in the admin panel. - Works on any server. The Merchant does not need another mod: without an economy mod, the warehouse charges in items.
- With Mercantia 1.2.0 or newer: the Merchant pays a lower auction fee and gets more gold when selling to the NPC Merchant, both growing with the level. Selling at the auction, filling buy orders and trading with other players give Merchant XP, with a daily cap. Warehouse prices can be set in gold, and the reference price of each item shows in the tooltip on the profession path and in the Collection.
- Repair anvil charging gold (Smith, with Mercantia). A fourth mode on the anvil: the owner types a price in gold and it goes straight to their balance.
Your own professions and a public API
- Professions from files. Drop a
professions/<id>.jsonin the Oficium folder to add a profession of your own, with its names, category and icon. It shows in the Master of Professions, in the admin panel and in the titles like the built-in ones, andaccess.jsonandbenefits.jsonaccept its id for what it unlocks and gains. - Public API for other mods.
dev.flintdl.oficium.apilets another mod read a player's professions, levels and ranks, give profession XP, and listen to changes (professions changed, level up, rank up). Declare Oficium as an optional dependency and compile against the jar without bundling it. The guide is in the project description, under For mod developers.
Languages
- Five new languages: German, Spanish, French, Russian and Simplified Chinese, on top of English and Portuguese (Brazil). Each player picks the language in My profession, now from a dropdown. Chinese is offered only to players whose game is in Chinese, because the game's font cannot draw it otherwise.
Look
- New icons for the 12 professions, drawn in the style of the workshop blocks, on every screen.
- The profession path now shows what the Merchant gains per level. Professions with nothing to collect no longer show an empty Collection tab.
New data files: warehouses.json and counters.json (created on first use). config.json gains the progression.merchant section on first load; nothing to do by hand. Mercantia older than 1.2.0 is ignored: the Merchant keeps working with the warehouse only.
This mod has no additional files