Re: Does onDie work in LOG 2?
Posted: Fri Nov 07, 2014 8:17 am
my_mummy_A.monster:addItem(spawn("bone_club").item)
Official Legend of Grimrock Forums
http://almosthumangames.com/forum/
Isaac wrote:*There is likely another ~better way, but I'm still looking...Code: Select all
spawn("bone_club",1,1,1,1,1,"bone_club_1") my_mummy_A.monster:addItem(bone_club_1.item)
Ah... ninja'ed by about a minute...cameronC wrote:Isaac wrote:*There is likely another ~better way, but I'm still looking...Code: Select all
spawn("bone_club",1,1,1,1,1,"bone_club_1") my_mummy_A.monster:addItem(bone_club_1.item)
my_mummy_A.monster:addItem(spawn("bone_club").item) spawns it automatically 'inside' the monster, too.
Code: Select all
local mob = spawn("crowern",1,13,22,2,0)
mob.monster:setLootDrop({100,"baked_maggot",25,"baked_maggot"})