Project Phoenix 2 Merchant Outfits

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

Welcome

The Outfits system is used to simply create randomized outfits. It is a series of tables for various aspects of outfits, with some helper functions to draw from the random tables and generate your random outfit.

Files

Below is a list of all the files that involve the merchant outfit system.

  • scripts\merchants\outfits\equipment_colors.lua - contains color tables for outfit generation
  • scripts\merchants\outfits\equipment_hues.lua - contains hue tables for outfit generation
  • scripts\merchants\outfits\outfits.lua - contains the connection of the system and the global Outfit table
  • scripts\merchants\outfits\outfits_helpers.lua - contains the EquipMerchant function