I'm quite new to mod editing, and I'm trying to fix a bug related to leveled items and http://morrowind4kids.com/pseronwyrd/files/FarrpsMods/Weapon%20Compilation%20Mod/.
I've read a http://www.gamesas.com/index.php?/topic/1082086-helluva/page__view__findpost__p__15775957 mentioning issues with FARRP and leveled lists, but I didn't find any solution nor any explanation.
The initialization script "farrp_PerformLL_scr" adds leveled weapons to a lot of NPCs, but for some of them, when I loot their corpse, the farrp's item that should be there is replaced with an "error icon" (with a crossed red circle) which name is the object ID (eg. "farrp_Short_NPC"), and which cannot be used for anything ingame.
The script is 504 lines long, and does things like that:
Begin farrp_PerformLL_scr set farrp_PerformLL_once to 1 [...] "Marilia Saram"->additem "farrp_Long_NPC" 1 "relyn sarano"->additem "farrp_Long_NPC" 1 "breyns randas"->additem "farrp_Short_NPC" 1 "nels llendo"->additem "farrp_Short_NPC" 1 "sarvur sadri"->additem "farrp_Axe_NPC" 1 "filbeneth"->additem "farrp_Blunt_NPC" 1 "minisun ulirbabi"->additem "farrp_Long_NPC" 1 [...] MessageBox "Weapon Compilation Mod:: 470+ NPCs (and skeletons) now carry new leveled weapons" StopScript "farrp_PerformLL_scr"END
While it will work for some NPCs (eg. "minisun ulirbabi"), it will systematically fail for some others (eg. "nels llendo") and I have absolutely no idea what differentiates the former cases from the latter's.
If I try to add such items to my character using the console:
player->additem "farrp_Short_NPC" 1
I'll get the same bug.
It only works if I add a real object (eg. "farrp_dagger1"), and systematically fails for object IDs that point to level items (eg. "farrp_Short_NPC", "farrp_long_lv1"...).
But I also noticed it will fail for Morrowind original level items like "l_m_armor".
I guess my poor knowledge in TESCS doesn't help me here ^^'
Any help would be greatly appreciated