An item crafting and enchanting system has been planned since the start of TRPG. The Item and Buff classes already have overloads for the Item+Item, Buff+Buff, and Item+Buff operators for this purpose, though an actual interface for these things has not yet been considered.
Crafting:
Could be done from normal commands intuitively. Perhaps "combine (with|,) [, ...]", where the player lists two or more items to try combining. If an appropriate recipe exists, those items are removed from inventory and the resulting item is added.
A Recipe class would need to be added. It would need a list of ingredients, an Item defining the result, and some boolean flags denoting if the buffs of ingredients should summed into the result.
Enchanting:
Less intuitive. Enchantments are basically Buffs, but how are enchantments made available to the player? A list of enchantments the player has learned? Transferring enchantments off other items and on to the target item? Applied from physical object like scrolls or tomes? I suppose supporting the latter two would be simplest.
An item crafting and enchanting system has been planned since the start of TRPG. The Item and Buff classes already have overloads for the Item+Item, Buff+Buff, and Item+Buff operators for this purpose, though an actual interface for these things has not yet been considered.
Crafting:
Enchanting: