User Tools

Site Tools


plugin-card-shop-beta

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

plugin-card-shop-beta [2025/12/15 21:39] – created isiahgamesplugin-card-shop-beta [2025/12/15 21:43] (current) – [Notetags] isiahgames
Line 146: Line 146:
 Remove Limit X Remove Limit X
 </card shop></code> |  Event  | These determine how many cards can be bought, sold, or removed respectively before the option to buy/sell/remove is disabled. | </card shop></code> |  Event  | These determine how many cards can be bought, sold, or removed respectively before the option to buy/sell/remove is disabled. |
 +
 +For all of the above, you can add the following to the end of the tag:
 +
 +    if [expression]
 +
 +This will only add the Card or Card Pack if the expression evaluates to true.
 +For example, you can do this:
 +
 +   3x Skill Y if $gameSwitches.value(1)
 +
 +This will only add 3 copies of Skill Y if Switch 1 is ON. If it is OFF, it will
 +not add any copies of Skill Y to the shop.
 +
 +You can replace the number of copies with ''inf'' to add an infinite
 +number of copies of a Card to the shop. For example, you can do this:
 +
 +   inf Skill Y
 +   inf Pack Preset Y
 +   inf Skill Y if $gameSwitches.value(1)
 +
 +A card with an infinite number of copies will always be available in the shop,
 +and will display the Infinite Copies Text parameter underneath its cost.
 +
  
 Lastly, this plugin has tools to allow you to randomize values within these Lastly, this plugin has tools to allow you to randomize values within these
plugin-card-shop-beta.txt · Last modified: 2025/12/15 21:43 by isiahgames