i guess i have to check my patch still work or not in new version 😀 . hopefully it still work >.<.
Tactics Ogre PSP Crafting System
RGSS3 Scripts (RMVX Ace)Updated the script again to fix a bug. Added some new features as well.
v2.01
I think it should still work. I didn't change anything too drastic. I didn't test it though.
v2.01
- Bugfix: Fixed ingredient numbers in info window.
- New tag: <craft result>. See comments for more info.
- You can now run a common event after crafting an item.
- You can now change how many of an item you gain per set of ingredients. (5/02/2013)
I think it should still work. I didn't change anything too drastic. I didn't test it though.
just yesterday someone request a script to increase yanfly's subclass exp when crafting item (main class). i gave him the code to raise subclass exp but tell him work himself for linking to item creation. from now it's possible by running common event 😀 .
can you make it compatible with tsukihime's Scene_Interpreter script.
http://himeworks.wordpress.com/2013/03/30/scene-interpreter/
so the scene can run common event in that scene tocrafting instead of returning to scene_map.
because if we craft something. exp increase/do anything simple in common event. then need to open up the scene tocrafting to craft again. it will time consuming 😀 .
in my phone menu script i'm currently developing (99% complete). i use this method to call common event inside my Scene_Phone.
almost all common event command works (except the one which require in Scene_Map like movement, animation, etc)
please please please 😀 .
edit: forgot to include this code
def wait_for_interpreter update endafter pressing the command. i made the scene wait for interpreter. only updating it. if i don't do that strangely common event sometimes not finish. >.<.
can you make it compatible with tsukihime's Scene_Interpreter script.
http://himeworks.wordpress.com/2013/03/30/scene-interpreter/
so the scene can run common event in that scene tocrafting instead of returning to scene_map.
because if we craft something. exp increase/do anything simple in common event. then need to open up the scene tocrafting to craft again. it will time consuming 😀 .
in my phone menu script i'm currently developing (99% complete). i use this method to call common event inside my Scene_Phone.
almost all common event command works (except the one which require in Scene_Map like movement, animation, etc)
def call_common_event(id) if $imported["TH_SceneInterpreter"] == true @interpreter.setup($data_common_events[id].list) @phone_command.activate else dispose_phone_background @phone_command.dispose $game_temp.reserve_common_event(id) SceneManager.return end endi also have to put some 'halt' code when @interpreter.running? so the common event didn't get 'cutted' in the middle.
like this:
#this for when interpreter running cannot press escape to exit the scene def update_input if Input.trigger?🙂 return @phone_command.activate if $imported["TH_SceneInterpreter"] == true && @interpreter.running? Sound.play_cancel dispose_phone_background @map.dispose $game_temp.phone_last_icon = nil return_scene end end #this for waiting the interpreter before going to next step. def on_phone_menu_ok $game_temp.phone_last_icon = @phone_command.index eval(PHONE_SCRIPT[@phone_command.current_data]) if PHONE_SCRIPT[@phone_command.current_data] @phone_command.activate if !PHONE_SCRIPT[@phone_command.current_data] if $imported["TH_SceneInterpreter"] == true wait_for_interpreter while @interpreter.running? @phone_need_redraw = true if $imported["TH_SceneInterpreter"] == true @phone_command.need_redraw = true if $imported["TH_SceneInterpreter"] == true end end #and these so i can halt things in windows too so when interpreter running cannot press left right ok, etc.class Scene_Base def interpreter @interpreter endend#this is the window part alias est_phone_process_cursor_move process_cursor_move def process_cursor_move return if $imported["TH_SceneInterpreter"] == true && SceneManager.scene.interpreter.running? est_phone_process_cursor_move end alias est_phone_process_handling process_handling def process_handling return if $imported["TH_SceneInterpreter"] == true && SceneManager.scene.interpreter.running? est_phone_process_handling end
like this:
#this for when interpreter running cannot press escape to exit the scene def update_input if Input.trigger?🙂 return @phone_command.activate if $imported["TH_SceneInterpreter"] == true && @interpreter.running? Sound.play_cancel dispose_phone_background @map.dispose $game_temp.phone_last_icon = nil return_scene end end #this for waiting the interpreter before going to next step. def on_phone_menu_ok $game_temp.phone_last_icon = @phone_command.index eval(PHONE_SCRIPT[@phone_command.current_data]) if PHONE_SCRIPT[@phone_command.current_data] @phone_command.activate if !PHONE_SCRIPT[@phone_command.current_data] if $imported["TH_SceneInterpreter"] == true wait_for_interpreter while @interpreter.running? @phone_need_redraw = true if $imported["TH_SceneInterpreter"] == true @phone_command.need_redraw = true if $imported["TH_SceneInterpreter"] == true end end #and these so i can halt things in windows too so when interpreter running cannot press left right ok, etc.class Scene_Base def interpreter @interpreter endend#this is the window part alias est_phone_process_cursor_move process_cursor_move def process_cursor_move return if $imported["TH_SceneInterpreter"] == true && SceneManager.scene.interpreter.running? est_phone_process_cursor_move end alias est_phone_process_handling process_handling def process_handling return if $imported["TH_SceneInterpreter"] == true && SceneManager.scene.interpreter.running? est_phone_process_handling end
edit: forgot to include this code
def wait_for_interpreter update endafter pressing the command. i made the scene wait for interpreter. only updating it. if i don't do that strangely common event sometimes not finish. >.<.
I already did.
Well, partially. 🙂 I didn't do the input prevention checks as you did. But if Scene Interpreter is installed and if the common event has the correct comment tag, it will stay in the scene.
I will work on it in the coming days. Thanks for the examples.
Mr.Bubble.
I love your script and I also want to let people know you can use this as a cooking system as well.
Thank you for your most recent update of your script, because getting more than one item per recipe was exactly what I was trying to do.
Chop up a fish for fish bait using knife and fish. So one chopped fish can produce four fish pieces.
I was struggling and couldn't figure it out. Then you updated the amount note tag and this script is PERFECT!
Again, thank you for making this script!
I love your script and I also want to let people know you can use this as a cooking system as well.
Thank you for your most recent update of your script, because getting more than one item per recipe was exactly what I was trying to do.
Chop up a fish for fish bait using knife and fish. So one chopped fish can produce four fish pieces.
I was struggling and couldn't figure it out. Then you updated the amount note tag and this script is PERFECT!
Again, thank you for making this script!
Been looking at and using this script for a bit, and love how nice it is to use.
But I may be missing something here.
It works fine and well when you have the materials you want to make something.
Let's say this.
Potion = 1 Water + 1 Jelly + 20 gold.
You have all of these. You get potion.
And of course it denies you if you don't. Which is all well and good.
But I just want to make sure I'm not missing something in testing.
I tried to make some items in-game.
Using similar formulae.
Say you have:
3 Water
2 Jelly
40 gold.
In theory you should only have enough materials to make 2 potions, right?
I've been able to go over that and obtain 99 potions.
Is there something within the script I might be missing?
Because it's a brilliant script, and I would love to keep on using it.
Thanks.
But I may be missing something here.
It works fine and well when you have the materials you want to make something.
Let's say this.
Potion = 1 Water + 1 Jelly + 20 gold.
You have all of these. You get potion.
And of course it denies you if you don't. Which is all well and good.
But I just want to make sure I'm not missing something in testing.
I tried to make some items in-game.
Using similar formulae.
Say you have:
3 Water
2 Jelly
40 gold.
In theory you should only have enough materials to make 2 potions, right?
I've been able to go over that and obtain 99 potions.
Is there something within the script I might be missing?
Because it's a brilliant script, and I would love to keep on using it.
Thanks.
Sorry, that's a bug. I've fixed it now. Please update to v2.03 and let me know of any abnormalities you experience again.
v2.03
[IMG]http://mrbubblewand.files.wordpress.com/2012/07/tocrafting17.png[/IMG]
v2.03
- Compatibility Update: “TH_SceneInterpreter”
- Bugfix: Fixed bug where selecting the number to craft ignores the amount of ingredients available. (5/11/2013)
[IMG]http://mrbubblewand.files.wordpress.com/2012/07/tocrafting17.png[/IMG]
Just swapped it out, and tested it. Works nicely.
Thanks for the response. :3
Can't say much for myself. I don't look or post here every day or often enough. >w<
Thanks for the response. :3
Can't say much for myself. I don't look or post here every day or often enough. >w<
thx for the patch. 😀 . this script is the best crafting script ever before. now it's even better 😀 .
Hi,
is there a way to use different ingredients to craft 1 item?
For example if u have 1 stone u can craft a sword or if u have a black stone u can craft the same sword.
So the ingredients for the sword can be the stone or the black stone.
Very nice script btw. 🙂
is there a way to use different ingredients to craft 1 item?
For example if u have 1 stone u can craft a sword or if u have a black stone u can craft the same sword.
So the ingredients for the sword can be the stone or the black stone.
Very nice script btw. 🙂
Oh man, so i don't think I've commented on your script before. Would like to state that when I first found it, it was like a godsend, since it's just so superior to the other alchemy script I was trying to use. XD
Now since this post is a request for a feature, I won't be offended if you ignore it~! But I would love either one of the following two features:
A choice to have the common event not exit the crafting scene.
An option to change a variable each time something is crafted.
Both of these will have the same result for me, since the goal is to have an "Alchemy Skill" variable which goes up by one each time something is crafted, and in a few cases more than one. But it's a bit inconvenient as a common event as it is right now because it exits the scene.
Another thing that might solve my problem, and also make others happy, is to have an optional function for an "Alchemy Skill" built into the script, but that sounds like it'd be harder to do than adding a variable. Wouldn't know though.
Now since this post is a request for a feature, I won't be offended if you ignore it~! But I would love either one of the following two features:
A choice to have the common event not exit the crafting scene.
An option to change a variable each time something is crafted.
Both of these will have the same result for me, since the goal is to have an "Alchemy Skill" variable which goes up by one each time something is crafted, and in a few cases more than one. But it's a bit inconvenient as a common event as it is right now because it exits the scene.
Another thing that might solve my problem, and also make others happy, is to have an optional function for an "Alchemy Skill" built into the script, but that sounds like it'd be harder to do than adding a variable. Wouldn't know though.
Already possible. Install Scene Interpreter as well and follow its directions for the comment tag. http://forums.rpgmakerweb.com/index.php?/topic/11063-scene-interpreter/
Pretty sure you can just use a common event unless you mean a specialized notetag?
This is already a planned feature for a future update. I just haven't had time to work on it lately.
It's possible, but I am conflicted on how to properly implement this. Don't expect this any time soon.
Oh! I didn't realize there was a script for that! Thank you. That solves the problem. The reason I had been asking for it to change variable was in case you can't have the common event run without exiting or something. That pretty much will solve my problem though, thanks~
And excellent~ A properly implemented alchemy skill will be better than using variables, or at least it'd be a bit cleaner and neater looking. The other feature Central mentioned would be handy as well. Looking forward to future updates~
And excellent~ A properly implemented alchemy skill will be better than using variables, or at least it'd be a bit cleaner and neater looking. The other feature Central mentioned would be handy as well. Looking forward to future updates~
really awesome updates... been a while since I visited this thread (last version I used was 1.4 I guess)... The new info pages was really interesting...
love it
Hey,
I really love your script and was wondering if there is any way to make this compatible with Dekita's $D13x - Unique Equipment.
I'm not really sure what's the problem, but if used together the scripts produce this error:
Script 'Game_Interpreter' line 1411: TypeError occured.
can't clone Symbol
And I also hope the crafted Items will work with the Equipment Randomizer feature.
Since the Unique Equipment Script is only available in Dekita's Master Demo and not yet posted in the completed scripts, I an't give a link and am not allowed to repost it, so I'll have to post this link to the master demo and am sorry for this.
http://dekitarpg.wordpress.com/2013/06/03/d13x-master-demo/
I hope there is a way to make this script work together with his unique equipment and the addons like equip randomizer, etc.
If it is not possible, please let me know as well.
Thanks in advance
Ice Cluster
I really love your script and was wondering if there is any way to make this compatible with Dekita's $D13x - Unique Equipment.
I'm not really sure what's the problem, but if used together the scripts produce this error:
Script 'Game_Interpreter' line 1411: TypeError occured.
can't clone Symbol
And I also hope the crafted Items will work with the Equipment Randomizer feature.
Since the Unique Equipment Script is only available in Dekita's Master Demo and not yet posted in the completed scripts, I an't give a link and am not allowed to repost it, so I'll have to post this link to the master demo and am sorry for this.
http://dekitarpg.wordpress.com/2013/06/03/d13x-master-demo/
I hope there is a way to make this script work together with his unique equipment and the addons like equip randomizer, etc.
If it is not possible, please let me know as well.
Thanks in advance
Ice Cluster
Mr. Bubble, I'm dropping by your thread again to give you props for making this script. I've been using it ever since last year!
Ditto on that.
Something else came up, I'm not sure is a bug, but I'll note it here anyway.
Occasionally when playing and visiting the NPC shops and synthesis shops. I noticed this:
Sometimes upon loading, visiting a NPC that offers synth services, it brings up a normal shop last visited (I think, if not, random.)
Coming out of this, then seeing the NPC again brings up the synth shop no problem.
Now, I'm not 100% on how or why this happens, as it doesn't exactly crash or kill the game in any way.
It might be this:
Visit a normal NPC shop.
Don't visit a synth shop.
Save.
Reload.
Visit synth shop. (Bringing up last normal shop's inventory.)
It's not just limited to a single shop either, and I believe it to be the last shop visited as it sometimes showed different inventories.
I could share a demo with a save up to a point where synthesis becomes availble in-game if needed.
Something else came up, I'm not sure is a bug, but I'll note it here anyway.
Occasionally when playing and visiting the NPC shops and synthesis shops. I noticed this:
Sometimes upon loading, visiting a NPC that offers synth services, it brings up a normal shop last visited (I think, if not, random.)
Coming out of this, then seeing the NPC again brings up the synth shop no problem.
Now, I'm not 100% on how or why this happens, as it doesn't exactly crash or kill the game in any way.
It might be this:
Visit a normal NPC shop.
Don't visit a synth shop.
Save.
Reload.
Visit synth shop. (Bringing up last normal shop's inventory.)
It's not just limited to a single shop either, and I believe it to be the last shop visited as it sometimes showed different inventories.
I could share a demo with a save up to a point where synthesis becomes availble in-game if needed.
The first question I ask in this case is: are you using other custom scripts?
It's very unlikely my crafting script is the culprit since I did no modifications to the default shop scene.
Let's see...
Related things would be:
Too Much Information, V1.0
Info Pages Window, V1.0
Reader Functions, V1.4
Tsukuhime's Shop Manager, V1.5
Tactic's Ogre PSP Crafting System, V2.03
Tactic's Ogre Crafting Main.

The ordering seems fine and there isn't really any game-killers.
Granted, it could be a bit neater in layout.
Not too much I can do besides offer an updated game demo with a save at an appropriate point.
Even so, I can't guarentee that the random effect would happen or not. :3c
Related things would be:
Too Much Information, V1.0
Info Pages Window, V1.0
Reader Functions, V1.4
Tsukuhime's Shop Manager, V1.5
Tactic's Ogre PSP Crafting System, V2.03
Tactic's Ogre Crafting Main.

The ordering seems fine and there isn't really any game-killers.
Granted, it could be a bit neater in layout.
Not too much I can do besides offer an updated game demo with a save at an appropriate point.
Even so, I can't guarentee that the random effect would happen or not. :3c
Original thread: https://forums.rpgmakerweb.com/threads/tactics-ogre-psp-crafting-system.3499/