2008Choco / Alchema

Spigot plugin. In-world cauldron crafting, witchcraft and sorcery
https://www.spigotmc.org/resources/alchema.87078/
GNU General Public License v3.0
9 stars 3 forks source link

Add Vials of Entity Essence #1

Closed 2008Choco closed 3 years ago

2008Choco commented 3 years ago

Vials of Essence

A new item may be added to better integrate Alchema with the world and the entities that inhabit it. This item should not be craftable in a crafting table but rather obtainable from entities through the means of a cauldron.

Vials of entity essence in an inventory

How To Obtain Vials of Essence?

These essence vials may be obtained through three means:

Empty vials are a new type of item craftable in a regular crafting table. See below:

Crafting an empty vial The empty vial

What Do Vials of Essence Do?

As mentioned, vials of essence may be dropped into boiling cauldrons as an ingredient (alchema:entity_essence). The vials will hold a variable amount of essence (from 0 - 1,000) and will fill the cauldron accordingly. When not used in a cauldron, vials of essence may also be consumed by players much like a potion or bottle of water. Depending on the type of essence, the consumption will have differing effects on the player - whether those effects be positive or negative will also depend on the type of essence in the vial.

Configuration

These new vials of essence should be relatively configurable for server owners. All potential configuration options may look like the following:

VialOfEssence:
  MaximumEssence: 1000
  DroppedByEntities: true
  EssenceFromEntityKill: 50
  Item:
    Empty:
      Name: "&fEmpty Vial"
      Lore:
      - "Collects entity essence."
      CustomModelData: 1
    Filled:
      Name: "&fVial of Essence &7(%entity%)"
      Lore:
      - "&7&oCauldron ingredient"
      CustomModelData: 2

Custom Textures?

By default, Alchema will not provide authors with any custom textures. The colours of the potions should suffice for at least the sake of vanilla and distinguishing between the differing types of essence. However, textures should be supported through the use of a customizable CustomModelData configuration option as seen in the Configuration section above.

2008Choco commented 3 years ago

Merged into main branch, will be available in the next update 😄 See 2fec51