Campaign Creation Documentation

Use this page to navigate the Campaign Creation Documentation. It's not expected that you read all of this to create a campaign - Instead, use this as a reference during campaign creation, whenever you need to use a specific event.






These pages are being restructured and may not be complete!

You can find the older version of this page here.

vbox

Description

In a vbox (Variable Box) event, the user is presented with a text input box.
Whatever they enter will be saved to a variable.




Specific Attributes

LinkNameData TypeDescriptionNotes
LINKsetsStringThe variable to be saved to.
LINKinputTypeStringEnforces certain inputs, like 'cardname', 'collection', etc.



Restrictions

Max 30 characters. Only alphanumeric and spaces allowed unless using data sets.




Input Types

LinkNameData TypeDescriptionNotes
LINKcardnameOnly card names in the campaign.
LINKcollectionOnly cards in the user's collection.
LINKmaindeckOnly cards in user's main deck.
LINKextradeckOnly cards in user's extra deck.
LINKsidedeckOnly cards in user's side deck.
LINKnumberOnly integers accepted.
LINKlistFrom predefined variable array (needs 'data' attribute).



Example

"vbox": {
    "enter_username": {
        "title": "Enter your Kaibacorp Username:",
        "sets": "username",
        "chain": "text:after_username_entered"
    }
},
"text": {
    "after_username_entered": {
        "parts": [
            {
                "text": "Welcome, <>."
            }
        ]
    }
}