Hey guys! I tried adding some things to the survivor profession to make it a self insert class, in which I’m dropped in with several things I own, and it worked up until I tried replacing the standard water bottle with a gallon jug of water. Now when I try to start a new game I get this message.
DEBUG : Error: data/mods//dda/../../json/professions.json: line 149:3: tried to start object, but found '}', not '{'
"female": [ "bra", "panties" ]
}
}
^
,
{
"type": "profession",
FUNCTION : bool main_menu::new_character_tab()
FILE : src/main_menu.cpp
LINE : 658
I’m new to coding, so I don’t know what went wrong. Here’s the bit of code I changed in the json file.
"type": "profession",
"ident": "unemployed",
"name": "Survivor",
"description": "Some would say that there's nothing particularly notable about you. But you've survived, and that's more than most could say right now.",
"points": 0,
"items": {
"both": [ "pants_cargo", "tshirt", "socks", "hoodie", "sneakers", "leather_belt", "pockknife", "bokken", "backpack", "cell_phone" ],
"entries": [
{ "item": "lighter", "charges": 30 },
{ "item": "jug_plastic", "ammo-item": "water_clean", "charges": 15 }
]
},
"male": [ "boxer_briefs" ],
"female": [ "bra", "panties" ]
}
},
{
Anyone with more experience know what I did wrong?