Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
items:types [2019/10/21 15:12]
indyuce
items:types [2020/07/01 03:13] (current)
Line 1: Line 1:
 +====== Item Types======
 +
 Items you create must all have an item type: blunt weapon, armor, consumable, etc. Every item type has a specific set of item stats/​options/​tags that you can use to customize your item. Items which have the same type also share unique **type passive effects**. The item type also defines how the item looks when it is unidentified. Items you create must all have an item type: blunt weapon, armor, consumable, etc. Every item type has a specific set of item stats/​options/​tags that you can use to customize your item. Items which have the same type also share unique **type passive effects**. The item type also defines how the item looks when it is unidentified.
  
Line 78: Line 80:
 For instance, this adds an item type called Long Sword which behaves exactly like the SWORD item type. The type parent defines how the item type will behave. When set to '​GEM_STONE',​ the type will behave exactly like a gem stone and you will be able to give your item any gem stone stat. The type name is the name displayed in /mi browse, in the recipe list or on the item lore. For instance, this adds an item type called Long Sword which behaves exactly like the SWORD item type. The type parent defines how the item type will behave. When set to '​GEM_STONE',​ the type will behave exactly like a gem stone and you will be able to give your item any gem stone stat. The type name is the name displayed in /mi browse, in the recipe list or on the item lore.
  
-The ''​unident-item''​ config section dictates how an unidentified item from that item category looks like. You can change the item display name and lore using given placeholders. #prefix# corresponds to the item TIER color prefix which thus depend on the unidentified item's tier. #prefix# is the display name of the unidentified item tier. #range# is the unidentified item's level range which also depends on its item tier.\+The ''​unident-item''​ config section dictates how an unidentified item from that item category looks like. You can change the item display name and lore using given placeholders. #prefix# corresponds to the item TIER color prefix which thus depend on the unidentified item's tier. #prefix# is the display name of the unidentified item tier. #range# is the unidentified item's level range which also depends on its item tier. 
 Lines starting with {tier} only display if the unidentified item has a tier. Lines starting with {range} only display if the item has the '​Required Level' item stat. Lines starting with {tier} only display if the unidentified item has a tier. Lines starting with {range} only display if the item has the '​Required Level' item stat.
 {{https://​i.imgur.com/​4IuCQ72.png?​450}} {{https://​i.imgur.com/​4IuCQ72.png?​450}}
  
 You can add as many new item types as you want. Do not forget to use /mi reload after adding new item types, this way the config files corresponding to your item type (located in /​MMOItems/​item/​) are generated. If your item type was successfully registered in MMOItems, you should be able to find it in the command auto tab completions. You can add as many new item types as you want. Do not forget to use /mi reload after adding new item types, this way the config files corresponding to your item type (located in /​MMOItems/​item/​) are generated. If your item type was successfully registered in MMOItems, you should be able to find it in the command auto tab completions.

items/types.1571670776.txt.gz · Last modified: 2020/07/01 03:13 (external edit)