Jump to content

Two pieces of food seasoned with different spices can be combined into one.


Sanchozz
  • Branch: Live Branch Version: Linux Fixed

Two pieces of food seasoned with different spices can be combined into one.

Here is a demonstration created in the sandbox.
On the left is a piece of bread 2 kg (8000 kcal) seasoned with a Freshener Spice.
On the right, a piece of bread 2 kg (8000 kcal) seasoned with Rocketeer Spice.

457140_20231031092225_1.thumb.png.73ad0fe40d0f3ef7b755ffcec31ab38b.png

457140_20231031092240_1.thumb.png.d9edc5b51e0234807ee1b2365d243ad0.png
Now we use the MoveTo command to put both pieces of bread in one tile.
Whoosh! The bread pieces came together. It turned out a piece of bread 4 kg (16,000 kcal) with Rocketeer Spice. The Freshener Spice was gone.
Or you can just allow bread to be stored in the refrigerator. The result will be the same.

457140_20231031092315_1.thumb.png.a4cf106c5ec66c3b569b6a8bf91a9138.png

457140_20231031092342_1.thumb.png.f42b5e0cd31a459b16446efea002e508.png

[all mods disabled]

Test-Spises-two.sav


Steps to Reproduce

see description




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

I'll even tell you what the problem is.

Spoiler

Let's look at the decompiled code of the EntitySplitter.CanFirstAbsorbSecond method
In the line that I marked with an arrow, there is obviously an error, as a result of which a Edible component is extracted twice from the first of the two KPrefabID, and compared with itself.

eee.thumb.png.c606205dc246f76ebb59fab6bfe16e20.png

 

  • Like 3
  • Thanks 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...