Cataclysm-dda: Crafting Cooking oil causes the program to become non responsive.

Created on 7 Apr 2016  路  6Comments  路  Source: CleverRaven/Cataclysm-DDA

0.C-12726-gcfc59e9
Win x64

Save directory:
https://mega.nz/#!qwFlgYoJ!QkVdKwRwRlDdBYY6PX5j9BE-bJzfGwvfW-7MBtORSRw

When I craft cooking oil, it does not show any containers I have in my inventory or nearby. This results in me having to dump the oil on the floor, which crashed the game. I don't get any debug messages.

It does, however show the container if I hold it. If I put it into a held container, ie a gallon jug, I get a "Gallon jug of cooking oil" with no listed amount.

Wishing for cooking oil results in "cooking oil (0)", or "Gallon jug of cooking oil" if I wish for it in a container.

Neither shows up in my crafting menu as usable.

I have tried making a new world with new survivor, same results.

All 6 comments

Updated to 0.C-12756-gf2fb560. Tried different PC, same bug, still crashes when I dump the oil.

I bet it has something to do with the strangeness here, as shown in the wish menu and crafting menu. SS's below.

The price and volume are bad, the portion is 0.

I can't find where cooking_oil is in the code, but I bet the .json entry is fine.

As it stands, crafting cooking oil effectively crashes the game.

image

image

Is it the only liquid to have this strangeness?

I think I found it:

ae7e366 removes charges from cooking oil. Default charges are 0, not 1.

I'm working on a PR that makes charges: 1 the default so that should resolve this issue

It's also supposed to be two charges per volume, not one.

Was this page helpful?
0 / 5 - 0 ratings