import { ContractConfig, Feature, FunctionConfig, MintConfig, ProjectConfig } from "@patchworkdev/common/types";

const gameProjectConfig: ProjectConfig = {
    name: "game",
    scopes: [
        {
            name: "myscope",
            whitelist: true,
            userAssign: false,
            userPatch: false,
            mintConfigs: {},
            patchFees: {},
            assignFees: {}
        }
    ],
    contracts: {
        "Character": {
            scopeName: "myscope",
            name: "Character",
            symbol: "CHAR",
            baseURI: "https://replace-me-with-website/",
            schemaURI: "https://replace-me-with-website/schemas/character.json",
            imageURI: "https://replace-me-with-website/assets/character/{tokenID}",
            fields: [
                {
                    id: 0,
                    key: "equipment",
                    type: "literef",
                    description: "Equipped Items",
                    arrayLength: 16,
                },
                {
                    id: 1,
                    key: "name",
                    type: "char32",
                    description: "Name",
                }
            ],
            features: [],
            fragments: []
        },
        "GameItem": {
            scopeName: "myscope",
            name: "GameItem",
            symbol: "ITEM",
            baseURI: "https://replace-me-with-website/",
            schemaURI: "https://replace-me-with-website/schemas/gameitem.json",
            imageURI: "https://replace-me-with-website/assets/gameitem/{tokenID}",
            fields: [
                {
                    id: 0,
                    key: "itemType",
                    type: "uint8",
                    description: "Item Type",
                },
                {
                    id: 1,
                    key: "itemId",
                    type: "uint16",
                    description: "Item ID",
                },
                {
                    id: 2,
                    key: "tier",
                    type: "uint8",
                    description: "Item Tier",
                },
                {
                    id: 3,
                    key: "name",
                    type: "char16",
                    description: "Item Name",
                }
            ],
            features: [Feature.MINTABLE, Feature.FRAGMENTSINGLE],
            fragments: []
        }
    }
};

export default gameProjectConfig;