RPGCore icon indicating copy to clipboard operation
RPGCore copied to clipboard

Rewrite RPGCore.Items

Open fydar opened this issue 6 years ago • 0 comments

Rewrite RPGCore.Items from the prototype codebase.

This rewrite should be as feature-complete as the prototype.

Key Types

Item
Can be contained within an ItemSlot. ItemSlotBehaviours can activate items "equipt" state in order to apply states and other unqiue behaviours.
StackableItem
An item that also has a "Quantity" that allows the item to be stacked.
StackableItems cannot be individually enchanted or perform stat rolls, however they can have unqiue activation and equipment behaviours.
UniqueItem
Can be enchanted and have unique stat rolls but cannot be stacked.
Unique items can contain other items for the purposes or "Sockets" or as an additional bag.
ItemTemplate
Used to generate an instance of an Item. Contains a graph that defines custom and unique behaviours along with and rendering information about the item.
ProceduralItemTemplate
Used to generate an instance of an Item.
With this type of template, all stat rolls and enchantments are randomly assigned.
BespokeItemTemplate
Used to generate an instance of an Item.
With this type of template, all stat rolls can be manually overriden and enchantments can be manually selected.
A source ProceduralItemTemplate must be provided and all stats should be reproducable with a randomly generated ProceduralItemTemplate.

fydar avatar Aug 15 '19 06:08 fydar