Item repair
#2
Trying to figure out the best way to do it:
1. Use HOOK_PRE_CRAFTING to determinate which objects are in grid, if there are two of same kind (and nothing else) - set output item and health manually?
2. Use HOOK_PRE_CRAFTING, but add recipe in crafting.txt (will it count damaged items as well?) instead of manual parsing and set output health only? (because output item will be set in recipe)

Also: should I change output health in HOOK_POST_CRAFTING as well?
Reply
Thanks given by:


Messages In This Thread
Item repair - by xoft - 06-13-2012, 05:26 PM
RE: Item repair - by Taugeshtu - 06-14-2012, 04:01 AM
RE: Item repair - by FakeTruth - 06-14-2012, 04:09 AM
RE: Item repair - by Taugeshtu - 06-14-2012, 04:31 AM
RE: Item repair - by FakeTruth - 06-14-2012, 04:46 AM
RE: Item repair - by Taugeshtu - 06-15-2012, 01:59 AM
RE: Item repair - by xoft - 06-15-2012, 03:03 AM



Users browsing this thread: 2 Guest(s)