Ahh I tried adding this $gameParty.summonDeckSize() to the custom variable and it gave me the following error:
TypeError
text.replace is not a function
Now I cant open the menu at all :(
AH, FIXED. I could manually edit the JSON file and remove the script call, which was duplicated in two spots for some reason.
Ah and I just realized $gameParty.summonDeckSize() only shows the DeckSize, but not the total # of potential summons available in the library. I found this instead: $gameParty.pets().length
Yes, I thought you wanted to know the deck size. But your code is legit as well
:)
And yes, editing the config file is a legitimate way to do so. Good to know: If everything fails, you can delete it, and the plugin automatically recreates it for you.
When you see an error, don't hesitate to show me the FULL error messages, so I can investigate them. To do so, do the following:
- When you see the error message, press F12
-
Important! In the dialog, go to "Console"
- Screenshot the whole dialog