Zubb's Breakdown Recipes
#2
Hello, welcome to the forum.

That's an interesting idea, but it gives the player a somewhat unfair advantage. Consider an armor, for example - you craft it, you wear it until it's almost broken, and then you break it down into the base resources and re-craft a brand new armor out of it.

I think a more balanced scenario would be to use a plugin to actually calculate the amount of returned resources, based on the item damage. The more it is damaged, the less resources you get back. However, this can't be done in a simple recipe file, it needs to be a plugin that overrides crafting.

Incidentally, if you do decide to code such a plugin, it would make an awesome "example code" for the crafting hooks documentation pages ( http://apidocs.cuberite.org/OnPreCrafting.html )
Reply
Thanks given by:


Messages In This Thread
Zubb's Breakdown Recipes - by Zubb - 01-07-2016, 08:21 AM
RE: Zubb's Breakdown Recipes - by xoft - 01-07-2016, 08:39 AM
RE: Zubb's Breakdown Recipes - by NiLSPACE - 01-07-2016, 08:40 AM
RE: Zubb's Breakdown Recipes - by Zubb - 01-07-2016, 09:15 AM
RE: Zubb's Breakdown Recipes - by ThuGie - 01-07-2016, 09:55 AM



Users browsing this thread: 1 Guest(s)