42core-team / core

GNU Affero General Public License v3.0
3 stars 0 forks source link

Add teams to configstring #39

Closed PaulicStudios closed 9 months ago

PaulicStudios commented 9 months ago
{
    "width": number, //min: 2 max: todo
    "height": number, //min: 2 max: todo
    "idle_income": number, //a value of the currency every team gets per second
    "core_hp": number,
    "teams": [ //this part here
        { 
            "id": number,
            "name": string
        }
    ],
    "units": [
        {
            "name": string,
            "type_id": number,
            "cost": number,
            "hp": number,
            "dmg_core": number,
            "dmg_unit": number,
            "dmg_resouce": number,
            "max_range": number, //maximal range to attack a unit
            "min_range": number, //minimal range to target to attack
            "speed": number,
        },
    ]
}