Difference between revisions of "Category:Options Core Integration (MV)"

From Yanfly.moe Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{TOCright}}
 
{{TOCright}}
 +
<youtube>https://www.youtube.com/watch?v=708767hRAAY</youtube>
 +
 +
This category lists the plugins that offer instructions on how to integrate various plugin settings/options into Yanfly's [[Options Core (YEP)|Options Core]] plugin.
 +
 
== [[Action Sequence Fast Forward/Skip (Irina)|Action Sequence Fast Forward/Skip]] ==
 
== [[Action Sequence Fast Forward/Skip (Irina)|Action Sequence Fast Forward/Skip]] ==
  

Revision as of 18:25, 24 June 2019

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.


This category lists the plugins that offer instructions on how to integrate various plugin settings/options into Yanfly's Options Core plugin.

Action Sequence Fast Forward/Skip

Auto-Fast Forward Integration
Name:
\i[87]Auto-Fast Forward

Help Description:
Automatically fast forwards battle animations.

Symbol:
actionSequenceAutoFastForward

Show/Hide:
show = true;

Enable:
enabled = true;

Ext:
ext = 0;

----------
Functions:
----------

Make Option Code:
this.addCommand(name, symbol, enabled, ext);

Draw Option Code:
var rect = this.itemRectForText(index);
var statusWidth = this.statusWidth();
var titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
this.drawOptionsOnOff(index);

Process OK Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, !value);

Cursor Right Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, true);

Cursor Left Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, false);

Default Config Code:
// Empty.

Save Config Code:
// Empty.

Load Config Code:
// Empty.
Auto-Skip Forward Integration
Name:
\i[87]Auto-Skip Forward

Help Description:
Automatically skips battle animations to the end.

Symbol:
actionSequenceAutoSkipForward

Show/Hide:
show = true;

Enable:
enabled = true;

Ext:
ext = 0;

----------
Functions:
----------

Make Option Code:
this.addCommand(name, symbol, enabled, ext);

Draw Option Code:
var rect = this.itemRectForText(index);
var statusWidth = this.statusWidth();
var titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
this.drawOptionsOnOff(index);

Process OK Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, !value);

Cursor Right Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, true);

Cursor Left Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, false);

Default Config Code:
// Empty.

Save Config Code:
// Empty.

Load Config Code:
// Empty.