my npcdesc have a new property:
LootIndex <Index>
file: systems/loot/config/lootindex.cfg
the unique problem, the distro 097 use the directory "includes/" in loot package, maybe need be fixed for /include/.
later, i made a update in :death: package -> npcdeath.src
Code: Select all
# new include
include ":loot:lootParser";
#
# update in function core_NpcDeath(...)
#
var template := GetObjProperty(corpse, "npctemplate");
var npc_cfg := NPC_GetNPCConfig(template);
var npc_lootIndex := npc_cfg.LootIndex;[b] // new property from npcdesc.cfg[/b]
Loot_Generate(corpse, npc_lootGroup); [b] // loot package in systems[/b]
Any suggestions about?
Hickstein.
[/b]