CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.59k stars 4.16k forks source link

"invalid recipe id " when Farming Plots (PR 9766) #34780

Closed evankimori closed 5 years ago

evankimori commented 5 years ago

Describe the bug

DEBUG : invalid recipe id ""

FUNCTION : const T& string_id::obj() const [with T = recipe] FILE : src/recipe_dictionary.cpp LINE : 59

Steps To Reproduce

Attempting to use 'Farm plots' in Zone Activities menu results in the error. No seeds are in inventory aside from tools. Seeing a repeated "The required items are not available to complete this task. x(x)" message in the event log on the right after (I)gnoring the error and proceeding with the task even if "No Seed" is selected in the original Zone Designation.

Expected behavior

Not too sure as to the cause but the tilling is attempted with a metal Shovel and there are Shrubs in the highlighted zone designed via Zone Manager in the Tilling zone which have not been removed prior.

Versions and configuration

Additional context

Belen.zip

ghost commented 5 years ago

Im guessing the "no seed" farming zone tries to find an empty requirements id. I can add special handling for that type of farming zone to not do any planting or try and find any seeds for it ( I thought I did this before, but apparently not )