Jump to content


Photo

Required Items

effect

  • Please log in to reply
3 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 7,120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 13 November 2012 - 12:18 AM

Effect: Required Items
-Tsukihime

This scripts allows you to assign required items that must be available in the battler's inventory before a skill/item is used.

When the skill/item is used, the required amounts are deducted from the inventory.
If insufficient material is available, the skill/item cannot be used.

Download

Script: Download here
Required: Effect Manager

Usage

Tag item/skills with

<eff: req_item id amount>
Where id is a letter followed by a number of the form
a1 for armor 1,
w2 for weapon 2,
i3 for item 3
And the amount of that item required.

Edited by Tsukihime, 09 March 2016 - 10:58 PM.

All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#2 Bunni89

Bunni89

    i shall rise like a phoenix... or a loaf of bread

  • Ace Member
  • 770 posts
  • LocationCardiff, Wales
  • RM Skill - Jack of All Trades

Posted 13 November 2012 - 12:58 PM

Wow thanks Tsukihime, this is awesome! Exactly what I needed for making a character that consumes spell scrolls in order to use magic~

.:: PERPETUAL NEWBIE ::.
...Like a million ideas but for now I need to practise...
My deviantART account: bunni89.deviantart.com


#3 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 7,120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 13 November 2012 - 05:29 PM

I fixed the instructions for the note-tag it was just `req_item` instead of `req_items`
All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#4 estriole

estriole

    Advanced Member

  • Ace Member
  • 1,999 posts
  • LocationIndonesia
  • RM Skill - Coder

Posted 14 November 2012 - 04:54 AM

nice script. now we have more option other than yanfly cost manager :D.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users