Search found 1 match

by TBWNight
Sun Jul 23, 2017 11:14 am
Forum: Modding
Topic: Spawning Sack sand boxes with loot in them
Replies: 12
Views: 21879

Re: Spawning Sack sand boxes with loot in them

function sackWithLongSword() self.go:spawn("sack").containeritem:addItem(spawn("long_sword").item) end In LOG2 you would have to do this to make a sack with an item, in this case a long sword You could also do this function sackWithLongSword() local sack = spawn("sack",...