]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fixed mice behavior of eating everything (#23322)
author778b <33431126+778b@users.noreply.github.com>
Tue, 2 Jan 2024 18:49:20 +0000 (21:49 +0300)
committerGitHub <noreply@github.com>
Tue, 2 Jan 2024 18:49:20 +0000 (13:49 -0500)
commit439d6ff44e6905d9e0a2cfb9dc9ade7ccbc21ec2
tree35f26598c14dfbe6aa91460107a015c70ddb1c90
parent5e6633ea50e7371c8bcb37eb6426c378291823b3
Fixed mice behavior of eating everything (#23322)

* Added precondition for EatTask

* Added Thirsty precondition for htn drink task

* Added start state for hungry and thirsty components

* Update nutrition.yml

* Fixed pascalcase's
Content.Server/NPC/HTN/Preconditions/HungryPrecondition.cs [new file with mode: 0644]
Content.Server/NPC/HTN/Preconditions/ThirstyPrecondition.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Resources/Prototypes/NPCs/nutrition.yml