Project Zomboid

Project Zomboid

Rick's MLC Cutlery
4개 중 1~4개 표시 중
업데이트: 2024년 12월 22일 오후 5시 36분
작성자: RicksMLC

Updated for B42.

업데이트: 2024년 9월 5일 오후 4시 15분
작성자: RicksMLC

Cleaned up the ISEatFoodAction:start() to check if the food can use cutlery at the start of method so it doesn's spend time rummaging around in backpacks etc looking for spoons or forks and then finding out it didn't need them anyway.

업데이트: 2024년 1월 9일 오전 5시 26분
작성자: RicksMLC

Fixed an issue where cutlery is transferred even if eating does not use cutlery. This update will now only use cutlery if the correct EatType is set for the food.

업데이트: 2024년 1월 8일 오전 7시 03분
작성자: RicksMLC

Version 1.0 release. I can't believe it, but this code actually worked the first time I ran it.

This mod enhances the ISEatFoodAction by overriding start() perform() and stop() to detect if cutlery (spoon or fork) is in your backpack or other container. If it finds one, it will transfer it to your inventory, perform the vanilla eat action, then return the cutlery to the container where it came from.

Interrupting the eat will cause the cutlery to stay in your main inventory.

Eating with cutlery will reduce Unhappiness by 1, 0.5 or 0.25 depending on Eat All or 1/2 or 1/4. You will not get the cutlery bonus if you interrupt eating.