Project Phoenix 2 Item Properties

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

Welcome

The item property system heavily relies on the mobile mod system designed by Citadel Studios. It allows you to use the 42 properties that come with the system. The system was designed for the usage of a Diablo 2 or Ultima Online style loot system. It also comes with an end game item Editor to allow you to design weapons, armor, and jewelry in game with an easy to use user interface.

Files

Below is a list of all the files that involve the dialog system or where the core structure is.

  • scripts/commands/item_properties/scriptcommands_item_properties.lua
  • scripts/player/handle_item_properties.lua
  • scripts/item_properties/incl_item_properties.lua
  • scripts/item_properties/item_properites.lua
Tip - To change the location in which objects are saved to files. Look at the scriptcommands.lua override.

How it works

  • when a player equips an item, it will check each item property and apply a constant buff to the player while its equipped.
  • when a player unequips an item, it will check to see what item properties need to be removed from the player.
  • this system takes full advantage of the MobileMod system that Citadel created.
  • when a player logs in to the server, it will check their equipment and apply the correct mobile mods.

In Game Editor

The in game editor will allow you to bypass the normal open up your favorite text editor and writing boring xml files. With this you can create fast and easy magic items for players to use without any knowledge of xml coding. You just simply design it in game, click a 'Create Me' button and that is it. These items will be saved in the data/items/custom directory in your server folder. This can be changed by modifying the scriptcommands.lua file. The in game editor has a few tab page layout and should be easy to navigate. I have sorted the mobile mods you can pick from. Here is a list of the tabs and what mods they contain.

  • Standard - Name, Hue, Color, Weight, Durability and Lore
  • Primary - Strength, Agility, Constitution, intelligence, Wisdom and Will
  • Combat - Accuracy, Defense, Evasion and Movement
  • Damage - Attack, Power and Force
  • Resource - Health, Mana, Stamina, Vitality, Health Regeneration, Mana Regeneration and Stamina Regeneration
Tip - Do not forget to click the Apply Changes button after you edit each tab.