Grasscutters / Grasscutter

A server software reimplementation for a certain anime game.
https://grasscutter.io/
GNU Affero General Public License v3.0
16.22k stars 4.48k forks source link

[Bug] No meat dropped when I killed a wild pig #1071

Closed zhaodice closed 2 years ago

zhaodice commented 2 years ago

No meat dropped when I killed a wild pig, console show warning 16:58:37 <WARN:EnergyManager> No drop data for dropId 22000100 found.(solved) It maybe a clue about meat generation logic

zhaodice commented 2 years ago

killing the bird also shows <WARN:EnergyManager> No drop data for dropId 22001000 found.

GanyusLeftHorn commented 2 years ago

Oh, I forgot to check for energy drops whether the "monster" is actually a monster. I'll fix that later, thank you for the report.

zhaodice commented 2 years ago

Oh, I forgot to check for energy drops whether the "monster" is actually a monster. I'll fix that later, thank you for the report.

Thanks, but I want to find out how to make meat appeared when animal dead, I wait 2.7 release.

GanyusLeftHorn commented 2 years ago

Thanks, but I want to find out how to make meat appeared when animal dead, I wait 2.7 release.

You should be able to make boar (and other wild animals) drop meat by adding the necessary information to data/Drop.json.