July 18, 20241 yr Hello, here is a simple python script that changes all quests level to 99. You can use Parsec GUI to convert your NpcQuest.SDATA to .JSON and run; Then convert back to sdata using same Tool. ``` import json def update_json_file(file_path): with open(file_path, 'r') as file: data = json.load(file) def update_values(obj): if isinstance(obj, dict): if 'minLevel' in obj: obj['minLevel'] = 99 if 'maxLevel' in obj: obj['maxLevel'] = 99 for key, value in obj.items(): update_values(value) elif isinstance(obj, list): for item in obj: update_values(item) update_values(data) with open(file_path, 'w') as file: json.dump(data, file, ensure_ascii=False, indent=4) file_path = 'NpcQuest.json' update_json_file(file_path) ```
Hello, here is a simple python script that changes all quests level to 99.
You can use Parsec GUI to convert your NpcQuest.SDATA to .JSON and run;
Then convert back to sdata using same Tool.