RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
DoubleX RMMV Item Charge

0 Members and 1 Guest are viewing this topic.

***
Scripter
Rep:
Level 36
Changelog
Code: [Select]
*      v1.00a(GMT 0800 28-8-2016):                                           
 *      1. 1st version of this plugin finished                               

Authors
DoubleX

Credits
DoubleX(Optional)

Purpose
Lets you set skills/items to need turns to charge before using

Games using this plugin
None so far

Parameters
Code: [Select]
* @param isEnabled
 * @desc Sets whether this plugin will be enabled
 *       It'll be stored as a boolean, and will be regarded as true if and only
 *       if it's true
 *       Don't change this during the same battle unless you really know what
 *       you're truly foing
 *       E.g.: Setting isEnabled as false will disable this plugin
 * @default true
 *
 * @param textColor
 * @desc Sets the text color of the text showing the number of turns needed to
 *       charge the skill/item on the skill/item window
 *       It'll be stored as a Number
 *       Don't change this when it's shown to ensure proper text displays
 *       E.g.: Setting textColor as 31 will set the text color of the text
 *             showing the number of turns needed to charge the skill/item on
 *             the skill/item window as 31
 * @default 30

Notetags
Code: [Select]
*    # Skill/Item Notetags:                                                 
 *      1. <item charge: turns>                                               
 *         - Sets the number of turns needed to charge the skill/item before 
 *           using it as turns                                               
 *         - E.g.:                                                           
 *           <item charge: 1> will set the number of turns needed to charge   
 *           the skill/item before using it as 1                             
 *         - Only the 1st notetag will be used                               

Plugin Calls
Code: [Select]
*    # Configuration manipulations                                           
 *      1. $gameSystem.itemCharge.param                                       
 *         - Returns the stored value of param listed in the plugin manager   
 *         - E.g.:                                                           
 *           $gameSystem.itemCharge.textColor will return the stored value of
 *           parameter textColor shown on the plugin manager                 
 *      2. $gameSystem.itemCharge.param = val                                 
 *         - Sets the stored value of param listed in plugin manager as val   
 *         - E.g.:                                                           
 *           $gameSystem.itemCharge.isEnabled = false will set the stored     
 *           value of parameter isEnabled shown on the plugin manager as false
 *         - All $gameSystem.itemCharge.param changes will be saved           
 *    # Skill/Item notetag manipulations                                     
 *      1. meta.itemCharge                                                   
 *         - Returns the <item charge: turns> notetag value turns as a Number
 *         - E.g.:                                                           
 *           $dataSkills[1].meta.itemCharge will return the                   
 *           <item charge: turns> notetag value of skill with id 1           
 *      2. meta.itemCharge = turns                                           
 *         - Sets the <item charge: turns> notetag value turns as a Number   
 *         - E.g.:                                                           
 *           $dataItems[2].meta.itemCharge = 0 will set the                   
 *           <item charge: turns> notetag value of item with id 2 as 0       
 *         - All meta.itemCharge changes can be saved if                     
 *           DoubleX RMMV Dynamic Data is used                               

Video
DoubleX RMMV Item Charge

Prerequisites
Abilities:
1. Nothing special for most ordinary use cases
2. Little RMMV plugin development proficiency to fully utilize this

Instructions
Code: [Select]
* The skill/item window charging turn display can be problematic if the
 * number of turn's 1000 or above
 * The default plugin file name is DoubleX RMMV Item Charge v100a
 * If you want to change that, you must edit the value of
 * DoubleX_RMMV.Item_Charge_File, which must be done via opening this plugin
 * js file directly

Terms Of Use
Code: [Select]
*      1. Commercial use's always allowed and crediting me's always optional.
 *      2. You shall keep this plugin's Plugin Info part's contents intact.   
 *      3. You shalln't claim that this plugin's written by anyone other than
 *         DoubleX or my aliases. I always reserve the right to deny you from
 *         using any of my plugins anymore if you've violated this.           
 *      4. CC BY 4.0, except those conflicting with any of the above, applies
 *         to this plugin, unless you've my permissions not needing follow so.
 *      5. I always reserve the right to deny you from using this plugin     
 *         anymore if you've violated any of the above.                       

Download

DoubleX RMMV Item Charge
« Last Edit: August 28, 2016, 01:46:56 PM by DoubleX »