shoebitch2399 wrote:
Yes the folder is there with the 4 files
Not sure whats going on there.
Really make sure that you extracted the Script completely.
Personalities must be in your SS Folder under "/scripts/AI_Mistress/personalities/"
You could also open the script and replace the loadMistressPersonalities functions with this one to get some visible debug:
Code:
def loadMistressPersonalities = { ->
def personalitiesDir = new File(getDataFolder()+'/scripts/AI_Mistress/personalities/')
def personalities = []
def jsonSlurper = new groovy.json.JsonSlurper()
if (personalitiesDir.exists() && personalitiesDir.isDirectory()) {
personalitiesDir.eachFile { file ->
if (file.name.endsWith('.txt')) {
def json = jsonSlurper.parseText(file.text)
if(json.bgcolor?.startsWith("0x")){
json.bgcolor = Integer.parseInt(json.bgcolor.substring(2), 16)
}
personalities << json
}
}
} else {
show("The personalities directory does not exist or is not a directory.")
}
return personalities
}