Loot template

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
Hi all,

I am trying to make an item lootable. 

Firstly I have created the item in game using the tangible folder and I know it works because I can generate it using the createitem command.

I have then gone to the loot folder and created a loot item pointing to the .iff file in question and created a group file pointing to the loot item. Both files have been entered into items.lua and groups.lua respectively.

When I start the server I am not getting any errors although when I try and create the item using the createloot command I am getting an error saying Warning: loot item template requested does not exist... any ideas what I am missing?

Many Thanks

Gyran
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
I suspect a typo somewhere as you describe the correct procedure.. have you run the unit tests?
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
yeah it's not generating any errors on code. I have also taken another loot item modified the relevant areas and saved as and i still get the error.
 

Totor

Member
Joined
Mar 16, 2016
Messages
35
Add your group loots on one mob in creature template, and show if you have an error.
 
Top Bottom