From 9edac72d38bc3302e3984e05573a2b7f67055ae5 Mon Sep 17 00:00:00 2001 From: DazedAnon Date: Tue, 15 Oct 2024 08:47:54 -0500 Subject: [PATCH] Fix skills.json --- modules/rpgmakermvmz.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/rpgmakermvmz.py b/modules/rpgmakermvmz.py index df7fa5f..ce9b88d 100644 --- a/modules/rpgmakermvmz.py +++ b/modules/rpgmakermvmz.py @@ -67,8 +67,8 @@ POSITION = 0 LEAVE = False # Dialogue / Scroll / Choices (Main Codes) -CODE401 = False -CODE405 = False +CODE401 = True +CODE405 = True CODE102 = False # Optional @@ -638,7 +638,8 @@ def searchNames(data, pbar, context): if context in ["Skills"]: if len(nameList) < BATCHSIZE: nameList.append(data[i]["name"]) - descriptionList.append(data[i]["description"].replace("\n", " ")) + if "description" in data[i] and data[i]["description"] != "": + descriptionList.append(data[i]["description"].replace("\n", " ")) # Messages number = 1