Version 2.00 (5/25/2013)
This script is based on the Chemist job class command “Mix” from Final Fantasy 5. Mix allows the user to mix any items from the party’s inventory for a variety of effects in battle.
All item combination formulae must be defined in the customization module.
- You can now mix any amount of items together.
- You can now create mix formulae for any number of items.
- Combination search algorithm changed.
- The <mix> tag has changed.
- Script call ‘get_mix_id_result’ has changed. (5/25/2013)
- Added developer utility script calls. (8/04/2012)
- v1.02 :
- Compatibility: “YEA-BattleCommandList” support added.
- Compatibility: “YEA-BattleEngine” support added.
- Fixed issues related to Attack Times+.
- Unused mix items are now properly returned after battle.
- Unused mix items are now properly returned when an actor dies.
- Unused mix items are now properly returned when switching actors.
- Console window now outputs when items are returned to inventory.
- Game_Actor#prior_command is no longer aliased.
- Comments added/changed.
- Efficiency update. (8/03/2012)
- Compatibility: Mix window properly resized for “YEA-BattleEngine”
- Fixed crashes when using items normally.
- Efficiency update with console output. (8/03/2012)
- Initial release. (8/03/2012)
The targeting Scope of the result item will stay intact when made through mixed items. If the result item requires a player-selected target, the player can do so.
Spelling is very important with this script. Because of the high potential for user-errors to occur in regards with spelling errors, I’ve provided the option to have messages appear in the Playtest console window whenever certain errors or spelling mistakes associated with this script are encountered.
Item ID combinations will always take precedence over Mix Type combinations if the selected mix items have a potential result in both.
If DEBUG_INFO is true, you will sometimes be informed in the console window whenever mix items are returned to the party’s inventory. Please report to me when items are supposed to be returned to you but are not with information on how to reproduce it.
Note: Some tags are given shorter tags for typing convenience. You only need to use one <tag> from a given group for a notebox. Use common sense.
The following Notetag is for Skills only:
This tag turns the skill into a Mix skill, where n is the maximum number of items the actor can mix together. When a Mix skill is selected in battle, a window with all possible mixable items will appear. The player will not know what item is produced until the item is actually used. Mix skills do not have any special effect outside of battle. If n is not included with the tag, the default maximum item selection is 2.
The following Notetags are for Items only:
This tag defines an item’s Mix Type where type is any type name you defined in MIX_TYPES in the customization module WITHOUT the colon. For more information about Mix Types, see the comments in the Mix Type Formulae section in the customization module. If the type in the tag is not found in MIX_TYPES, a message in the console will tell you.
This tag will flag the item as unmixable. Items with this tag will not appear in the Mix window.
The following script calls are meant to be used in “Script…” event commands found under Tab 3 when creating a new event command.
This script call will output all possible Mix ID formulae or Mix Type formulae to the console window.
Get the Item ID result of any given Item IDs where id is Item ID numbers from your database. You can list any number of ID numbers separated by commas as you like. If a result cannot be found with the given ID number arguments, it will return 0. This script call is meant to be used in the “Script” box within “Control Variable” event commands.
I received the Syntax Error “unexpected tLBRACK, expecting ‘}’. How do I fix it?
This means you forgot the comma after the result_item_id number.
How do I stop the debug messages from appearing in the console window?
Set DEBUG_INFO to false in the customization module.
Due to the nature of this script, script incompatibilities with other scripts is likely and expected. Please do not ask if [insert script here] is compatible with this script. You can test it yourself.
Custom battle systems are very likely to have issues with this script especially ones that are not turn-based like the default battle system.
If you run into incompatibilities, please report them to me with a link to the script and I will try to make it compatible.
This script aliases the following default VXA methods:
Requests for compatibility with other scripts are welcome.
Terms and Conditions
Please do not repost this script elsewhere without permission.
Free for non-commercial use. For commercial use, contact me first.
Newest versions of this script can be found at https://mrbubblewand.wordpress.com/