User Tools

Site Tools


plugin-deck-edit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin-deck-edit [2024/09/10 05:11] – [Version History] isiahgamesplugin-deck-edit [2025/06/13 01:38] (current) – [Version History] isiahgames
Line 8: Line 8:
  
 Deck Editor Plugin is available on [[https://mythatelier.itch.io/deck-editor-cgc-expansion-plugin|itch.io]]. Deck Editor Plugin is available on [[https://mythatelier.itch.io/deck-editor-cgc-expansion-plugin|itch.io]].
 +
 +**Current Version: 1.2.1**
  
 ====== Parameters ====== ====== Parameters ======
Line 34: Line 36:
 {{https://cdn.discordapp.com/attachments/235557488794009600/1096083164927103117/image.png}} {{https://cdn.discordapp.com/attachments/235557488794009600/1096083164927103117/image.png}}
 ===Deck Editor Scene=== ===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. |
 | **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. |
Line 120: Line 124:
 Min Size: X Min Size: X
 Max Size: Y Max Size: Y
 +Max Copies: X
 Min Type typeName: X Min Type typeName: X
 Max Type typeName: X Max Type typeName: X
Line 126: Line 131:
 Require [expression] Require [expression]
 Requirement Message: [string] Requirement Message: [string]
-</deck restriction></code>    Actors, Classes  |  Sets a Deck Restriction on the Actor or Class.\\ \\ **Min Size: X** sets the minimum number of Cards required in the deck for it to be valid.\\ \\ **Max Size: Y** sets the maximum number of Cards to be in the deck for it to be valid.\\ \\ **Min/Max Type typeName: X** sets the minimum number of Cards of the given Type to be in the deck for it to be valid. \\ \\ **Seal Type typeName (if [expression]** Disables the specified type from being added to the deck if the condition is met or absent. \\ \\ **Require [expression]/Requirement Message: [string]** Makes the deck illegal if the code expression evaluates to false and defines a message that will appear in the Deck Selector Window when a deck is made illegal this way. \\ \\ If an Actor has restrictions from both their Actor notetags and their Class notetags, the Actor notetags will always take precedence.  |+</deck restriction></code>    Actors, Classes  |  Sets a Deck Restriction on the Actor or Class.\\ \\ **Min Size: X** sets the minimum number of Cards required in the deck for it to be valid.\\ \\ **Max Size: Y** sets the maximum number of Cards to be in the deck for it to be valid.\\ \\ **Max Copies: X** sets the max amount of copies of any given card. This overrides the Max Copies plugin parameter and is overridden by the Max Copies tag inside a skill. \\ \\ **Min/Max Type typeName: X** sets the minimum number of Cards of the given Type to be in the deck for it to be valid. \\ \\ **Seal Type typeName if [expression]** Disables the specified type from being added to the deck if the condition is met or absent. \\ \\ **Require [expression]/Requirement Message: [string]** Makes the deck illegal if the code expression evaluates to false and defines a message that will appear in the Deck Selector Window when a deck is made illegal this way. \\ \\ If an Actor has restrictions from both their Actor notetags and their Class notetags, the Actor notetags will always take precedence.  |
 |  <code><Deck Restriction> |  <code><Deck Restriction>
 Max Copies: 4 Max Copies: 4
Line 154: Line 159:
 ====== Version History ====== ====== Version History ======
 <code> <code>
 +**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** **v1.2.0**
  - Added the following Deck Restriction options:  - Added the following Deck Restriction options:
plugin-deck-edit.1725937864.txt.gz · Last modified: 2024/09/10 05:11 by isiahgames