Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> ACS v2.21 Trouble, Data/recipe.txt
J3ST3R423
post May 22 2011, 12:27 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 19
Type: Developer
RM Skill: Beginner




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

This post has been edited by J3ST3R423: May 22 2011, 12:38 PM
Go to the top of the page
 
+Quote Post
   
Kread-EX
post May 22 2011, 12:47 PM
Post #2


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




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.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 12:23 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker