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/04 03:20]
joshin
items:types [2020/07/01 03:13] (current)
Line 1: Line 1:
-======Item Types======+====== 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.
  
 Item types are split into type sets which have also their unique set of passive effects. Item types are split into type sets which have also their unique set of passive effects.
  
-** __Slashing__ **+=====Slashing=====
     * When performing a melee attack, slashing weapons deal damage in a cone behind your initial target.     * When performing a melee attack, slashing weapons deal damage in a cone behind your initial target.
         * • Sword, Greatsword, Katana ​         * • Sword, Greatsword, Katana ​
Line 10: Line 11:
         * • Halberd ​         * • Halberd ​
  
-{{https://​i.imgur.com/​zr2Z5ff.gif}}+{{https://​i.imgur.com/​zr2Z5ff.gif?450}}
  
-** __Piercing__ **+=====Piercing=====
     * When performing a melee attack, piercing weapons deal damage in a line behind your initial target.     * When performing a melee attack, piercing weapons deal damage in a line behind your initial target.
         * • Thrusting Sword         * • Thrusting Sword
Line 18: Line 19:
         * • Spear, Lance         * • Spear, Lance
  
-{{https://​i.imgur.com/​YdAhVGI.gif}}+{{https://​i.imgur.com/​YdAhVGI.gif?450}}
  
-** __Blunt__ **+=====Blunt=====
     *  Blunt weapons deal AoE (area of effect) damage around the target.     *  Blunt weapons deal AoE (area of effect) damage around the target.
-    ​* • Hammer, Greathammer - AOE +        ​* • Hammer, Greathammer - AOE 
-    * • Gauntlet - can stun entities [right-click] +        * • Gauntlet - can stun entities [right-click] 
-    * • Lute, Stave - can play musical effects. +        * • Lute, Stave - can play musical effects. 
-    * • Greatstaff - Passive knockback melee.+        * • Greatstaff - Passive knockback melee.
  
-{{https://​i.imgur.com/​qQMuvxV.gif}}+{{https://​i.imgur.com/​qQMuvxV.gif?450}}
  
-** __Offhand ​Accessories__ **+=====Offhand ​Accessories=====
     * Offhand items are the only items that can apply their stats when held in the off hand.     * Offhand items are the only items that can apply their stats when held in the off hand.
-    ​* • Ornament - This accessory will apply the effects when placed anywhere in your inventory. +        ​* • Ornament - This accessory will apply the effects when placed anywhere in your inventory. 
-    * • Tome +        * • Tome 
-    * • Catalyst, Talisman +        * • Catalyst, Talisman 
-    * • Off-Catalysts (off-catalyst stats are restricted to when held in off hand). +        * • Off-Catalysts (off-catalyst stats are restricted to when held in off hand). 
-    * • Shield, Greatshield +        * • Shield, Greatshield ​(vanilla shield functionality) 
-    * • Accessory: these items may only apply their stats when they are placed in non-vanilla slots i.e custom slots from custom inventories like RPGInventory.+        * • Accessory: these items may only apply their stats when they are placed in non-vanilla slots i.e custom slots from custom inventories like RPGInventory.
  
-## Range +=====Range===== 
-Range weapons have different item passives depending on their item types. +    ​* ​Range weapons have different item passives depending on their item types. 
-* Wand - can cast magic attack [left click] & can knock enemies back [right click on entity] +        • Wand - can cast magic attack [left click] & can knock enemies back [right click on entity] 
-* Staff - same as Wand +        • Staff - same as Wand (just more epic) 
-* Bow, Greatbow +        • Bow, Greatbow 
-* Whip - ranged whip attack [left click] +        • Whip - ranged whip attack [left click] 
-* Crossbow - can fire arrows [left click] +        • Crossbow - can fire arrows [left click] 
-* Musket - can fire musket bullets [right click]+        • Musket - can fire musket bullets [right click]
  
-## Extra +=====Extra===== 
-* Armor - applies effects when worn +        • Armor - applies effects when worn 
-Tool - can has custom enchants +        • Tools 
-* Consumable - can be consumed [right click] and applied on items [drag & drop] +        • Consumable - can be consumed [right click] and applied on items [drag & drop] 
-* Miscellaneous +        • Miscellaneous 
-[[Gem Stone|Gem Stones]] - can be applied on items [drag & drop] +        • Gem Stones - can be applied on items [drag & drop] (must have a gem slot on the item that matches) 
-* Material - can be used to craft other items at the advanced workbench.+        • Material - can be used to craft other items at the advanced workbench, or just be a normal material item with no special uses.
  
-## How to create new item types?+=====How to create new item types?=====
 You can add new item types to MMOItems using the item-types config file. You can add new item types to MMOItems using the item-types config file.
  
Line 61: Line 62:
  
 You need to use the following format: You need to use the following format:
-```+<​code>​
 LONG_SWORD: LONG_SWORD:
     display: IRON_SWORD:​0     display: IRON_SWORD:​0
Line 75: Line 76:
         - '​{range}&​8- &7Lvl Range: &​e#​range#'​         - '​{range}&​8- &7Lvl Range: &​e#​range#'​
         - '​{tier}&​8- &7Item Tier: #​prefix##​tier#'​         - '​{tier}&​8- &7Item Tier: #​prefix##​tier#'​
-```+</​code>​
  
 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-itemconfig 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}}+{{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.1570159243.txt.gz · Last modified: 2020/07/01 03:13 (external edit)