Page 1 of 1

(0.5.11) Status for Monday, January 6, 2014

PostPosted: Mon Jan 06, 2014 11:28 am
by lugdunon
/etc files altered in this update:
  • 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.

Image

Re: (0.5.11) Status for Monday, January 6, 2014

PostPosted: Mon Jan 06, 2014 11:31 am
by Marxell
Nice one ;) looking forward to more pormising stuff ;)

Re: (0.5.11) Status for Monday, January 6, 2014

PostPosted: Mon Jan 06, 2014 3:06 pm
by lugdunon
Thanks! Now that currency is in, vendors are next on my list.