(0.5.14) Status for Saturday, Feburary 1, 2014

(0.5.14) Status for Saturday, Feburary 1, 2014

Postby lugdunon » Sat Feb 01, 2014 12:55 am

/etc files altered in this update:
  • commands.json
  • items.json
  • recipes.json


Release Notes:
  • Added durability for weapons.
  • Added durability for tools.
  • Added persistence of state for containers.
  • Added persistence of state for signs.
  • Added support for tooltip extension on a per-item definition basis.
  • Charcoal Artist's Set is no longer stackable, and has a durability of 8. Recipe altered to create a single instance instead of a stack of 8.
  • Added net.lugdunon.command.core.inventory.ItemDurabilityUpdateCommand.
  • Added net.lugdunon.state.item.tooltip.ITooltipExtension to client-side code base.
  • Added net.lugdunon.state.item.tooltip.ContainerTooltipExtension to client-side code base.
  • Added net.lugdunon.state.item.tooltip.SignTooltipExtension to client-side code base.
  • net.lugdunon.item.renderer.DefaultRenderer now takes an item's durability into account.
  • net.lugdunon.item.renderer.DefaultRenderer now supports net.lugdunon.state.item.tooltip.ITooltipExtension.
  • Added net.lugdunon.world.placeables.PlaceableItemInstance.isDurable() to client-side API.
  • Fixed an issue with net.lugdunon.currency.gsc.Currency.prototype.toShortDisplayString() returning 'undefined' if currency value is 0.
  • Selling items that are damaged is permitted. An item's worth is negatively affected by its durability however.
  • Added net.lugdunon.state.item.ItemInstance.isDurable() to server-side API.
  • Added net.lugdunon.state.item.ItemInstance.getMaximumDurability() to server-side API.
  • Added net.lugdunon.state.item.ItemInstance.getCurrentDurability() to server-side API.
  • Added net.lugdunon.state.item.ItemInstance.getCurrentDurabilityPercentage() to server-side API.
  • Added net.lugdunon.state.item.ItemInstance.modifyDurability(int modifier) to server-side API.
  • When a save is invoked, composites are now purged before a State.instance().getWorld().saveState() is initiated.


Tools and weapons now contain a durability property. As the item is used, its durability decreases until eventually the item breaks.

Durability also affects the buy and sell cost as well as the amount of damage it does.

Image


Containers and signs now retain their state when broken down (transitioning from placeable item to inventory item).

In the case of containers, their contents and key are preserved. Containers now also display the number of items and total slots in its tooltip.

In the case of signs, any message written upon it is preserved. Signs now also display a small representation of its face in its tooltip.

Image
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm

Return to Updates

Who is online

Users browsing this forum: No registered users and 16 guests

cron