MineColonies

MineColonies

53M Downloads

Cook told to only use self-crafted wood planks as fuel will use wood as fuel and only craft planks in very special case

markuskoeppen opened this issue ยท 1 comments

commented

Minecolonies version

Version: 1.12.2-0.10.298-ALPHA as a substitute in The Life In The Village modpack version 1.11.
Will also work with 1.12.2-0.10.259-RELEASE as originally provided by the modpack.

Expected behavior

  • When the cook/restaurant is taught a recipe to break down oak wood into planks and configured to only use oak wood planks as fuel, the cook requests wood, crafts wood planks and uses those to fuel their furnace.

Actual behaviour

  • The cook will request wood (that's nice!).
  • The cook will put the first suitable fuel item from their inventory into the furnace, whether it is allowed in the configs or not.
  • The cook will craft wood planks
    • if and and only if
      • wood is not allowed to be used as fuel, but planks are and
      • it knows the recipe of wood planks from wood and
      • there is no other fuel (and no wood, that is) on the cook or in the restaurant block and
      • there is wood in the furnace and
      • there is no active request for wood on the cook.
    • In that case, the cook will take 16 wood items from the furnace fuel slot (less if there are less than 16 there) and craft the according number of wood planks. As soon as the furnace runs dry, they will feed it into the furnace.
    • After that, they will again request wood and again won't craft any planks until they fed the last wood into the furnace.

Steps to reproduce the problem

  1. Basics
    1.1. Found a colony. Build and employ a builder and a cook.
    1.2. Teach the cook the oak wood to oak planks recipe.
    1.3. Configure cook to only use oak planks as fuel.
    1.4. Add a stack of raw beef to restaurant block inventory to trigger the fuel request.
  2. The cook will feed any fuel items to the furnace, ignoring its exclusion in the restaurant config.
    2.1. Make sure the cook requests wood (remove all fuel from the cook and the restaurant).
    2.2. Make sure there is nothing burning in the furnace.
    2.3. Add a stack of oak wood to the restaurant building block or the cook.
    2.4. Marvel at the cook putting it into the furnace.
    2.5. Repeat step 2. with different fuel items.
  3. The cook will not try to craft wood planks while a request for wood is active.
    3.1. Make sure the cook requests wood (remove all fuel from the cook and the restaurant).
    3.2. Make sure there is wood burning in the furnace.
    3.3. Watch the cook not acting.
    3.4. Remove the request for wood from the cook.
    3.5. The cook will pull wood from the furnace and craft wood planks.
  4. The cook will not craft wood planks while there is other fuel on them.
    4.1. Make sure the cook does not requests wood (add some to the cook or the restaurant), cancel the request if necessary.
    4.2. Make sure there is wood burning in the furnace.
    4.3. Watch the cook not acting.
    4.4. Remove the excess fuel from the cook.
    4.5. The cook will pull wood from the furnace and craft wood planks.

Possible remedy

  • Make the cook (and other actors) not identify illegal fuel items as fuel.
    • Will prevent them from using it.
    • Will get them to actually craft planks as they don't see any other fuel item in heir inventory.
    • Will hopefully make them put illegal fuel items back into the building block and have them fetched by the deliveryman.
    • Might make them realize their request for wood has been fulfilled.
commented

Please ignore this reference. It was an error on my part.