Custom Mob Drops
LadyCailinBot opened this issue · 25 comments
CRAFTBOOK-2772 - Reported by adamisawesome
So, its more of a request. But not sure where else to put it....
Can you make it so we can have named mobs drop different drops then other mobs?
So, like say I have this is as a config.
cow->363x1-3,334x1
cow|§3Super Cow->1x1
The normal cow would drop regular items, yet the "Super Cow" would drop stone.
I have tested this on the current build and it does not work.
Thank you in advance for helping me with my issue.
Your plugins/projects are amazing :)!
Comment by me4502
I could add it like you have suggested it above now, but I do plan on recoding custom drops at a later stage (In 5 or so weeks when I have like 6 weeks of free time)
Comment by adamisawesome
For now could you add the feature I asked for? I have a project in mind that I'd enjoy the feature for.
Comment by me4502
I have just added this, try this build here: http://builds.enginehub.org/job/craftbook/3245/download/craftbook-3.7-SNAPSHOT.zip
Comment by adamisawesome
Doesn't seem to be working for me.... Uhm, what bukkit build did you use?
Comment by me4502
What isn't working correctly? This change? Are you making sure to use all the correct colour codes etc?
Comment by adamisawesome
I'm using this for config:
cow->363x1-3,334x1
cow|§3Super Cow->1x1
Then I spawn a cow egg with /i cowegg name:&3Super Cow and it still drops beef, and leather.
Comment by me4502
Try this one, without any colour codes.
http://builds.enginehub.org/job/craftbook/3246/download/craftbook-3.7-SNAPSHOT.zip
Comment by adamisawesome
My config is now:
cow->363x1-3,334x1
cow|Super Cow->1x1
Still not working. Is my config the issue?
Comment by adamisawesome
On a side note I think I'm using #02912 on Craftbukkit.
Comment by me4502
Are there any errors at startup or during runtime?
If you change the standard definitions drops, does it drop them or the normal drops for that mob?
Comment by adamisawesome
No errors, only error I had was when I did /craftbook reload when I first updated my config.
I've changed the standard to add stone and the changes do take place.
Comment by me4502
Try this, it'll output debug info when you kill the named cow.
Comment by adamisawesome
I've seem to got it working with no color codes... Is there any way you could add color code support? I'm using the drop box jar.
Comment by me4502
Does it work if you put a colour code on the cows name, but not in the config?
Comment by adamisawesome
Okay, so issue... I can't get it to drop even with no color nodes within the name.
I'm still using the last build you posted.
Comment by adamisawesome
With debug mode, this is what comes up in console after I kill the cow that's been renmaed:
2013-11-02 23:55:50 [INFO] Super Cow
2013-11-02 23:55:50 [INFO] COW|Super Cow
2013-11-02 23:55:50 [INFO] cow
2013-11-02 23:55:50 [INFO] cow|super cow
2013-11-02 23:55:50 [INFO] sheep
Comment by me4502
Hmm, I'll try to convert colour codes.
http://builds.enginehub.org/job/craftbook/3248/download/craftbook-3.7-SNAPSHOT.zip