From 16fcdc303525ab173a30ae5b6c681527031ef281 Mon Sep 17 00:00:00 2001 From: expwnent Date: Fri, 28 Nov 2014 23:03:27 -0500 Subject: [PATCH] modtools/item-trigger should now work with items --- scripts/modtools/item-trigger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/modtools/item-trigger.lua b/scripts/modtools/item-trigger.lua index 740e32fbf..4ad30315c 100644 --- a/scripts/modtools/item-trigger.lua +++ b/scripts/modtools/item-trigger.lua @@ -238,7 +238,7 @@ if args.itemType then local temp for _,itemdef in ipairs(df.global.world.raws.itemdefs.all) do if itemdef.id == args.itemType then - temp = itemdef.subtype + temp = args.itemType --itemdef.subtype break end end