When you eat a soup there's a 10% chance you'll also consume the bowl. config: ############################################################ eat-bowl-msg: [Example]: While eating your soup you also consumed the bowl! ############################################################
unon1100 Just out of interest, how did you/are you going to go about this? I was going to try but I couldn't figure out how to register that the bow was being eaten from, as there is no onPlayerEat event or whatever.
unon1100 bug test... Listening for interact won't work. Use playerconsume, check if it was soup, if so 10% chance of consuming bowl
Samthelord1 PlayerConsume? There is no event for when a player eats something. What I'm going to do is reprogram the plugin though, to detect when the food level changes rather than using a PlayerInteract call. EDIT: Done with the plugin. BukkitDev is currently glitching (at least for me) and I can't create the bukkit project. I'll post it on the bukkit forums and link you to it instead.
Samthelord1 Ah, PlayerItemConsume... I didn't see that in the ctrl+F for "Consume"... strange. Anyway, I changed it from PlayerInteract to FoodLevelChange. Plugin is posted but still awaiting approval. http://dev.bukkit.org/bukkit-plugins/eatbowl/
unon1100 the community would appreciate it if you changed it to consume, would take about 10 minutes unless you're new?
Samthelord1 Nah, I could change it. I'm working on a separate plugin right now that broadcasts whenever a new song comes on in a specified plug.dj... So I'm a bit busy. I'll do that quick change soon, though