Author Topic: Trouble with adding multiple jobs in mod  (Read 106 times)

Offline kimesik

  • Zombie Food
  • *
  • Posts: 16
    • View Profile
Trouble with adding multiple jobs in mod
« on: April 09, 2017, 06:04:38 AM »
(click to show/hide)
So, I tried add additional job in my mod and I got this error. Any tips?
Artyom's guns... Artyom's guns everywhere!

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5277
  • I code dead people.
    • View Profile
Re: Trouble with adding multiple jobs in mod
« Reply #1 on: April 09, 2017, 06:55:45 PM »
Please post the json in question as well, it's difficult-to impossible to debug with just the error message.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline kimesik

  • Zombie Food
  • *
  • Posts: 16
    • View Profile
Artyom's guns... Artyom's guns everywhere!

Offline Zhilkin

  • Zombie Food
  • *
  • Posts: 68
    • View Profile
Re: Trouble with adding multiple jobs in mod
« Reply #3 on: April 10, 2017, 10:46:16 AM »
Watch yo parenthesis

Code: [Select]
[
{
        "type": "profession",
        "ident": "marinesoldier",
        "name": "Marine",
        "description": "You were a regular marinish cannonfodder. Your field operation mission get interrupted by a national emergency.  As far as you can tell, military command abandoned you in this hellhole when you missed the emergency evac. ",
        "points": 4,
        "skills": [
            {
                "level": 2,
                "name": "gun"
            },
            {
                "level": 2,
                "name": "rifle"
            },
            {
                "level": 1,
                "name": "stabbing"
            },
{
    "level": 4,
                "name": "swimming"
}
        ],
        "items": {
            "both": {
                "items": [
                    "winter_pants_army",
                    "army_top",
                    "winter_jacket_army",
                    "helmet_liner",
                    "helmet_army",
                    "balclava",
"gloves_liner",
"gloves_tactical",
"chestrig",
"kevlar",
"modularvestceramic",
                    "winter_gloves_army",
                    "socks",
                    "boots_combat",
                    "binoculars"
                ],
                "entries": [
                    { "item": "knife_combat", "container-item": "sheath" },
                    { "item": "m4a1", "ammo-item": "223", "charges": 30, "contents-item": "shoulder_strap" },
{ "item": "m1911", "ammo-item": "45_acp", "charges": 7, "container-item": "holster" }
                ]
            },
            "male": [
                "boxer_shorts"
            ],
            "female": [
                "sports_bra",
                "boxer_shorts"
            ]
        }
    },
    {
        "type": "profession",
        "ident": "icelance",
        "name": "Ice Lance",
        "description": "You watched anime, ate chips and smoked your favourite cigarettes Belomorkanal. But suddenly, Cataclysm happened and you had to run for your life.",
        "points": 3,
        "skills": [
            {
                "level": 2,
                "name": "computer"
},
            {
    "level": 1,
"name": "electronics"
    }
        ],
        "items": {
            "both": {
                "items": [
                    "jeans",
                    "longshirt",
                    "socks",
                    "wool_hoodie",
                    "sneakers",
                    "money_bundle",
                    "crackpipe",
                    "crack",
                    "crack",
                    "cig",
                    "ref_lighter",
                    "backpack"
                ]
            },
            "male": [
                "boxer_shorts"
            ],
            "female": [
                "sports_bra",
                "boxer_shorts"
            ]
}
}
]

Offline kimesik

  • Zombie Food
  • *
  • Posts: 16
    • View Profile
Re: Trouble with adding multiple jobs in mod
« Reply #4 on: April 10, 2017, 04:04:04 PM »
Artyom's guns... Artyom's guns everywhere!