- items.json
- mods.json
- recipes.json
Release Notes:
- Mods can now contain additional recipes.
- Currency now implemented as a subsystem and subsequently a mod has been created for the default implmentation (gsc, or gold / silver / copper).
- Added net.lugdunon.currency.gsc.action.RedeemCoinActionHandler to client-side code base.
- Added net.lugdunon.currency.gsc.command.RedeemCoinCommand.
- Added coin blank, coin mold, gold, silver, and copper coin items and recipes.
- game.currencyImplementation holds the implementing class for this server's currency. It is initialized during the ConnectToServerCommand.
- Items can now have a 'worth'.
- net.lugdunon.item.renderer.DefaultRenderer now shows the buy and sell values for an item of worth.
- game states can now subscribe to currencyUpdated() events by providing a function implementation.
- Added net.lugdunon.states.ActionBarGameState.currencyUpdated(mode,currentValue,changedAmount) to client-side API.
- Added net.lugdunon.states.ActionBarGameState.addCurrencyUpdateListener(id,listener) to client-side API.
- Added net.lugdunon.states.ActionBarGameState.removeCurrencyUpdateListener(id) to client-side API.
- Added currency display to InventoryDialog.
- InventoryDialog no subscribes to currencyUpdated() events.
- Added very rough worth values to a large number of item. Still needs adjusting though.
Here's a quick look at the currency additions to the inventory dialog.