Difference between revisions of "Project Phoenix 2 Merchant Outfits"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Welcome)
(Files)
 
Line 5: Line 5:
 
==Files==
 
==Files==
 
Below is a list of all the files that involve the merchant outfit system.
 
Below is a list of all the files that involve the merchant outfit system.
*scripts\merchants\outfits\equipment_colors.lua
+
*scripts\merchants\outfits\equipment_colors.lua - contains color tables for outfit generation
*scripts\merchants\outfits\equipment_hues.lua
+
*scripts\merchants\outfits\equipment_hues.lua - contains hue tables for outfit generation
*scripts\merchants\outfits\outfits.lua
+
*scripts\merchants\outfits\outfits.lua - contains the connection of the system and the global Outfit table
*scripts\merchants\outfits\outfits_helpers.lua
+
*scripts\merchants\outfits\outfits_helpers.lua - contains the EquipMerchant function

Latest revision as of 18:01, 10 August 2019

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