Jeremy Cannady

Coldfire
Regular
Joined
Oct 25, 2015
Messages
449
Reaction score
275
First Language
English
ItemCombination.js v1.0

DownloadLink

http://pastebin.com/aks2WGDd


Jeremy Cannady
Introduction
Simple script to make an item combination system. Please follow the notetags exactly.
Please PM if there are any questions, I made this for my current monster hunter rpg so
if it clashes with another script let me know!


Features
Makes and Item Combination system.

  1.   NoteTags
  2.         <comboChance:0.95>      where 0.95 is 95%
  3.         <comboIngredient1:1,1>  where you require one item #1
  4.         <comboIngredient2:2,3>  where you require three of item #2
  5.         <comboFail:4>                   If you fail you make item #4
  6.        
  7.         Plugin Commands
  8.         no spaces and the exact format, must have comboChance, at least one ingredient and the combo fail or will crash
  9.         itemComboForget 1       where you forget the recipe to combine item #1 which is a recipe
  10.         itemComboLearn 5                where you learn the recipe to make item #5
  11.         itemComboChanceChange 7,0.5     where you change item# 7 chance to combine to 0.5 which is 50%
  12.         ItemComboMenuEnabled true       where true or false enables the menu option or not
Screen Shot:

Untitled_zpsqlntxipz.png
 

 

Notetags


Notes_zps9iwlcjtr.png




How to Use
Put the script, must be named ItemCombination.js and needs to be Java script and not text file. 

Author's Notes

Send a message if there is any questions or would like to know how to change the colors to what you want them to be instead of my default ones I have used. Thanks
 
Last edited by a moderator:

Roguedeus

It's never too late to procrastinate...
Regular
Joined
Mar 19, 2013
Messages
570
Reaction score
127
First Language
English
Primarily Uses
N/A
This looks like a really nice script.

What are your terms of use? :)
 

Jeremy Cannady

Coldfire
Regular
Joined
Oct 25, 2015
Messages
449
Reaction score
275
First Language
English
Any body can use anything I create for whatever purpose they want. No credit necessary. Cut, copy and paste it doesn't matter to me.
Just message me if there is any problems or bugs. Also my script aren't that fancy because they are made for my needs first.
If any customs changes anyone wants then just message.
 

fm2107

Regular
Regular
Joined
Jun 12, 2014
Messages
81
Reaction score
22
First Language
english
what is the plugin command/script call to enable this from an npc
 

Jeremy Cannady

Coldfire
Regular
Joined
Oct 25, 2015
Messages
449
Reaction score
275
First Language
English
SceneManager.goto(Scene_CraftingMenu)

that should activate it just put it in the script box
 
Last edited by a moderator:

Roguedeus

It's never too late to procrastinate...
Regular
Joined
Mar 19, 2013
Messages
570
Reaction score
127
First Language
English
Primarily Uses
N/A
Any body can use anything I create for whatever purpose they want. No credit necessary. Cut, copy and paste it doesn't matter to me.

Just message me if there is any problems or bugs. Also my script aren't that fancy because they are made for my needs first.

If any customs changes anyone wants then just message.
I just tried it out and for the record it is impressive!

There is one significant issue I am having. The Combine screen does not scale to larger resolutions. It seems locked at default.

Another is that combinations that use more than single digit amounts overlap. combine_texterror.PNG

...

If you are interested in feature requests that don't completely redefine the plugin I can offer some. Starting with the option of defining experience to improve changes automatically. Something like, each success has a chance of increasing the success rate by a set amount.

Example:

<auto_improve: 0.25, 0.01>This note tag might cause that items success to automatically raise by 1% when its successfully created 25% of the time.

<auto_cap: 0.10>This note tag might cap such auto improvement to an additional 10%. So if the base is 35% it would cap at 45%. Requiring the normal improvement plugin command to improve further... etc...
 
Last edited by a moderator:

Jeremy Cannady

Coldfire
Regular
Joined
Oct 25, 2015
Messages
449
Reaction score
275
First Language
English
I run at default so I had no idea lol. (how are you changing the default resolution? with a plugin? If so let me know.)
I will check on that. I can improve the spacing between the required amounts.

The success chance increase thing seems easy to me. I can mess around with it and get back to you. 
I am at work so my work computer is so slow so I can't really do much at the moment.
 

Roguedeus

It's never too late to procrastinate...
Regular
Joined
Mar 19, 2013
Messages
570
Reaction score
127
First Language
English
Primarily Uses
N/A
I run at default so I had no idea lol. (how are you changing the default resolution? with a plugin? If so let me know.)

I will check on that. I can improve the spacing between the required amounts.

The success chance increase thing seems easy to me. I can mess around with it and get back to you. 

I am at work so my work computer is so slow so I can't really do much at the moment.
Yes I am using Yanfly's Core to run at a around ~720p with multiples of 48, but I haven't settled on a specific resolution. ;)

Another feature that I can think of, off the top of my head would be dismantling. Possibly as simple as running the combination in reverse, but having each ingredient use a defined chance of surviving.

<dismantle: 0.50>Would make the item dismantle into its ingredients, each having a 50% chance of surviving.

Dismantles can be learned with normal recipes, or separately.

I am sure I can think of more if you like!
 
Last edited by a moderator:

hemvp

Warper
Member
Joined
Sep 5, 2015
Messages
1
Reaction score
0
First Language
English
I may just be foolish in not knowing how to do this, but is there a way to make this combination option a special skill for a Chemist in the party instead of just being in the normal party menu?
 

hydro_sapien

Regular
Regular
Joined
May 26, 2014
Messages
59
Reaction score
9
First Language
English
Primarily Uses
I don't have any scripting skills however, I have some great ideas to expand on this plugin if you like.

Crafting Weapons and Armors.

Having different Types of Crafts (Smithing, Woodworking, Alchemy, etc.) 

Crafts could costs money (I'm sure people would want to implement NPCs that provide the service of crafting for you.)

I really really really, appreciate this plugin my project is very Item heavy. Thank you.
 

Jeremy Cannady

Coldfire
Regular
Joined
Oct 25, 2015
Messages
449
Reaction score
275
First Language
English
I am actively working on crafting weapons and armor.
I hope someone doesn't beat me to it.
It is crucial to my game as well. I will update you if I have any first drafts made.
 

sarugaki339

Villager
Member
Joined
Oct 31, 2015
Messages
28
Reaction score
4
First Language
English
Primarily Uses
I just started using this script specifically to craft weapons and armor and just realized it only makes items lol. So speaking for myself and I'd imagine others here, I would really like to see this script expanded to include craftable weapons and armors. Keep up the awesome work, it's very much appreciated ^^
 

Jenza

Regular
Regular
Joined
Oct 25, 2015
Messages
40
Reaction score
7
First Language
English
This looks amazing! Is there anyway to make it as a recipe system? So  the player needs to find/learn the recipe before being able to make it?

EDIT: didn't read it properly. Sorry! Amazing work!
 
Last edited by a moderator:

Syx666

Warper
Member
Joined
Oct 24, 2015
Messages
2
Reaction score
0
First Language
English
I've got a Scene_CraftingMenu is not defined. How do I fix this? Thanks in advance.
 

DustyCat Media

Indie Game Purrfector
Regular
Joined
Oct 15, 2012
Messages
115
Reaction score
71
First Language
English
SceneManager.goto(Scene_CraftingMenu)

that should activate it just put it in the script box
Kept trying this one and it still says "Scene_CraftingMenu is not defined".

I'm calling this one through an event and have put this in the script box. And yes, i've turned this on in the plugin manager.

Thank you. :)
 

RequLz

Villager
Member
Joined
Sep 30, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
^ Having the same problem as DustyCat D:
 

Dalpio

Warper
Member
Joined
Oct 29, 2015
Messages
4
Reaction score
0
First Language
한국어
[IMG]http://postfiles10.naver.net/20151103_233/haru117_1446562092599fXYXD_PNG/123123.png?type=w3[/IMG]

i cant read by NPC

and how add combine menu ?

[ pluginmanager : ItemComboMenuEnabled true ] is not changed menu 
 

Jeremy Cannady

Coldfire
Regular
Joined
Oct 25, 2015
Messages
449
Reaction score
275
First Language
English
The menu should be enabled in your game by default if you have at least one thing you can combine. If your note tags aren't set up correctly then bad times.

If you have it disabled in the game then to access it you need to go to the script window and typ ein 
SceneManager.goto(Scene_CraftingMenu)

I think you posted a picture but it is not working over here.
 

DustyCat Media

Indie Game Purrfector
Regular
Joined
Oct 15, 2012
Messages
115
Reaction score
71
First Language
English
Try this one:

http://pastebin.com/aks2WGDd

I will have to figure out the real problem later.
It finally worked! Thank you!!

One suggestion is to have all the texts in that menu customizable :)

Another suggestion is to have the "successful" and "failed" sounds customizable as well. :D

But anyway, thanks for this plugin!

[EDIT] When i press escape while in this menu, the game exits.

[EDIT2] I replaced "goto" with "push" and now it works fine. :)
 
Last edited by a moderator:

Latest Profile Posts

I realized recently since my game is still a turn based game, that something like the card game Yomi is a lot closer to what I should try to aim for combat wise. Should also help for those who don't really play fighting games to make things a bit easier to understand. ugh the struggles of trying to show love for my 2 favorite genres in 1 go lol.
Did a bit of work on the chemistry tiles I want.

Hey There!


QPcure.png

My next plugin will be: "Dynamic Temperature Stats"

Now you might be wondering... What does it do?

Well, it's a fascinating plugin that adds a body temperature mechanic to characters.

(MORE INFO ⬇️)
Holy crap, it's cold. Our heat went out this morning and the repair guy won't get the part needed to fix it at least until tomorrow. Had to be now of all times, when we have stuff to do all week and it's the coldest night of November so far.
I have invented a new food: soupie!
It is soup-pie! It's what happens when you try to make a pie, and it turns out super gooey and falls apart and you need a spoon to eat it! Soupie! Said like sue-pie. Not soupy - oh just let me eat my sad apple pie :kaothx:

Forum statistics

Threads
136,561
Messages
1,267,577
Members
180,244
Latest member
buttermequeasy334
Top