- 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:
Vendors are distinguished by the trifold coin icon above their name. They will also display on the minimap.
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.