modtools/item-trigger should now work with items

develop
expwnent 2014-11-28 23:03:27 -05:00
parent 762f5231e2
commit 16fcdc3035
1 changed files with 1 additions and 1 deletions

@ -238,7 +238,7 @@ if args.itemType then
local temp local temp
for _,itemdef in ipairs(df.global.world.raws.itemdefs.all) do for _,itemdef in ipairs(df.global.world.raws.itemdefs.all) do
if itemdef.id == args.itemType then if itemdef.id == args.itemType then
temp = itemdef.subtype temp = args.itemType --itemdef.subtype
break break
end end
end end