Skills that Consume Items (RTAB)
#1
Skills that Consume Items
Ver 1.00a*
Original version found at http://members.jcom.home.ne.jp/cogwheel/
NOT by DerVVulfman
v 1.00a due to my correction for 'inconsumable' items.

Introduction
Originally posted in japanese, this is a translation of a script addition that allows you (the creator) to design spells that use (or consume) items as well as SP.



Features
  • Can specify 1 or more different items needed per spell
  • Can set it so multple quantities (potion x6) needed
  • Skills show as disabled if not enough items available for use
  • FIXED: so items that are NOT consumable (talismans) not consumed


Screenshots
None. Just looks like a regular Skill selection screen.

Demo
CLICK HERE (V 1.16)

Script
In truth, the name was... paraphrased from the original Japanese version. Syntax differences and so on. So, I went with the closest definition.
Skills that Consume Items (Japanese Version)
Skills that Consume Items (English Translation)


Instructions
Just copy/paste this code right under the HP/SP/EXP Gauge Script v1.00 (yep, I translated it) which is the last script in Minkoff's adaption of Cogwheel's RTAB system.

This system allows you to use skills that rely on consuming items. If for example, you use a skill that relies on potions and perfumes, the specified items (and quantities) are used and reduced in your inventory.
As this system allows certain skills to RELY on items, these skills will be disabled if you do not have enough of the required items it needs.

In the below example, we have it coded so in order to use the "Heal" skill,
you will need to use a single "Potion" and 2 "High Perfume" items.

Code:
when "Heal"
      return [["Potion"], ["High Perfume", 2]]
But, in the next example, you'll see the code to use a "Fire" skill merely using
a single "Molotov Cocktail" item (no... it's NOT part of the default items in RMXP).
Code:
when "Fire"
      return [["Molotov cocktail"]]

Compatibility
This script IS pretty basic and has been in use quite a while... and still works with the newest versions of RTAB... even v 1.14.

Credits and Thanks
Thanks to Cogwheel for making such a wonderful system, that has many adaptable features.

Author's Notes
I'm NOT the author. Oh, well...

Terms and Conditions
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Klass Change & Skills XP kyonides 1 1,231 05-29-2023, 07:39 AM
Last Post: kyonides
   KDualWield & Accessory Skills XP kyonides 1 1,335 02-10-2023, 06:53 AM
Last Post: kyonides
   Actor Battle Items DerVVulfman 4 6,050 11-08-2020, 12:36 PM
Last Post: Mel
   Draining Skills! / Compatible with ABSes and custom non-active BSes / No SDK required DrHouse93 0 4,854 06-24-2016, 11:43 AM
Last Post: DrHouse93
   Lycan Slip-Thru Items/Skills DerVVulfman 0 4,792 03-14-2013, 07:02 AM
Last Post: DerVVulfman
   Skills : Replacements Kain Nobel 0 4,818 12-29-2012, 07:16 AM
Last Post: Kain Nobel
   MrMo's Item-Using Skills DerVVulfman 0 5,376 04-05-2012, 03:52 AM
Last Post: DerVVulfman
   Super Simple Cursed Items DerVVulfman 0 4,699 03-22-2012, 03:34 AM
Last Post: DerVVulfman
   Passive Skills DVV DerVVulfman 12 24,104 08-03-2011, 03:53 AM
Last Post: DerVVulfman
   MrMo DVV Add-On #14: Ingrid's Enhanced Items DerVVulfman 2 7,479 07-13-2011, 11:51 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)