ACS - v2.21
Im having a little trouble understanding what to do in the part of Game_Crafting lines 136-142., well the error occurs at 142. i dont understand what to do with "(Data/recipes.txt)" Line 136 tells me to Get the recipe list from the file (include a recipes.txt in Data folder) Im confused? I know it's got to be one of the small things easy to overlook or somthing.
#---------------------------------------------------------------------------
# Get the recipe list from the file (include a recipes.txt in Data folder)
#----------------------------------------------------------------------------
def initRecipes
@recipes = [removed to fit into post]
x = 0
fileName = "Data/recipes.txt" <--This is where im stuck
if File.exists?(fileName)
recipeFile = File.new(fileName, "r")
buildRecipeList(recipeFile)
exportData
else
@recipes = load_data("Data/recipes.rf")
end
end