Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request - Custom Dice Section support #6

Open
MeGaZlo opened this issue Nov 13, 2017 · 1 comment
Open

Request - Custom Dice Section support #6

MeGaZlo opened this issue Nov 13, 2017 · 1 comment
Assignees

Comments

@MeGaZlo
Copy link

MeGaZlo commented Nov 13, 2017

Хотелось бы более гибкой настройки слотов под кубы.
Изменение кол-ва, позиций (например, увеличить расстояние между определёнными (не всеми) слотами), иконок, цвета иконок,

@USSX-Hares
Copy link
Owner

USSX-Hares commented Nov 13, 2017

@MeGaZlo, It is supported by now. It does not have UI, but it is supported. You should use the diceSpace section, which by default contains 4 dice images.

Schema:

"diceSpace":
{
    "type": [ "array", "string" ],
    "items":
    {
        "type": "object",
        "properties":
        {
            "count": { "$ref": "#/definitions/positiveInteger" },
            "image": { "type": "string" }
        }
    }
}

Example of usage:

[
    { "count": 1, "image": "stun.png" },
    { "count": 4, "image": "dice.png" }
]

This will create a dice section of single compiler_images/stun.png and four compiler_images/dice.png. You could manually put any required image to that directory. Preferred size is 300x300.
Custom separator width is not supported yet, and we have no plans for it. However, scale field is good idea -- it will be implemented.

@USSX-Hares USSX-Hares changed the title Редактирование поля под кубы Request - Custom Dice Section support Nov 13, 2017
@USSX-Hares USSX-Hares self-assigned this Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants