Help - Search - Members - Calendar
Full Version: ACS v2.21 Trouble
RPG RPG Revolution Forums > Scripting > Script Development and Support
J3ST3R423
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
Kread-EX
You need to create a file named recipes.txt and put it in the Data folder of your game. Then you need to fill the files according to the instructions.

I suggest you to download the demo and check the recipes.txt file in it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.