Inventory help

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
SpiderFighter
Posts: 789
Joined: Thu Apr 12, 2012 4:15 pm

Re: Inventory help

Post by SpiderFighter »

Komag wrote:
SpiderFighter wrote: For example:

Code: Select all

local startknife = spawn("knife")
party:getChampion(1):insertItem(7,startknife)
I use an even more direct version:

Code: Select all

party:getChampion(1):insertItem(7,spawn("knife"))
Ooh, I like that! Very sleek code, Komag. You might want to fix that typo though. ;) [WHAT typo??!]
Post Reply