User Tools

Site Tools


plugin-card-shop

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-shop [2025/01/29 21:44] isiahgamesplugin-card-shop [2025/06/17 00:51] (current) – [Commands] isiahgames
Line 55: Line 55:
 | **Remove Price Formula** | The formula to determine the price of removing a card. See help section for details. | | **Remove Price Formula** | The formula to determine the price of removing a card. See help section for details. |
 | **Free Card Text** | The text to display for a card that costs 0 Gold. | | **Free Card Text** | The text to display for a card that costs 0 Gold. |
 +| **Confirm Texts** | The text that appears in the confirm pop-up window. \\ You can use %skill as a textcode to get the name of the Skill that is being bought or sold. \\ **Buy** - The text that displays when asking if you want to buy a card. \\ **Sell** - The text that displays when asking if you want to sell a card. \\ **Remove** - The text that displays when asking if you want to remove a card. \\ **Trash Card Pack Cards** - The text that asks if you want to discard unclaimed cards from a Card Pack. |
  
 ===Card Shop Scene=== ===Card Shop Scene===
 {{https://cdn.discordapp.com/attachments/235557488794009600/1151226066459971624/image.png}} {{https://cdn.discordapp.com/attachments/235557488794009600/1151226066459971624/image.png}}
 +| **Command Names** | The names of the commands that can appear inside the Card Shop scene. They include: \\ **Buy** - The command that activates the Buy Window. \\ **Sell** - The command that activates the Sell Window. \\ **Remove** - The command that activates the Remove Window. \\ **Cancel** - The command that exists the Card Shop scene. \\ **Yes** - The text for the prompt that confirms a selection. \\ **No** - The text for the prompt that cancels a selection. |
 | **Preview Coordinates** | The coordinates of the preview card in the Card Shop scene. | | **Preview Coordinates** | The coordinates of the preview card in the Card Shop scene. |
 | **Preview Card Scale** | The scale of the preview card in the Card Shop scene. | | **Preview Card Scale** | The scale of the preview card in the Card Shop scene. |
Line 108: Line 110:
 | <code><Card Sell Price></code> |  Skill  | This will set the sell price of that skill's Card to X. You can use \v[x] to substitute the price with a Game Variable. | | <code><Card Sell Price></code> |  Skill  | This will set the sell price of that skill's Card to X. You can use \v[x] to substitute the price with a Game Variable. |
 | <code><Card Remove Price></code> |  Skill  | This will set the removal price of that skill's Card to X. You can use \v[x] to substitute the price with a Game Variable. | | <code><Card Remove Price></code> |  Skill  | This will set the removal price of that skill's Card to X. You can use \v[x] to substitute the price with a Game Variable. |
 +| <code><Prevent Card Buy></code> |  Skill  | This will prevent that skill's Card from being able to be selected for purchase. |
 +| <code><Prevent Card Sell></code> |  Skill  | This will prevent that skill's Card from being able to be selected for selling. |
 +| <code><Prevent Card Remove></code> |  Skill  | This will prevent that skill's Card from being able to be selected for removal at a Card Shop. |
 | <code><Shop Image: fileName></code> |  Skill  | This will cause that skill's Card to appear using the specified image in the Card Shop. Images should be placed in img/CGC/shop. | | <code><Shop Image: fileName></code> |  Skill  | This will cause that skill's Card to appear using the specified image in the Card Shop. Images should be placed in img/CGC/shop. |
 | <code><card shop> | <code><card shop>
Line 185: Line 190:
 |  <code>this.resetCardShopInventory(); |  <code>this.resetCardShopInventory();
 this.resetCardShopInventory(eventId);</code>  | This will reset the Card Shop of the specified event ID (or use the current event if no ID is specified).\\ \\ This means that it will restock to its original inventory and its Remove costs will be reset. | this.resetCardShopInventory(eventId);</code>  | This will reset the Card Shop of the specified event ID (or use the current event if no ID is specified).\\ \\ This means that it will restock to its original inventory and its Remove costs will be reset. |
-====== Commands ======+====== Plugin Commands ======
  
 ^  Command Syntax  ^  Event Usage  ^  Description  ^ ^  Command Syntax  ^  Event Usage  ^  Description  ^
Line 193: Line 198:
 ====== Version History ====== ====== Version History ======
 <code> <code>
 +
 +v1.2.1 
 +- Added <Prevent Card Buy/Sell/Remove> notetag.
 +- Fixed CardShopCore bug where Help Window would still appear when its Rows parameter was 0.
 +- Fixed Param Descriptions in CardShopCore referring to Simple Library
 +- Fixed crash when trying to sell cards that don't exist.
 +- Added several parameters to change text components.
 +- One event can now contain multiple shops - one per event page.
  
 v1.2.0 v1.2.0
plugin-card-shop.1738183495.txt.gz · Last modified: 2025/01/29 21:44 by isiahgames