View on Asset Store (opens in new tab)
Package details
- Latest version
- 0.5.0
- Last updated
- First released
- Unity version
- 2020.3.2 or later
- Package size
- 1.1 MB
- Files
- 124
- Favorites
- 23
- Views in the past week
- 6
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Item Anvil: RPG-style modular items
RPG-style items using modular properties. Drag-and-drop, designer-friendly.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
Item Anvil: RPG-style modular items screenshot 1
About this asset
Item Anvil is a flexible and highly customizable RPG-style item ecosystem. It aims to be accessible and easy to understand, with an expressive scripting syntax and a drag-and-drop workflow built on ScriptableObjects.
Just like GameObjects have component scripts, items gain functionality by adding properties. These can affect all items of that type (such as tuning damage for a sword) or only one item (such as enchantments).
Examples:
Metallurgy (try it!): A crafting minigame! Buy ores => smelt => alloy => sell for profit.
Tea Shop (try it!): Shows a setup for shops, which could be owned by an NPC or player. Also, when brewing tea yourself, it's the same temperature as the water you used.
Features:
- Pre-built UI
- Tooltips
- Shops
- Sort button
- Crafting recipes
- Items use assigned icon in Project browser and Asset Picker
- Control over max stack size
- Generic inventories:
- Auto-expanding
- Fixed-slot
- Fully serializable using Unity's built-in tools
- Per-instance properties (enchantments, temperature, aesthetic customizations, etc)
- Fuzzy filters and advanced querying
- Unit testing
From the publisher's Asset Store listing.
Technical details
Creating content is largely done through the Create Assets menu, filling out the relevant fields, and dragging and dropping. There is an included PDF that covers everything in more detail, including in-engine work.
For scripting, the in-code documentation should be your first source, but here's a general overview:
- Item: The most fundamental building block, a concept: jug of water, sword, shield.
- ItemProperty: Adds functionality to an item: a sword is now a flaming sword; a shield blocks 75% damage.
- ItemStack: An instance of an item, made real. Can stack, if the item definition allows it.
- ItemInstanceProperty: A unique characteristic of this instance of the item, applied to an ItemStack. Examples include enchantments, durability, or active cooldowns.
- Inventory: An abstract class describing the most generic inventory possible. To attach one to a GameObject, use InventoryHolder.
- CondensingInventory: Expands and contracts as needed to fit all necessary items.
- FixedSlotInventory: Has a fixed number of slots. Attempting to add items while full will not affect the inventory and instead raise an error.
- CraftingRecipe: Turn one pile of items into another pile of items, within the same inventory.
- Transaction: Represents a trade, or moving items between inventories.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.2f1 | Compatible | Not listed | Not listed |
UI is currently set up for built-in render pipeline, but there are no custom materials or shaders. Conversion to other pipelines should be straightforward and painless.
As listed on the Asset Store.