01-27-2013, 01:48 PM
I was trying to bend tolua to rename cLuaItems to cItems in the API. God knows I tried hard. But I think they just list the feature without having actually tested it, it simply doesn't work. So I had to make a nasty workaround. Now cItems is fully API exported and available to use in the HOOK_BLOCK_TO_PICKUPS hook. Now plugins can modify the drops from individual dug blocks. So you can actually implement "a magic pickaxe of plenty" that digs up twice as many blocks.