PrexCraft - Crafting Script

I'm not gettin no errors or anything, but I can't get the smithing screen to show any recipies... I feel so stupid...

EDIT: Okay, I got it working now, but I can't see any of the words on the crafting window.
SEE-
http://img267.imageshack.us/img267/5290/ngfsndnod0.png[/img]
Try using the demo instead, it might be an error with the web script.
I downloaded the DEMO, but it says I don't have the compatable player for it. I'm usin Postality Knights. I h8 it...
I WANNA USE THIS SCRIPT! I'VE BEEN LOOKIN ALL OVER FOR A SCRIPT LIKE THIS FOR MY GAME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Umm...do you have the leagle version of RPGMakerXP?
Yes, you just change the name of the type of the crafting item... whatever...
You know how when you put down blacksmith when you make an item? Well instead of putting blacksmith, you put like fletching, and when calling the crafting screen, you put fletching instead of blacksmith.

There may be a few other steps to that, or I could be completely wrong, but I hope I atleast helped with what NOT to do...
*FAINTS IN AWE*
Is it possible to change this system so that it's more like Star Ocean 2's crafting?

For example instead of choosing the recipe, you choose the ingredients and you randomly make an item from a list of possible things to make. If you fail, you get another item. And some items can only be made at certain skill levels.

Is this possible? Great script nonetheless!
Well all i can say is...

HOLY CRAP! this is the system that ive been looking for! So long waiting... so long.... :'(

Just a couple quick question can i make the crafting option be in the main menu? Or do i just need to mess around till i find a way?

Yes as stated before is ther a way to add more TRADES?

Anyway ill be messing with this for awhile!
[QUOTE=eharper256;150495]This is cool. But I'd like to request some features for it...
1: Like Keke suggests, a confirmation window would be nice.
2: The ability to change the SE played when you make a recipe- I'd like to hear a 'clink-clink-clink' noise for smithing, and a bubbling/boiling noise for potion making and so forth. Just adds significantly to the immersion.
3: Perhaps a way to show how stats have changed from the base item rather than just showing the new items stats. This would be very useful in the case of weapons & armours; I may not remember what the base objects stats are, and when If I changing 'pointy sword' into 'vicious sword' I'd like to know what the difference is without having to check my inventory, write it down and come back again to ensure I'm not wasting my stuff...[/QUOTE]

Yes , this Script hasn't had a Confirm Window when craft an item yet . And Prexus - you should make it to complate this Script ^_^

.
I've got an issue.

After learning so many recipes, it gets to a point where the new recipe names are completely blank but they are there in the script itself.

http://i9.photobucket.com/albums/a68/Szaan/prex_bug.png[/IMG]

EDIT: Also, the recipes have been learned via an item.
I figured out how to add individual sound effects to this, based on the type of thing produced...
In 'Scene_Craft'

[B]Find:[/B]
  def update
    @recipe_list.update
    @result_info.update(@recipe_list.data)
    @result_comp.update(@recipe_list.data)

[B][U]Underneath add:[/U][/B]
    recipe = Craft.get_recipe(@recipe_list.data)

[B]Then Find:[/B]
    if Input.trigger?(Input::C)
       if craft(@recipe_list.data)

[B][U]And Replace the default SE call with this:[/U][/B]
        case recipe['RESULT'][0]
        when 0
        Audio.se_play("Audio/SE/126-Water01", 80, 150)
        when 1
        Audio.se_play("Audio/SE/097-Attack09", 80, 150)
        when 2
        Audio.se_play("Audio/SE/097-Attack09", 80, 150)
        end
Expand to see the code.

If you have a better SFX, replace the ones here with something else; just alter '126-Water01' to 'Mysound' or whatever. You don't need the extension; but it must be imported into your SE folder.

Also, I sort of got around the whole confirmation box thing by masking the crafting scene in events; and adding a dispose scene command in the script after the item was made. This has two useful purposes; One, it stops you going on an item making frenzy and wasting ingredients, and Two, allows me to add some random amount of time to the ingame clock. (With a message 'You took x minutes to make that!')

This works excellently for me, since I use an alchemy sound for items made, and a custom made smithing noise for weapons and armour.
Ahhhhhhhhhhhhh , please edit it , I need a Confirm Window when craft an item :((


.
I tried to figure out how to add a confirmation box, but couldn't I'm afraid. My scripting skills are skill pretty mediocre; after all. You'll have to wait for Prexus to come back from his slumber or find a workaround like I did.
Hic , Prexus , please come back and complate your Script :((
@ All : hey everyone , who help me add confirmation box to this Script ?
@ eharper256 : thanks

.
The script is complete as is. Stop asking for a confirmation window. It's about 10 lines of code. Figure it out yourself.
ohhhh ho ho.... sombodys angry! ;)

Well thanks for a great script anyway! sniff.... ill just find a way to make it in the menu...... *cries*

Edit: But WAIT I HAVE A WAY!! I found yout how using the cheat imput script!!!
Hooray for ingenuity! I figured it out too but I'm not going to use it, like he said, it's complete already.
Hey Prexus , I need your Script , please help me for confirmation window ( I'm noob ) . It's very easy with you but difficult with me

.
[QUOTE=Prexus;155999]The script is complete as is. Stop asking for a confirmation window. It's about 10 lines of code. Figure it out yourself.[/QUOTE]

Keke, learn to read. Prexus has stated that you do it yourself, which I believe you should.
I made 20 Recipes , and open the Scene_Craft , but only 14 Recipes visible ! That's a bug , please fix it !

!
okay, I'm a noob and this is probably a noob question. I'd like to add options to my menu(Default Menu) which will call the blacksmith and cooking scenes. Could someone please tell me how to do this? I might be able to figure it out if I could find the correct script to edit. I already know how to call the script from events, I just want to add it to my menu.
I have a problem, it says this

Script 'PrexCraft' line 671: NoMethodError occurred.
undefined method 'include?' for nil:NilClass
Expand to see the code.


Any idea how to fix this?
After a tutorial or two, I managaed to edit my command menu to call this script. It works great. I know you've said the script is finished, but if you ever feel like working on it again, could you implement a way to un-craft something? Dissasembling, reversing the recipe, whatever you want to call it. I think that would be a nice feature.
[QUOTE=Keke;164315]I made 20 Recipes , and open the Scene_Craft , but only 14 Recipes visible ! That's a bug , please fix it !

![/QUOTE]

Please aswer me ! Hixxxxx !

!
Hey, Just so you know i'm having problems, I added a item called Steel Sword and this keeps popping up and stopping me from testing.

Script 'PrexCraft' line 114: SyntaxError occurred

I'd like to start working on making more equipment so yeah, if i could get some help PPPLLLEAAAASSSSEEEEEE That'd be great.

btw, this is what i imputed for the error that occurred. (Its the same that the
script has)

114 def self.valid_recipe?(name) <----- Thats the problem
115 for recipe in RECIPES
116 return true if name == recipe['NAME']
117 end
118 return false
119 end
[QUOTE=Trenzer;167004]I have a problem, it says this

Script 'PrexCraft' line 671: NoMethodError occurred.
undefined method 'include?' for nil:NilClass
Expand to see the code.


Any idea how to fix this?[/QUOTE]

It would help if you provided what was on line 671.
I have an error in line one! How could that happen?
Uhhh. That's weird
[QUOTE=Ryn;206660]I have an error in line one! How could that happen?[/QUOTE]

have you forgot the # ?
Hello everyone. I was wondering if someone could help me with something. I would like to go to the cook and see a list of, let's say, 50 "Unknown" or "???" Recipes. Kind of like:

01: ???
02: ???
03: ???

Then, after you learn "02: Mushroom Soup"...It would something like this:

01: ???
02: Mushroom Soup
03: ???

And so on...Just an idea that I though be cool. If someone could please help me it would be deeply appreciated. Thanks!

-Jimmy

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=11261