i have the latest update but not sure what i need to change to be able to kill my chickens in my coop
any help would be great
Kill chickens
hi, see the update notes. add the new flag, AuthorizedFarmableDamage
nivexhi, see the update notes. add the new flag, AuthorizedFarmableDamage
Why don't chickens die if they don't have enough food? Did I do something wrong?
when you are saying flag you mean where these are
"flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, PlayerSamSitesIgnorePlayers, TrapsIgnorePlayers, TurretsIgnorePlayers",
i got it thank you
hi, damage from thirst and hunger are blocked by the plugin and needs fixed. i will just make it an option
edit .cs and change entity is NPCPlayerCorpse
to entity is NPCPlayerCorpse or NPCPlayer or FarmableAnimal
should I do it like this?
if (entity is NPCPlayerCorpse || entity is BaseCorpse && !(entity is PlayerCorpse))
{
if (trace) _tsb.Clear(); // reduce useless spam
return true;
}
to
if (entity is NPCPlayerCorpse or NPCPlayer or FarmableAnimal || entity is BaseCorpse && !(entity is PlayerCorpse))
{
if (trace) _tsb.Clear(); // reduce useless spam
return true;
}
yes thats how.