From 2670395dc09c7e0703dbd60fe36fcdd301bc2cd9 Mon Sep 17 00:00:00 2001 From: manavortex Date: Mon, 27 Nov 2023 20:01:31 +0100 Subject: [PATCH] checking for embedded files in CKEyValuePairs now --- Scripts/Wolvenkit_FileValidation.wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Scripts/Wolvenkit_FileValidation.wscript b/Scripts/Wolvenkit_FileValidation.wscript index 6402d6b..0907b65 100644 --- a/Scripts/Wolvenkit_FileValidation.wscript +++ b/Scripts/Wolvenkit_FileValidation.wscript @@ -1335,7 +1335,10 @@ function validateMaterialKeyValuePair(key, materialValue, info, validateRecursiv } break; } - + if ((materialValue.Flags || '').includes('Embedded')) { + Logger.Warning(`${info} is set to Embedded. This might not work as you expect it.`); + } + // Once we've made sure that the file extension is correct, check if the file exists. checkDepotPath(materialDepotPath, info); }