# Tut 0x041 ## Not enough items It frequently happens that you want many items with only slight variations. In this tutorial we'll see how to create a item drop for every monster. We'll find all the npc's that the game knows about, and create an item (a corpse) for each one. garrysmod/addons/artery\_rougelite/data/artery/global/npc\_corpses.lua local reg = nrequire("core/inventory/item.lua") local base = {} base.Name = "Corpse base" base.weight = 10 function base:Serialize() return "" end function base:DeSerialize() return table.Copy(self) end local allnpcs = list.Get("NPC") for k,v in pairs(allnpcs) do if k.Name then local item = table.Copy(base) --Make a copy of the above "base" table item.Name = k.Name .. " Corpse" --Give it a name of " Corpse" reg.RegisterItem(item) --Add it to the game end end That's it! Restart the gamemode, and use `artery_printitems` to see the items in console!