fullwall / Citizens

An NPC plugin for bukkit.
Other
35 stars 7 forks source link

New NPC: Alchemist #141

Open Bogden400 opened 13 years ago

Bogden400 commented 13 years ago

This would essentially be an NPC which would allow custom crafting, at a configurable cost, which must be done in a specific location.

The Alchemist should have fully configurable recipes. This can be on a per-alchemist basis, or server-wide, done through a recipes config file. It would be nice for it to be per-alchemist, so that certain recipes would require players to venture to particular alchemists to get the job done. i.e. Crafting a web may only be done if you finish a dungeon and reach the alchemist at the end.

Function: When right clicked, the Alchemist would say their recipe list: ------Page 1/3------ 1: Golden Apple 2: Slime 3: Grass Use /alch next for more, or /alch # to choose.

When a recipe is chosen, the alchemist tells the player the recipe. He also says the cost to complete the recipe, and the amount of time needed to finish it. Then, if the alchemist is right clicked again, a crafting bench or chest GUI is opened. The items are placed in, and the alchemist begins crafting. When it is finished, the player can right click the alchemist again and retrieve the item. The whole time-to-craft thing might be hard to implement, so instant crafting would be totally fine. It would be nice to add a chance-to-fail option, yielding 1 piece of coal, or some configurable failure item.

The recipes may or may not be dependent on arrangement, depending on how much work you want to do on it.

aPunch commented 13 years ago

Some awesome ideas here, I'll add Alchemists when I get the time.