Item Deconstruction

Mar 20, 2019
Item Deconstruction

  • Items that have a tier (common, rare, legendary...) can be deconstructed.
    Deconstructing an item transforms the item into another item, usually a material players can then use at the advanced workbench to craft other items. The item players get from deconstructing another item
    entirely depends on the item tier. Players might drop other weapons, or even materials they can use to craft other weapons.

    This feature actually allows players to get rid of the items they can't use because they don't meet the requirements while using another resource (since deconstructing an item requires a consumable).

    Players can deconstruct an item by drag & dropping a specific consumable onto their item. This consumable must have the Can Deconstruct option toggled on. They will hear a level up sound and receive a message saying their item was successfully deconstructed.

    By default, tiers are Trash, Common, Uncommon, Rare, Very Rare, Legendary, Mythical, Epic, Magical and Unique. You can edit the tiers in the tiers.yml config file located in the main plugin folder. You can change the tier name and the deconstructed item drop table. This drop table behaves exactly like a monster/block drop table, please refer to this wiki page to know how to setup them.
    Code (Text):
    # 'name' is used to display the tier in the item lore.
    #
    # 'deconstruct-item' is the drop table for the item
    # that drops when deconstructing an item.
    #
    # Tier IDs (TRASH,COMMON...) are case sensitive.

    TRASH:
        name: '&8Trash'
        deconstruct-item: {}

    COMMON:
        name: '&7Common'
        deconstruct-item: {}
    UNCOMMON:
        name: '&8Uncommon'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        UNCOMMON_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 2
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0
    RARE:
        name: '&6Rare'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        RARE_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 3
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0
    VERY_RARE:
        name: '&eVery Rare'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        VERY_RARE_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 3
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0
    LEGENDARY:
        name: '&bLegendary'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        LEGENDARY_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 4
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0
    MYTHICAL:
        name: '&5Mythical'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        MYTHICAL_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 5
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0
    EPIC:
        name: '&4Epic'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        EPIC_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 6
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0

    MAGICAL:
        name: '&2Magical'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        MAGICAL_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 3
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0
    UNIQUE:
        name: '&cUnique'
        deconstruct-item:
            sucess:
                coef: 1
                items:
                    MATERIAL:
                        UNIQUE_WEAPON_ESSENCE: 100,1-1,0
            lose:
                coef: 9
                items:
                    MATERIAL:
                        WEAPON_POWDER: 100,1-1,0

    As seen on the GIF, deconstructing an item can actually give different drops from time to time which means that you can have, for instance, items harder to get than other items when deconstructing a tiered item.


    [​IMG]
  • Loading...
  • Loading...