Both sides previous revisionPrevious revisionNext revision | Previous revision |
plugin-core [2025/06/12 21:07] – [Version History] isiahgames | plugin-core [2025/06/13 20:45] (current) – [Passives] isiahgames |
---|
| |
**Current Version: 1.6.2** | **Current Version: 1.6.2** |
| |
As we update this page, parts exclusive to the upcoming v1.6.3 will be marked with an asterisk* | |
| |
{{ https://img.itch.zone/aW1hZ2UvMTQyODQ1Ny8xNTQ3ODc3NS5naWY=/347x500/KDUHd7.gif?nolink }} | {{ https://img.itch.zone/aW1hZ2UvMTQyODQ1Ny8xNTQ3ODc3NS5naWY=/347x500/KDUHd7.gif?nolink }} |
| |
===== Actions ===== | ===== Actions ===== |
| ^ Card Action Syntax ^ Description ^ |
| <code>Draw X</code> | Where X is a number, playing this card will make the actor draw X cards | | | <code>Draw X</code> | Where X is a number, playing this card will make the actor draw X cards | |
| <code>Draw Until X</code> | Where X is a number, will make the actor draw until their hand is size X | | | <code>Draw Until X</code> | Where X is a number, will make the actor draw until their hand is size X | |
Search For [skill name]</code> | Draws the Card of the specified Skill ID (x) or name, if it is in the deck. | | Search For [skill name]</code> | Draws the Card of the specified Skill ID (x) or name, if it is in the deck. | |
| <code>Shuffle Deck</code> | Will shuffle the deck. | | | <code>Shuffle Deck</code> | Will shuffle the deck. | |
| | <code>Move X from [zoneName] |
| <code>Move X from [zoneName] to [zoneName]</code> | A generic form of Draw/Discard/Mill where you can specify any zone. For example "Move 3 from Discard to Hand" will return 3 cards to the hand. | | to [zoneName]</code> | A generic form of Draw/Discard/Mill where you can specify any zone. For example "Move 3 from Discard to Hand" will return 3 cards to the hand. | |
| <code>Move this to [zoneName]</code> | Will move the card currently being used to the specified zone. If the zone is absent the card will move to the discard at the end of all Card Actions. | | | <code>Move this to [zoneName]</code> | Will move the card currently being used to the specified zone. If the zone is absent the card will move to the discard at the end of all Card Actions. | |
| <code>Move all from [zoneName] to [zoneName]</code> | This will move all cards from one zone to another. | | | <code>Move all from [zoneName] |
| to [zoneName]</code> | This will move all cards from one zone to another. | |
| <code>Eval [expression]</code> | Will execute anything after the word "eval" as a piece of code. | | | <code>Eval [expression]</code> | Will execute anything after the word "eval" as a piece of code. | |
| <code>If [expression]</code> | This will evaluate the expression, and if it's true, it will execute the next Card Action. If false, it will skip that action. | | | <code>If [expression]</code> | This will evaluate the expression, and if it's true, it will execute the next Card Action. If false, it will skip that action. | |
| <code>Jump to [labelName]</code> | This will search for the label with the same name, and move to that label. If the label is after this Card Action, it will skip all Card Actions between the two. If the label is before this Card Action, it will execute the Card Actions between the two a second time. | | | <code>Jump to [labelName]</code> | This will search for the label with the same name, and move to that label. If the label is after this Card Action, it will skip all Card Actions between the two. If the label is before this Card Action, it will execute the Card Actions between the two a second time. | |
| <code>Wait X</code> | Causes Card Action execution to wait X frames before continuing, like a Wait command in RPG Maker. Does not work in Start of Turn/Battle params. | | | <code>Wait X</code> | Causes Card Action execution to wait X frames before continuing, like a Wait command in RPG Maker. Does not work in Start of Turn/Battle params. | |
| | <code>Play SE [fileName] |
| Play SFX [fileName]</code> | Will play the specified sound file located in audio/se folder. | |
| | <code>Force Action X</code> | Forces the user (in Card Actions) or the target (in Card Target Actions) to execute skill X. | |
| |
Example of how these Card Actions can be used: | Example of how these Card Actions can be used: |
</code> | </code> |
These card actions will draw 1 card, wait 5 frames, and then repeat until the player has 10 cards in their hand. | These card actions will draw 1 card, wait 5 frames, and then repeat until the player has 10 cards in their hand. |
| |
| |
| <code>Play SE [fileName] | |
Play SFX [fileName]</code> | Will play the specified sound file located in audio/se folder. | | |
| |
===== Passives ===== | ===== Passives ===== |
| ^ Card Passive Syntax ^ Description ^ |
| <code>Will End Turn</code> | This will cause the card to end the turn upon use. | | | <code>Will End Turn</code> | This will cause the card to end the turn upon use. | |
| |
| <code>Discard if unplayed</code> | Will discard this card if the turn ends while this card is in the hand. | | | <code>Discard if unplayed</code> | Will discard this card if the turn ends while this card is in the hand. | |
| <code>Remove if unplayed</code> | Will remove this card from play if the turn ends while this card is in the hand. | | | <code>Remove if unplayed</code> | Will remove this card from play if the turn ends while this card is in the hand. | |
| |
| <code>Require [expression]</code> | Cannot be played unless the expression evaluates to true. Multiple requirements can be placed. Use the word 'user' to refer to the user of the card.\\ \\ <code>Require user.handSize > 2 | | <code>Require [expression]</code> | Cannot be played unless the expression evaluates to true. Multiple requirements can be placed. Use the word 'user' to refer to the user of the card.\\ \\ <code>Require user.handSize > 2 |
Require user.handSize < 10 | Require user.handSize < 10 |
Require $gameSwitches.value(3)</code>This will make a card playable only if the user's hand contains more than 2 and less than 10 cards. In addition, can only be played if Game Switch 3 is set to ON. | | Require $gameSwitches.value(3)</code>This will make a card playable only if the user's hand contains more than 2 and less than 10 cards. In addition, can only be played if Game Switch 3 is set to ON. | |
| |
| <code>Start in [zoneName]</code> | Will be in the specified zone at start of battle, before start-of-battle actions. | | | <code>Start in [zoneName]</code> | Will be in the specified zone at start of battle, before start-of-battle actions. | |
| <code>Start of Turn: Skill X</code> | At the Start of Turn, if this Card is in Hand, execute Skill ID X. | | | <code>Start of Turn: Skill X</code> | At the Start of Turn, if this Card is in Hand, execute Skill ID X. | |