Skateside / pocket-grimoire

A mobile version of the Blood on the Clocktower grimoire
https://www.pocketgrimoire.co.uk
GNU General Public License v3.0
34 stars 14 forks source link

Custom Scripts don't support cyrilic #111

Closed Skateside closed 3 months ago

Skateside commented 3 months ago

Here's some test JSON to upload and see that nothing works.

[
    {
        "id": "nodashii_uk",
        "name": "А-Дащіі",
        "edition": "snv",
        "team": "demon",
        "firstNight": 0,
        "firstNightReminder": "",
        "otherNight": 30,
        "otherNightReminder": "А-Дащіі вказує на гравця. Цей гравець помирає.",
        "reminders": [
            "Мертв",
            "Отруєн"
        ],
        "setup": false,
        "ability": "Щоночі* обирай гравця; вони помирають. Двох твоїх сусідів-Міщан отруєно.",
        "image": "https://www.pocketgrimoire.co.uk/build/img/icons/demon/nodashii.webp"
    },
    {
        "id": "ogre_uk",
        "name": "Огр",
        "edition": "",
        "team": "outsider",
        "firstNight": 49.1,
        "firstNightReminder": "Людоед вказує на гравця (не на себе) і стає його командою.",
        "otherNight": 0,
        "otherNightReminder": "",
        "reminders": [],
        "setup": false,
        "ability": "У свою першу ніч оберіть гравця (не себе): ви станете його групою (ви не знаєте, якою), навіть якщо ви п’яні чи отруєні.",
        "image": "https://www.pocketgrimoire.co.uk/build/img/icons/outsider/ogre.webp"
    },
    {
        "id": "oracle_uk",
        "name": "Оракул",
        "edition": "snv",
        "team": "townsfolk",
        "firstNight": 0,
        "firstNightReminder": "",
        "otherNight": 60,
        "otherNightReminder": "Покажи числовий сигнал (0, 1, 2 і т.д.), що відповідає кількості мертвих злих гравців.",
        "reminders": [],
        "setup": false,
        "ability": "Щоночі* дізнайся, скільки з мертвих гравців за зло.",
        "image": "https://www.pocketgrimoire.co.uk/build/img/icons/townsfolk/oracle.webp"
    },
    {
        "id": "pithag_uk",
        "name": "Чар-Зіллярка",
        "edition": "snv",
        "team": "minion",
        "firstNight": 0,
        "firstNightReminder": "",
        "otherNight": 17,
        "otherNightReminder": "Чар-Зіллярка вказує на гравця, потім на персонажа в списку. Якщо цього персонажа нема в грі: розбудіть обраного гравця, покажіть їм картку 'Ви є' і жетон обраного персонажа. Якщо обраний персонаж в грі, нічого не відбувається.",
        "reminders": [],
        "setup": false,
        "ability": "Щоночі* обирай гравця і яким персонажем той стає (якщо не в грі). Як створено Демона, тієї ночі смерті випадкові.",
        "image": "https://www.pocketgrimoire.co.uk/build/img/icons/minion/pithag.webp"
    }
]

Test against other languages with non-latin characters as well.

Skateside commented 3 months ago

https://discord.com/channels/569683781800296501/1161203348897288252/1243650554241224764

Skateside commented 3 months ago

It seems that this only affects the JSON input - uploading the file works fine