Open Unrepentant-Atheist opened 1 year ago
Uh, huh. ETA: 15 hours
DEBUG : (json-error) Json error: C:/Users/Anderson/Documents/My Games/Catapult/bn/userdata/mods/Nuclear_Power_Plant/furniture_and_terrain/terrain-doors.json:7:23: Invalid or misplaced field name "lockpick_result" in JSON data
"copy-from": "t_door_metal_locked",
"//": "Same as t_door_metal_pickable, but without OPENCLOSE_INSIDE. Due the inheritance issues cannot copy from the t_door_metal_pickable, delete doesn't work with flags",
"lockpick_result":
^
"t_door_metal_c",
"symbol": "+",
"looks_like": "t_door_metal_pickable",
FUNCTION : report_unvisited FILE : D:\a\Cataclysm-BN\Cataclysm-BN\src\json.cpp LINE : 125 VERSION : BN 01418de
[ { "type": "terrain", "id": "t_door_metal_interior_locked", "copy-from": "t_door_metal_locked", "//": "Same as t_door_metal_pickable, but without OPENCLOSE_INSIDE. Due the inheritance issues cannot copy from the t_door_metal_pickable, delete doesn't work with flags", "symbol": "+", "looks_like": "t_door_metal_pickable", "color": "cyan", "flags": [ "NOITEM", "REDUCE_SCENT", "CONNECT_WITH_WALL" "LOCKED", "BLOCK_WIND", "SUPPORTS_ROOF", "PICKABLE" ], "examine_action": "locked_object_pickable", "bash": { "str_min": 80, "str_max": 250, "sound": "metal screeching!", "sound_fail": "clang!", "ter_set": "t_mdoor_frame", "items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 }, { "item": "hinge", "count": [ 1, 3 ] } ] }, "pry": { "success_message": "You pry open the metal door.", "fail_message": "You pry, but cannot pry open the door.", "pry_quality": 4, "noise": 24, "difficulty": 4, "new_ter_type": "t_door_metal_o" } } ]
https://github.com/OpsCoretango/Nuclear_Power_Plant_BN/blob/main/Nuclear_Power_Plant/furniture_and_terrain/terrain-doors.json https://github.com/cataclysmbnteam/Cataclysm-BN/blob/main/data/json/furniture_and_terrain/terrain-doors.json
Trying to lockpick any door results in non-lockpickable doors with this error message:
can you message me how you lockpicked the door?
Ну и я пытался дать ему "lockpick_result": "t_door_metal_c", но во первых - по идее за это отвечает файл в самом BN где он берет эту копию а там lockpick_result прописан а во вторых я пока не понимаю как мне быть с "lockpick_result" through override his copy-from in BN vanilla file https://github.com/OpsCoretango/Nuclear_Power_Plant_BN/issues/1#issuecomment-1872152986
Trying to lockpick any door results in non-lockpickable doors with this error message: