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 22:15] – [Parameters] isiahgamesplugin-card-shop [2025/07/14 22:18] (current) – [Script Calls] 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. |+| **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. |+| **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 189: Line 189:
 |  <code>this.cardShopProcessing();</code>  | As long as a Card Shop has been set up through the above Event Comment tags, this will open up the Card Shop scene and take you to the shop belonging to the same event calling this function. | |  <code>this.cardShopProcessing();</code>  | As long as a Card Shop has been set up through the above Event Comment tags, this will open up the Card Shop scene and take you to the shop belonging to the same event calling this function. |
 |  <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. This also rerolls all randomization for the shop's inventory. | 
-====== Commands ======+====== Plugin Commands ======
  
 ^  Command Syntax  ^  Event Usage  ^  Description  ^ ^  Command Syntax  ^  Event Usage  ^  Description  ^
 | <code>OpenCardShop</code> |  Map Event  | Functions just as this.cardShopProcessing() to open Card Shop Scene in Event  | | <code>OpenCardShop</code> |  Map Event  | Functions just as this.cardShopProcessing() to open Card Shop Scene in Event  |
-| <code>ResetCardShop [ID]</code> |  Map Event  | Functions just as this.resetCardShopInventory() to restock shop's original nventory and reset its Remove costs. If [EventID] is not specified will default to resetting the shop for the current Event. |+| <code>ResetCardShop [ID]</code> |  Map Event  | Functions just as this.resetCardShopInventory() to restock shop's original inventory and reset its Remove costs. This also rerolls all randomization for the shop's inventory. If [EventID] is not specified will default to resetting the shop for the current Event. |
  
 ====== Version History ====== ====== Version History ======
plugin-card-shop.1738185341.txt.gz · Last modified: 2025/01/29 22:15 by isiahgames