(0.5.11) Status for Thursday, January 9, 2014

(0.5.11) Status for Thursday, January 9, 2014

Postby lugdunon » Thu Jan 09, 2014 1:06 am

/etc files altered in this update:
  • npcs.json
  • vendorCache.json
  • vendors.json


Release Notes:
  • Added 'minimap' option to the UI Settings to allow for an alternate method for showing and hiding the minimap.
  • Added support to net.lugdunon.character.NonPlayerCharacter for displaying vendor status.
  • Added net.lugdunon.character.NonPlayerCharacter.VENDOR_ICON to the client-side API.
  • Added net.lugdunon.character.NonPlayerCharacter.vendor to the client-side API.
  • Vendor instance mappings are now sent on server connect.
  • Clicking on a vendor NPC when in range will invoke the vendor UI.
  • Added net.lugdunon.ui.inventory.slot.InventorySlot.drawItem(item,context,mode) to the client-side API.
  • Added net.lugdunon.ui.inventory.slot.InventorySlot.showHighlight(itemInstance,mode) to the client-side API.
  • Added net.lugdunon.ui.inventory.slot.InventorySlot.clearHighlight() to the client-side API.
  • Added net.lugdunon.ui.inventory.sub.Vendor InventoryDialog sub panel to the client-side code base.
  • Added support for getHeaderText() in InventoryDialog sub panels, to allow the sub panel to direct the dialog header text.
  • Added game.getVendorIdForNPC(npcId) to the client-side API.
  • Added net.lugdunon.command.core.vendor.GetVendorCommand. Returns the data needed to instantiate the specified net.lugdunon.state.vendor.VendorInstance object.
  • Added Vendor support to net.lugdunon.state.mod.Mod.
  • Added net.lugdunon.state.vendor.Vendor to the server-side code base.
  • Added net.lugdunon.state.vendor.VendorCache to the server-side code base.
  • Added net.lugdunon.state.vendor.VendorDefinitions to the server-side code base.
  • Added net.lugdunon.state.vendor.VendorInstance to the server-side and client-side code bases.
  • Added net.lugdunon.state.vendor.slot.IVendorSlot to the server-side and client-side code bases.
  • Added net.lugdunon.state.vendor.slot.SimpleVendorSlot to the server-side and client-side code bases.
  • Added a farming vendor.
  • Added a trifold coin icon.


Here are examples of the vendor and vendor ui in action:

Image

Vendors are distinguished by the trifold coin icon above their name. They will also display on the minimap.

Image

The vendor ui consists of a list of items, along with their prices. Simply clicking on the item and then selecting a destination will purchase the item, provided the funds are available.

The empty space to the left of the vendor's item listing will contain the tabs used to select between the vendor's items and the buyback list, which will allow you to repurchase items that you have recently sold.
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm

Re: (0.5.11) Status for Thursday, January 9, 2014

Postby Marxell » Thu Jan 09, 2014 10:52 am

Sweet! I hope to see vendors placable by superusers in the futue :D Very nice work! Are you planning the option for su's to make own questlines in the future? ;)
"Life has a bad story, but the graphic rocks"
User avatar
Marxell
 
Posts: 15
Joined: Fri Jan 03, 2014 6:52 am

Re: (0.5.11) Status for Thursday, January 9, 2014

Postby lugdunon » Thu Jan 09, 2014 11:19 am

Yep, vendors will be editable in game in the future. Vendor data, quests, and dialogue all exist as separate entities in the game data and are then bound to a particular NPC(s).

You can check the feature roadmap to see what has been completed and what remains to be completed: http://wiki.lugdunon.net/w/index.php?title=Feature_Roadmap. This is a dynamic list, so new features will most certainly be added to it in the future.
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 18 guests

cron