Event Command: Change Item by Item Type

Status
Not open for further replies.

quackenbirdt

salieri09
Veteran
Joined
Aug 21, 2016
Messages
59
Reaction score
59
First Language
Filipino
Primarily Uses
RMMV
Hello guys, I'm relatively new to the forums, but I have already mastered the basics of RPGM Ace, well at least not in scripting.


So here is my concern, I wanted my game to have a trading system where players can trade their excess weapons or armor for a specific item. (eg. Player trades a dagger and a shortsword into a scrap metal.) And I want all applicable weapon or armor be able to be traded. The problem is, by doing this in a conditional branch, you have to manually add conditional branches for all weapons and armors (If weapon x is in inventory), and it will be a very tedious job for me to do, especially in my game, where there are 400+ weapons and armors.


I would like to have a conditional branch that checks for a "Item Type" eg. "Weapon, Armor, etc." or even a whole scripted system that opens a scene and let the player choose what applicable item to trade, in fashion like this: "Weapon + Weapon = Weapon Scrap; Armor + Armor = Armor Scrap.


Do anyone of you know such kind of a method or script?


Thank you very much.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
I've moved this thread to RGSSx Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
 

quackenbirdt

salieri09
Veteran
Joined
Aug 21, 2016
Messages
59
Reaction score
59
First Language
Filipino
Primarily Uses
RMMV
Ah, thanks, I didn't know exactly where to post this.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Just get a crafting script and add your recipes there for every trade option you want.


That is way better than making tons of conditional branches in your events.


I have seen a crafting script which lets you make these recipes, at least I think.


It is called something like "Do it yourself! Crafting System". 


If I remember right, that will let you make what you want, although I never personally used that script (or even seen it's code).
 

quackenbirdt

salieri09
Veteran
Joined
Aug 21, 2016
Messages
59
Reaction score
59
First Language
Filipino
Primarily Uses
RMMV
Just get a crafting script and add your recipes there for every trade option you want.


That is way better than making tons of conditional branches in your events.


I have seen a crafting script which lets you make these recipes, at least I think.


It is called something like "Do it yourself! Crafting System". 


If I remember right, that will let you make what you want, although I never personally used that script (or even seen it's code).
Yeah, I am already using Tactics Orge PSP Crafting System by Mr. Bubble, but it doesn't have an option to set a generic item type as a material, (sword, bow, etc.) so I'm pretty much stuck because it refers to a specific item id...., but thanks for the reply, I'll look into it. :D


Update: I found Mr. Bubble's Dismatle Items Script which allows me to replicate almost all the mechanics I wanted, I'll have to make a workaround on having two or more items as the base of dismatling. Other than that I think my problem is solved. You can close this now admins! :D
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.



In the future though we'd ask that you report your thread and ask for it to be closed, as we might not see the message saying it is safe to close it.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top