TR_Mainland wrong IDs

Type: 

Reminder

Severity: 

Normal

Game version: 

Morrowind

Concerns: 

TR_Mainland

Found in Version: 

Status: 

Description: 

IDs should be checked again when all files for release are merged into TR_Mainland to verify if they're used in scripts before fixing them,

IDs with spaces at the end

 

Data IDs instead of TR IDs

 

Missing map prefix (m3 or m4 or i4...)

 

tes3cmd script to check for ID issue

 

tes3cmd dump --list --type GLOB --type SCPT --type BODY --type ENCH --type SNDG --type STAT --type WEAP --type NPC_ --type CREA --type LEVC --type SPEL --type ALCH --type LEVI --type ACTI --type APPA --type ARMO --type BOOK --type CLOT --type CONT --type DOOR --type INGR --type LIGH --type LOCK --type MISC --type PROB --type REPA --id "(?!^TR_.*$)^.+" TR_Mainland.ESP > "TR_Mainland IDs without TR_ prefix.txt"

tes3cmd dump --list --type GLOB --type SCPT --type BODY --type ENCH --type SNDG --type STAT --type WEAP --type NPC_ --type CREA --type LEVC --type SPEL --type ALCH --type LEVI --type ACTI --type APPA --type ARMO --type BOOK --type CLOT --type CONT --type DOOR --type INGR --type LIGH --type LOCK --type MISC --type PROB --type REPA --id "(?=^TR_)(?!^(TR_m1|TR_m2|TR_m3|TR_m4|TR_m5|TR_m6|TR_m7|TR_m8|TR_m0|TR_i1|TR_i2|TR_i3|TR_i4|TR_i5|TR_i6|TR_i7|TR_i8)(_|-).*$)^.+" TR_Mainland.ESP > "TR_Mainland IDs without map prefix.txt"

tes3cmd dump --list --type CELL --type GLOB --type SCPT --type BODY --type ENCH --type SNDG --type STAT --type WEAP --type NPC_ --type CREA --type LEVC --type SPEL --type ALCH --type LEVI --type ACTI --type APPA --type ARMO --type BOOK --type CLOT --type CONT --type DOOR --type INGR --type LIGH --type LOCK --type MISC --type PROB --type REPA --id "(( | |-|_|\s)$)" TR_Mainland.ESP > "TR_Mainland IDs with bad ending.txt"

tes3cmd dump --list --type INFO --type DIAL --type GLOB --type SCPT --type BODY --type ENCH --type SNDG --type STAT --type WEAP --type NPC_ --type CREA --type LEVC --type SPEL --type ALCH --type LEVI --type ACTI --type APPA --type ARMO --type BOOK --type CLOT --type CONT --type DOOR --type INGR --type LIGH --type LOCK --type MISC --type PROB --type REPA --id "[^a-zA-Z0-9'_-\s]" TR_Mainland.ESP > "TR_Mainland IDs with nonstandard characters.txt"

REM :: CONtainers, NPC_s or CREAtures with IDs over 24 characters are bad because the engine adds 8 numbers to each instance, and cuts off characters over 24 to fit the total limit of 32. The Construction Set interface itself doesn't let you give them more than 23 characters, except when editing in the list instead of the object window
tes3cmd dump --list --type CONT --type NPC_ --type CREA --id "(........................)" TR_Mainland.ESP > "TR_Mainland IDs types over 24 characters.txt"

REM :: dialogue conditions
REM :: for testing mainland, add --no-match "Cell:" --no-match "Class:T_" --no-match "Name:TR_NecromOrd" --no-match "Name:TR_Vamp" --no-match "Topic:drain personality poison" --no-match "Name:hetman_roadyr" --no-match "Name:TR_overseer" --no-match "Name:TR_m4_MundSlave" --no-match "Name:TR_m3_Ja'Jabba" --no-match "Name:TR_m4_OranSlave"
tes3cmd dump --type INFO --no-match "Actor:" --no-match "Journal:" --no-match "Faction:" --no-match "Name:NoLore" --no-match "Name:TR_Map" --no-match "Cell:" --no-match "Class:T_" --no-match "Name:TR_NecromOrd" --no-match "Name:TR_Vamp" --no-match "Topic:drain personality poison" --no-match "Name:hetman_roadyr" --no-match "Name:TR_overseer" --no-match "Name:TR_m4_MundSlave" --no-match "Name:TR_m3_Ja'Jabba" --no-match "Name:TR_m4_OranSlave" TR_Mainland.ESP > "TR_Mainland dialogue may be lacking conditions.txt"

 

Comments

dirtied on purpose for a

MinerMan60101's picture

dirtied on purpose for a script and shouldn't be cleaned:
 ACTI: t_de_set_bannertownnavandaram (Nav Andaram)
Should this be a unique object TR_m7_NVA_etc?