CraftBook 3

CraftBook 3

139k Downloads

Custom Mob Drops

LadyCailinBot opened this issue · 25 comments

commented

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 :)!

commented

Comment by me4502

I'll look into adding something like this.

commented

Comment by adamisawesome

How soon could you add this?

commented

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)

commented

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.

commented

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

commented

Comment by adamisawesome

Doesn't seem to be working for me.... Uhm, what bukkit build did you use?

commented

Comment by me4502

What isn't working correctly? This change? Are you making sure to use all the correct colour codes etc?

commented

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.

commented

Comment by me4502

Try this one, without any colour codes.
http://builds.enginehub.org/job/craftbook/3246/download/craftbook-3.7-SNAPSHOT.zip

commented

Comment by adamisawesome

My config is now:
cow->363x1-3,334x1
cow|Super Cow->1x1

Still not working. Is my config the issue?

commented

Comment by adamisawesome

On a side note I think I'm using #02912 on Craftbukkit.

commented

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?

commented

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.

commented

Comment by me4502

Try this, it'll output debug info when you kill the named cow.

https://dl.dropboxusercontent.com/u/20806998/CraftBook.jar

commented

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.

commented

Comment by me4502

Does it work if you put a colour code on the cows name, but not in the config?

commented

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.

commented

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

commented

Comment by me4502

Ah, it has the wrong cases. I'll fix that now.

commented

Comment by adamisawesome

Okay :D

commented

Comment by adamisawesome

It works, but doesn't work with color.

commented

Comment by me4502

Hmm, I'll try to convert colour codes.
http://builds.enginehub.org/job/craftbook/3248/download/craftbook-3.7-SNAPSHOT.zip

commented

Comment by adamisawesome

It works, thank you so much :)

commented

Comment by me4502

You're welcome :)