Save-Point
Item Combine Option - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Item Combine Option (/thread-4524.html)



Item Combine Option - DerVVulfman - 02-04-2013

Menu Item Add-On:
Item Combine Option

Version: 1.2



Introduction
This little feature adds itself to the default Scene_Item class, allowing the player to combine two individual items together to create a new item in their party's cache of goods.



Script
(>The Script<)



Instructions
Pretty much in the script. It may take a little time to get the hang of it.



Compatibility
Designed mainly for use with RPGMaker XP. However, it could mess with other systems that attach code to the Item systems



Terms and Conditions
Due credit for the script, and due credit for Raphael Rpg Games who put in the request for the script. Free for use, even in commercial projects.


RE: Item Combine Option - Raphael Rpg Games - 02-05-2013

The script was great Laughing , except that I found a bug Sad . When you combine an iten with the other (I, W or A), I get a text saying "Combining" Sarcasm . The item merge result appears, but the game crashes, does not leave the screen items, or make new combinations and just stands there.

You know, I think the best would appear to match the item appeared another course (where the cursor old stay more transparent) out instead of a new window!

See the picture:
http://imageshack.us/photo/my-images/10/montagems.png/

Also would be better if we could cancel the merger pressing "X". (We can only cancel when we are melting process? Indifferent )
You could make these updates, the other part of course is optional, but the bug Sarcasm + Confused ... this is very annoying!

Even more! Laughing


RE: Item Combine Option - DerVVulfman - 02-05-2013

I just discovered the bug. My bad. It was a case of me NOT resetting the item window as the current 'active' window. Without it being active, the system just fell asleep. Tongue sticking out Along with that, I reset the item window's index back to '0', so the cursor moves back to the top of the screen. This would ensure that no error would occur if the item list shrinks in size forcing the cursor to be in a position that no longer exists.

Pressing [Esc] can turn off the merging process whether you are in the USE/COMBINE window or the actual 2nd item selection window. Winking

I wouldn't wish to make both item selections to occur in the same window. That could force a full rewrite of the item window class as well as the scene code and could confuse the player.

In any case, you can now hit ESC in the ITEM/COMBINE window too, and the item window now refreshes and becomes active properly. I don't have a popup saying 'NEW ITEM: HAMBURGER' if you combine bread with ground beef or anything. Laughing But the result will show in the refreshed item list.


Winking It does sound neat that you can combine a POISON item with a Bronze knife to make a Bronze Poison Knife weapon, eh? Didn't think of that, did you?


RE: Item Combine Option - Raphael Rpg Games - 02-05-2013

Now yes, everything working perfectly Laughing + Tongue sticking out ! Thank DerVVulfman, I owe you one Winking !


RE: Item Combine Option - DerVVulfman - 02-12-2013

BUMP
to Version 1.2

Now slightly altered, it now allows you to permit items not designed to mix together to generate a general 'garbage' item.


RE: Item Combine Option - Soulstuckgunner - 05-08-2014

Would it be plausible to work this into a battle as a skill perhaps? Or is this only useable on the map? If so, do you think there's a way to translate this into a skill?