User Tools

Site Tools


plugin-card-action-pack-1

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-card-action-pack-1 [2025/01/28 03:50] – [Movement Card Actions] isiahgamesplugin-card-action-pack-1 [2025/07/03 22:53] (current) – [Movement Card Actions] isiahgames
Line 3: Line 3:
 **MYTH_CGC_ActionPack1** is a plugin adds several new Card Actions (CAs) which involve the Card Selection Window. **MYTH_CGC_ActionPack1** is a plugin adds several new Card Actions (CAs) which involve the Card Selection Window.
  
-**Current Version: 1.1.0**+**Current Version: 1.2.0**
  
 [[plugin-card-action-pack-1#selection_card_actions|Selection CAs]] open the Selection Window and have the player select cards. [[plugin-card-action-pack-1#selection_card_actions|Selection CAs]] open the Selection Window and have the player select cards.
Line 30: Line 30:
  
 ===== Selection Card Actions ===== ===== Selection Card Actions =====
- +|< 100% 30% >| 
-|  <code>Select X from zoneName</code>  |Replace 'X' with a number or game variable, and replace 'zoneName' with 'deck', 'discard' or 'hand'. This opens the Card Selection Window and makes the player choose X cards from the specified zone.  | +^  Card Action Syntax  ^ Description  ^ 
-|  <code>Select X of Y from zoneName location</code>  |Replace 'X' with a number, 'Y' with another number,'zoneName' with a zone, and 'location'.\\ \\ This makes the player choose X cards from a selection of Y cards from the specified zone. Replace 'zoneName' with 'deck', 'discard' or 'hand'. Replace 'location' with 'Top', 'Bottom', 'Random'. If 'Top', The pool of cards will be grabbed from the top Y cards. If 'Bottom', the bottom. If 'random', cards will be grabbed randomly from the zone.  | +|  <code>Select X from [zoneName]</code>  |Replace 'X' with a number or game variable, and replace 'zoneName' with 'deck', 'discard' or 'hand'. This opens the Card Selection Window and makes the player choose X cards from the specified zone.  | 
-|  <code>Select X from skills Y, Z, A, B</code>  |Replace X, Y, Z, etc with numbers.This makes the player choose X cards from a list of Skill IDs. The list of IDs can be any size.  | +|  <code>Select X of Y from  
-|  <code>Select All from zoneName</code>  |Selects all Cards in the specified zone.  | +    [zoneName] [location]</code>  |Replace 'X' with a number, 'Y' with another number,'zoneName' with a zone, and 'location' with either 'Top', 'Bottom' or 'Random'.\\ \\ This makes the player choose X cards from a selection of Y cards from the specified zone. Replace 'location' with 'Top', 'Bottom', 'Random'. If 'Top', The pool of cards will be grabbed from the top Y cards. If 'Bottom', the bottom. If 'random', cards will be grabbed randomly from the zone.  | 
-|  <code>Select X Type typeName from zoneName</code>  |Requires CardTypes. Replace X with a number, typeName with the name of a Card Type, and zoneName with a zone. This makes the player choose X cards from the specified zone filtered to only include the specified Card Type.  | +|  <code>Select X from skills Y, Z,  
-|  <code>Select X of Y Type typename from zoneName location</code>  |Requires CardTypes. This makes the player choose X cards from the specified zone, filtered to only include the specified Card Type, with a pool size of Y grabbed from the top/bottom or grabbed randomly from the zone.  | +    A, B, C</code>  |Replace X, Y, Z, etc with numbers.This makes the player choose X cards from a list of Skill IDs. The list of IDs can be any size.  | 
-| <code>Select Any from zoneName</code> | Allows players to choose any number of cards from a specified zone in a selection, including 0. They can hit cancel to finish their selection. |+|  <code>Select All from [zoneName]</code>  |Selects all Cards in the specified zone.  
 +|  <code>Select All type [typeName]  
 +    from [zoneName]</code>  | Requires CardTypes. Replace typeName with the name of a Card Type, and zoneName with a zone. Selects all Cards of the specified Card Type in the specified zone. 
 +|  <code>Select X Type [typeName
 +    from [zoneName]</code>  |Requires CardTypes. Replace X with a number, typeName with the name of a Card Type, and zoneName with a zone. This makes the player choose X cards from the specified zone filtered to only include the specified Card Type.  | 
 +|  <code>Select X of Y Type [typename
 +    from [zoneName] [location]</code>  |Requires CardTypes. This makes the player choose X cards from the specified zone, filtered to only include the specified Card Type, with a pool size of Y grabbed from the top/bottom or grabbed randomly from the zone.  | 
 +| <code>Select Any from [zoneName]</code> | Allows players to choose any number of cards from a specified zone in a selection, including 0. They can hit cancel to finish their selection. |
 | <code>Select Upper Text: string</code> | Changes the Upper Text of the Selection Window to the string provided. | | <code>Select Upper Text: string</code> | Changes the Upper Text of the Selection Window to the string provided. |
 | <code>Select Lower Text: string</code> | Changes the Lower Text of the Selection Window to the string provided. \\ Use the following text codes inside the strings of either of these Card Actions: \\ %actor - Actor Name \\ %selectNum - Number of cards currently selected \\ %unselectNum - Number of cards currently not selected \\ %selectReq - Number of cards required to be selected \\ %zone - Zone cards are being selected from (if any) | | <code>Select Lower Text: string</code> | Changes the Lower Text of the Selection Window to the string provided. \\ Use the following text codes inside the strings of either of these Card Actions: \\ %actor - Actor Name \\ %selectNum - Number of cards currently selected \\ %unselectNum - Number of cards currently not selected \\ %selectReq - Number of cards required to be selected \\ %zone - Zone cards are being selected from (if any) |
Line 46: Line 53:
  
 Once the player has selected cards, these Card Actions will do something with them. Once the player has selected cards, these Card Actions will do something with them.
 +|< 100% 30% >| 
 +^  Card Action Syntax  ^ Description  ^
 |  <code>Move Selected to zoneName</code>  | Replace 'zoneName' with a zone. This will move the selected cards from their previous zone to the specified zone.  |  |  <code>Move Selected to zoneName</code>  | Replace 'zoneName' with a zone. This will move the selected cards from their previous zone to the specified zone.  | 
 | <code>Move Unselected to zoneName</code> | This will move the cards that WEREN'T selected cards from their previous zone to the specified zone. | | <code>Move Unselected to zoneName</code> | This will move the cards that WEREN'T selected cards from their previous zone to the specified zone. |
Line 66: Line 74:
  
 <code> <code>
 +**v1.2.0**
 +- Added Select Any from zoneName Action
 +- Added Select All Type typeName from zoneName
 +- Added "unselected" variant of Movement Card Actions
 +- Moved highlight sprite loading to img/CGC/highlights
 +- Exposed text components to plugin parameters.
 +
 +**v1.1.1**
 +- Fixed crash if selecting from a pool of cards that has a length of 0.
 +
 **v1.1.0**  **v1.1.0** 
 - Added Select All Card Action - Added Select All Card Action
plugin-card-action-pack-1.1738032637.txt.gz · Last modified: 2025/01/28 03:50 by isiahgames