前のプレイスルーの状態を維持しながら、新しいゲームを開始するプラグイン – GALV_NewGamePlus.js

タイトル
Start a new game while keeping things from a previous playthrough.
作者名
ヘルプ
Galv's New Game Plus
----------------------------------------------------------------------------
This plugin creates a "New Game Plus" system, which allows the player to
replay the game using certain things from their previous playthrough.

----------------------------------------------------------------------------
HOW IS WORKS
----------------------------------------------------------------------------
During the game, when the player gets to a point where you'd like for them
to be able to use their save data for a New Game+ (usually done when the
player completes the game), use a SCRIPT event command with:

Galv.NEWGP.activate();

This activates the ability to New Game+ in the current playthrough. The
player will need to then save their game after this script call.

Ths next time the player is on the title screen if any saved games have been
activated with the script call above, the "New Game+" option will appear.
This will take the player to the save file list where the player will be
able to choose from the saved games that have been activated, which will
have an icon on them as specified in the "Icon" plugin setting.

When a new game+ is started, the data specified in the plugin settings will
be transferred into the game from the chosen saved file.

----------------------------------------------------------------------------
PLUGIN SETTINGS
----------------------------------------------------------------------------
Variables
---------
The variable list setting along with the Variable Type setting control which
variables are transferred from the save file to the new game+.

Example Variable List:
34,56,90 a list of 3 variables
1-20,60-80 a list of variables between ranges 1-20 and 60-80
1-20,60-80,56,90 a list of variables between ranges plus 2 variables

Example Variable Type:
0 Only variables in the variable list are transferred over
1 All variables transferred over excluding those in the variable list

Switches
--------
All switches start as OFF by default in Rpg Maker when you start a new game.
Switches work in the same way as above using the Switch List and the
Switch Type plugin settings to control which switches are transferred over.

Actors
------
The actors setting again works as above to keep actor save file actor data.
However, actors do not have the "type" setting - the list contains ids of
all actors that you want to keep from the save file.

Remember, though, that when you have a "Change Party Member" event command
during your game, if you tick "Initialize" box when adding an actor to party,
then it will revert that character to starting level.

Items / Weapons / Armors
------------------------
These settings also work like Variables (above) using the item's ID in the
lists as desired.

----------------------------------------------------------------------------
SCRIPT CALLS
----------------------------------------------------------------------------

Galv.NEWGP.activate(); activates the game's New Game+ capability
(player needs to save after this)

----------------------------------------------------------------------------
CONDITIONAL BRANCH - SCRIPT:
----------------------------------------------------------------------------

Galv.NEWGP.isReplay() if player is playing a new game+ game
Galv.NEWGP.isReplay(x) if it's new new game+ playthrough x
Galv.NEWGP.isReplay(a,b) if it's a playthrough between a and b

Galv.NEWGP.isActive() if new game+ is active in current game

----------------------------------------------------------------------------
CONTROL VARIABLES - SCRIPT
----------------------------------------------------------------------------

$gameSystem.newGamePlus returns the amount of times New Game+ has
been used for the currently played file
パラメータ
param Command Text
desc Text displayed in title command window when a saved file is able to do New Game Plus
default New Game+

param Help Text
desc Text displayed in top help box when selecting a save file to use for a New Game Plus
default Select a save file to start a New Game+

param Active Icon
desc Icon that appears in the save file list if a game is activated to use new game plus
default 245

param Active Icon XY
desc Position of the active icon in the save file list
x,y
default 40,40

param NGP Icon
desc Icon that appears in the save file list if a game is a New Game+ game
default 190

param NGP Icon XY
desc Position of the New Game+ icon in the save file list
default 0,40

param --------------
desc
default
param Max Gold
desc The max amount of gold player can keep from the save game. -1 to keep all of it.
default -1

param Actor List
desc Comma separated variables that will keep in new game+
Use a variable ID for single or a dash to separate a range.
default
param --------------
desc
default
param Variable Type
desc 0 = Only variables in the variable list
1 = All variables excluding the variable list
default 0

param Variable List
desc Comma separated variables that will keep in new game+
Use a variable ID for single or a dash to separate a range.
default
param Switch Type
desc 0 = Only switches in the switch list
1 = All switches excluding the switch list
default 0

param Switch List
desc Comma separated switches that will keep in new game+
Use a switch ID for single or a dash to separate a range.
default
param Item Type
desc 0 = Only items in the item list
1 = All items excluding the item list
default 0

param Item List
desc Comma separated item ids that will keep in new game+
Use an item ID for single or a dash to separate a range.
default
param Weapon Type
desc 0 = Only weapons in the weapon list
1 = All weapons excluding the weapon list
default 0

param Weapon List
desc Comma separated weapon ids that will keep in new game+
Use a weapon ID for single or a dash to separate a range.
default
param Armor Type
desc 0 = Only armors in the armor list
1 = All armors excluding the armor list
default 0

param Armor List
desc Comma separated armor ids that will keep in new game+
Use an armor ID for single or a dash to separate a range.
default
ライセンス表記

紹介ページ https://galvs-scripts.com/category/rmmv-plugins/mv-scenessystems/#post-1743