Ah, a bug with the alchemist quest and dropping ingredientsTheyleon wrote:Was getting the following lua error, when fighting some undead (happened when I killed them, for a couple of different enemy types)
EDIT: actually, seems to be whenever I kill a enemy wight from what I can tell. Have been able to keep playing with no ill effects that I've noticed.
Lua Error: /data/general/npcs/wight.lua:57: attempt to call method 'need_part' (a nil value)
At [C]:-1 need_part
At /data/general/npcs/wight.lua:57 check
At /engine/interface/ActorLife.lua:83 die
At /mod/class/Actor.lua:2177 die
At /mod/class/interface/ActorLife.lua:45 takeHit
At /mod/class/Actor.lua:2142 takeHit
At /data/damage_types.lua:347 projector
At /mod/class/interface/Combat.lua:445 attackTargetWith
At /data/talents/psionic/dream-smith.lua:169 damtype
At /engine/interface/ActorProject.lua:374 projectDoAct
At /engine/Projectile.lua:208 act
At /engine/GameEnergyBased.lua:126 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:46 tick
At /mod/class/Game.lua:1054

Will fix this(though I really should use superloading rather than overloading eventually).
It's weird though because it calls game.player:hasQuest("brotherhood-of-alchemists"):need_part(who, part, self) which is defined in the quest, not the file itself!
EDIT: This is because I was using OOOLD code, from before ingredients always dropped, even in not on a quest. Silly me. Fixed, please download the last addon version