Jump to content

[BUG] Crock Pot seaweed-monster jerky recipe crash


Romah

Recommended Posts

If you still have the problem, here's a fix for it:
1: browse to your don't starve folder

2: enter folder "data" followed by "DLC0002"

3: enter folder "scripts" and open the file "preparedfoods.lua" with your text editor of choice

4: replace line 394 (it's the source of the crash) with this line:
test = function(cooker, names, tags) return names.seaweed == 2 and tags.fish and tags.fish >= 1 end,

 

original line 394:

test = function(cooker, names, tags) return names.seaweed == 2 and tags.fish >= 1 end,

 

Reason of the crash for those who are interested,

Original line have two requirements that it have to fulfill:

1: number of objects with the name "seaweed" should be equal to 2

2: the tag value of "fish" should be 1 or higher

Missing requirement:

3: the tag "fish" should exist in the crock pot

 

Due to the missing requirement you try to compare an empty value with a value, which is invalid.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...