plugin-deck-edit
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| plugin-deck-edit [2023/06/29 22:42] – [Notetags] isiahgames | plugin-deck-edit [2025/06/13 01:38] (current) – [Version History] isiahgames | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Deck Editor ====== | + | {{https://img.itch.zone/aW1nLzE1NDgzODE5LnBuZw==/original/0sZw7f.png? |
| - | {{https://cdn.discordapp.com/attachments/ | + | |
| Ordinarily, every card an actor collects goes into battle with them. This plugin adds an extra menu the player can use to take cards they' | Ordinarily, every card an actor collects goes into battle with them. This plugin adds an extra menu the player can use to take cards they' | ||
| Line 9: | Line 8: | ||
| Deck Editor Plugin is available on [[https:// | Deck Editor Plugin is available on [[https:// | ||
| + | |||
| + | **Current Version: 1.2.1** | ||
| ====== Parameters ====== | ====== Parameters ====== | ||
| {{https:// | {{https:// | ||
| + | ===Deck Rules=== | ||
| | **Actors share library?** | If set to ON, all party members will share a Card Library as well as sharing a list of Decks. | | | **Actors share library?** | If set to ON, all party members will share a Card Library as well as sharing a list of Decks. | | ||
| | **Starting Library Cards** | Contains the list of starting Library Cards if the previous parameter is ON. Uses the same syntax as Actor/Class Decklist Notetags. | | | **Starting Library Cards** | Contains the list of starting Library Cards if the previous parameter is ON. Uses the same syntax as Actor/Class Decklist Notetags. | | ||
| Line 20: | Line 22: | ||
| | **Max Card Copies** | The max amount of copies of an individual card allowed in a deck. | | | **Max Card Copies** | The max amount of copies of an individual card allowed in a deck. | | ||
| | **Max Name Length** | The amount of characters allowed in a deck's name. | | | **Max Name Length** | The amount of characters allowed in a deck's name. | | ||
| + | |||
| + | | ** Equip Cards Setting** | Determines what happens when gaining cards through [[plugin-equip-cards|MYTH_CGC_EquipCards]]. \\ Setting it to **Add to Library** will cause cards gained this way to be added to the Library so that they can be added to decklists. \\ Setting it to **Add to Current Deck at Start of Battle** will cause any cards gained through equipment to be added to the actor' | ||
| {{: | {{: | ||
| + | ===Deck Points=== | ||
| + | | **Deck Points** | You can set this to false and disable Deck Points entirely. | | ||
| + | | **Visible? | ||
| | **Deck Points Name** | How Deck Points will be called in your game. | | | **Deck Points Name** | How Deck Points will be called in your game. | | ||
| | **Deck Points Abbrv** | The abbreviation of your Deck Points. | | | **Deck Points Abbrv** | The abbreviation of your Deck Points. | | ||
| Line 28: | Line 35: | ||
| {{https:// | {{https:// | ||
| + | ===Deck Editor Scene=== | ||
| + | | **Menu Command Name** | The name of the Menu command that opens the Deck Editor. | | ||
| + | | **Command Names** | The names of the commands inside the Deck Selector scene. The commands are: \\ Equip - the command that lets users equip Decks. \\ Edit - the command that lets users edit Decks, and move to the Deck Editor scene. \\ New - the command that lets users create new Decks. \\ Rename - The command that lets users rename Decks. \\ Copy - The command that lets users create duplicate Decks. \\ Delete - The command that lets users delete Decks. \\ \\ If any Command Name is left blank, the command won't appear. | | ||
| | **Card Window Width** | The width of the windows where the player selects cards. Leave room for the preview card. | | | **Card Window Width** | The width of the windows where the player selects cards. Leave room for the preview card. | | ||
| - | | **Hide Offscreen Cards** | If set to ON, cards will disappear when they' | ||
| | **Preview Card Y** | The Y coordinate of the preview card in the Deck Editor scene. It's always centered horizontally. | | | **Preview Card Y** | The Y coordinate of the preview card in the Deck Editor scene. It's always centered horizontally. | | ||
| | **Preview Card Scale** | The scale of the preview card in the Deck Editor scene. | | | **Preview Card Scale** | The scale of the preview card in the Deck Editor scene. | | ||
| - | | **Window | + | | **Max Visible Rows** | A number used to calculate what row the player currently has selected before scrolling down. If the game scrolls down too early, try raising this value; and it if scrolls too late, try lowering it. | |
| + | | **Card Placement Settings** | A struct containing several parameters to determine how cards will fit inside their windows. | | ||
| + | |||
| + | ^ Card Placement Settings ^ ^ | ||
| + | | **Max Columns** | The number of cards a row before cards move to the next row in the window. | | ||
| + | | **Card Scale** | The scale of the cards in the windows in the Deck Editor scene. | | ||
| | **Selected Card Scale** | The scale of the card in the windows in the Deck Editor scene that is currently being inspected. | | | **Selected Card Scale** | The scale of the card in the windows in the Deck Editor scene that is currently being inspected. | | ||
| + | | **Starting Padding** | The padding between the left/top of the Window and the top-left-most card. | | ||
| + | | **Card Spacing** | The spacing between cards. | | ||
| + | | **Amount Text Offset** | The coordinate offset values for the Amount text. They default to underneath the center of the cards. | | ||
| + | | **Amount Text Justify** | Whether the amount text of a card will be centered, aligned left, or right. | | ||
| {{https:// | {{https:// | ||
| + | ===Scrollbar Settings=== | ||
| | **Front Sprite** | The sprite used for the scrollbar. The middle third of its height scales to change the bar's size. | | | **Front Sprite** | The sprite used for the scrollbar. The middle third of its height scales to change the bar's size. | | ||
| | **Back Sprite** | The sprite used for the bit behind the scrollbar. | | | **Back Sprite** | The sprite used for the bit behind the scrollbar. | | ||
| Line 41: | Line 60: | ||
| | **Y Pinch** | The amount of pixels the top is lowered by and the bottom is raised by to keep within the window. | | | **Y Pinch** | The amount of pixels the top is lowered by and the bottom is raised by to keep within the window. | | ||
| + | ===Arrow Sprites=== | ||
| {{https:// | {{https:// | ||
| | **Right Arrow Image** | The image for the arrow when adding cards to the deck. | | | **Right Arrow Image** | The image for the arrow when adding cards to the deck. | | ||
| Line 46: | Line 66: | ||
| | **Anchor Y** | The Y coordinate of the arrow sprite. It's horizontally centered. | | | **Anchor Y** | The Y coordinate of the arrow sprite. It's horizontally centered. | | ||
| + | ===Deck Selection=== | ||
| {{https:// | {{https:// | ||
| | **Help Window Width** | The width of the Help Window at the bottom of the screen. | | | **Help Window Width** | The width of the Help Window at the bottom of the screen. | | ||
| Line 68: | Line 89: | ||
| Doing so may not give them enough room to display comfortably, | Doing so may not give them enough room to display comfortably, | ||
| + | ===Illegal Deck Messages=== | ||
| {{https:// | {{https:// | ||
| | **Too many cards** | The message that displays in the Deck Selection window if that deck has more than the legal number of cards | | | **Too many cards** | The message that displays in the Deck Selection window if that deck has more than the legal number of cards | | ||
| | **Not enough cards** | The message that displays if a deck has less than the legal number of cards | | | **Not enough cards** | The message that displays if a deck has less than the legal number of cards | | ||
| + | | **Too many cards of a type** | The message that displays if the deck has more cards of a given type than the legal amount. Use " | ||
| + | | **Not enough cards of a type** | The message that displays if the deck has fewer cards of a given type than the legal amount. Use " | ||
| | **Too many copies of a card** | The message that displays if too many copies of one card are in the deck. | | | **Too many copies of a card** | The message that displays if too many copies of one card are in the deck. | | ||
| | **Cards missing from Library** | The message that displays if the deck contains cards that are not in the player' | | **Cards missing from Library** | The message that displays if the deck contains cards that are not in the player' | ||
| | **Not Enough Deck Points** | The message that displays if the total DP cost of a deck exceeds the actor' | | **Not Enough Deck Points** | The message that displays if the total DP cost of a deck exceeds the actor' | ||
| + | | **Sealed Type in Deck** | The message that displays if the deck contains cards that are currently sealed by type %t. | | ||
| + | | **Restricted card** | The message that displays if the deck contains a card whose requirements are not met. | | ||
| | **Illegal Deck Equipped Popup** | The message that pops up if the player tries to leave the menu with an illegal deck equipped. | | | **Illegal Deck Equipped Popup** | The message that pops up if the player tries to leave the menu with an illegal deck equipped. | | ||
| | **Font Size** | The font size for the above messages when they appear in the Deck Selection window. | | | **Font Size** | The font size for the above messages when they appear in the Deck Selection window. | | ||
| + | |||
| + | ===Backgrounds=== | ||
| + | | **Deck Selector Background Image** | A background image can be added to the Deck Selector scene. | | ||
| + | | **Deck Editor Background Image** | A background image can be added to the Deck Editor scene. | | ||
| ====== Plugin Commands ====== | ====== Plugin Commands ====== | ||
| Line 82: | Line 112: | ||
| | < | | < | ||
| | < | | < | ||
| + | | < | ||
| + | [DeckName] [SkillID] [addToLibraryToo]</ | ||
| + | | < | ||
| + | [SkillID] [RemoveFromLibraryToo]</ | ||
| Line 88: | Line 122: | ||
| ^ Notetag Syntax | ^ Notetag Syntax | ||
| | < | | < | ||
| - | minsize: X | + | Min Size: X |
| - | maxsize: Y | + | Max Size: Y |
| - | </deck restriction></ | + | Max Copies: X |
| - | | < | + | Min Type typeName: X |
| + | Max Type typeName: X | ||
| + | Seal Type typeName | ||
| + | Seal Type typeName if [expression] | ||
| + | Require [expression] | ||
| + | Requirement Message: [string] | ||
| + | </deck restriction></ | ||
| + | | < | ||
| + | Max Copies: 4 | ||
| + | Require [expression] | ||
| + | </Deck Restriction> | ||
| + | </ | ||
| | < | | < | ||
| 5x Skill Y | 5x Skill Y | ||
| Line 100: | Line 145: | ||
| 1x skillName | 1x skillName | ||
| </ | </ | ||
| - | </ | + | </ |
| - | |< | + | | < |
| | < | | < | ||
| | < | | < | ||
| Line 114: | Line 159: | ||
| ====== Version History ====== | ====== Version History ====== | ||
| < | < | ||
| + | **v1.2.1** | ||
| + | - Fixed Param Descriptions in DeckEditor referring to Simple Library. | ||
| + | - Fixed bug where removing a card from the deck would cause a card sprite to appear in the CardList even while the CardList was filtering by card types said card didn't have. | ||
| + | - Fixed bug where adding and removing a card from the deck could add a different card to the CardList. | ||
| + | - Added utility function Game_Actor.prototype.removeExcessCards(deck) | ||
| + | - Added support for negative DP costs for cards. | ||
| + | - Added plugin parameters to change Command names. | ||
| + | - Fixed MZ bug where the AddCardToDeck and RemoveCardFromDeck Plugin Command would not work. | ||
| + | - Changed the "Deck Preset Error" Card sprite/text to "Under Deck Size Error" for better conveyance on how to fix the error. | ||
| + | - Fixed mouse input not working on the Pop Up Window. | ||
| + | - Fixed niche bug where the Preview Card would appear shaded. | ||
| + | |||
| + | **v1.2.0** | ||
| + | - Added the following Deck Restriction options: | ||
| + | - Max Type typeName: X | ||
| + | - Min Type typeName: X | ||
| + | - Seal Type typeName | ||
| + | - Seal Type typeName if [condition] | ||
| + | - Require [expression] | ||
| + | - Requirement Message: [string] | ||
| + | - Added the following Card restriction options: | ||
| + | - Require [expression] | ||
| + | - You can now " | ||
| + | - Added utility function Actor.isCurrentDeckLegal(). | ||
| + | - Fixed bug where starting decks would contain cards that weren' | ||
| + | - Added ability to use Deck Editor scene and Card Library scene simultaneously. | ||
| + | - Added two new Plugin Commands: AddCardToDeck and RemoveCardFromDeck. | ||
| + | - Added parameter to change how cards gained by equipment factor into the deck. | ||
| + | - Added parameters for whether DP should be enabled and/or visible. | ||
| + | - Changed the Deck scenes in line with the Library revamp. | ||
| + | - Changed parameters to match. | ||
| + | - Replaced safety skill with a custom still that provides better feedback to the user. | ||
| + | |||
| + | **v1.1.0** - Added Deck Points feature | ||
| + | You can now customize what info is in the Deck Status window. Doing | ||
| + | so will change its height based on the amount of lines added. | ||
| + | Deck Status text now turns red if that component of the deck is | ||
| + | | ||
| + | red) | ||
| + | Card Amount Text will now be red if the number of copies exceeds | ||
| + | max. | ||
| + | Fixed touch input for MV. MZ's is still a little wonky. | ||
| + | |||
| + | Fixed bug where editing a deck that's currently equipped doesn' | ||
| + | | ||
| + | | ||
| + | list so the player can still make inputs other than cancel. | ||
| + | Fixed MV bug where the final plugin param' | ||
| + | would use MZ's plugin command name and description. | ||
| **v1.0.0** - Released plugin | **v1.0.0** - Released plugin | ||
| </ | </ | ||
plugin-deck-edit.1688071348.txt.gz · Last modified: 2023/06/29 22:42 by isiahgames