Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
plugin-card-shop [2025/06/13 00:47] – [Parameters] isiahgames | plugin-card-shop [2025/07/14 22:18] (current) – [Script Calls] isiahgames |
---|
| <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 ====== |