You cannot find it - it is missing from the file, so you need to add it there. Location of the object where it needs to be added is shown in error message.
I get this message: DEBUG : Error: data/mods//nocts_cata_mod-master/legacy.json: line 189:61: requested non-existing member “str”
"id": "encyclopedia_barter",
"type": "BOOK",
"name": { "str_sp": "Rebuilding Civilization: Barter" },
^
"description": "The bartering volume of the Rebuilding Civilization encyclopedia. This book contains everything from what supplies are worth more after the cataclysm to what economic system to use in your new society in fine detail. B
FUNCTION : bool main_menu::new_character_tab()
FILE : src/main_menu.cpp
LINE : 781
when I try to run a world with cataclysm++. I’m using the launcher, if it makes a difference.
Ok, I have a new issue (I think): I’m using Goat’s community compilation now, but I get this error: DEBUG : Error: data/mods//Unlesh_The_Mods/mods/nocts_cata_mod-master/Char_creation/c_start_locations.json: line 3:30: must specify either id or abstract
I changed all the ids to ident, which definitely fixed that problem, but now it’s giving me this: DEBUG : Error: data/mods//Unlesh_The_Mods/mods/nocts_cata_mod-master/Char_creation/c_start_locations.json: line 5:34: missing mandatory member “target”
Hey, really interested in the mod but it hasn’t been working for me using the recent experimental versions. I keep getting
DEBUG : itype ‘mx_laser_sniper_ups’ uses undefined flag ‘NO_AMMO’. Please add corresponding ‘json_flag’ entry to json.
FUNCTION : Item_factory::finalize_post(itype&)::<lambda(const string&)>
FILE : src/item_factory.cpp
LINE : 504
The No_Ammo flag is an error thats repeated over multiple weapons, another is “BOOTS” flag undefined. How exactly do I fix these errors, do I just ignore them all?
#44694 removed the NO_AMMO flag because it didn’t do anything (no C++ code to support it). I don’t know about the BOOTS flag, but suspect it is also dead.
I recommend going through the json files in the Cataclysm++ Mod and delete these two flags from all of the items that have them. That should fix the problem.
Hm, okay dude. Thanks for the advice, will the weapons that have NO_AMMO flags on them still not require ammo? I dont know what flags do to begin with so I guess like you said, they arent supposed to since its not supported