Talk:Console/Commands/@comment-86.85.112.101-20130920170155/@comment-535384-20130920211457

c_give("prefab",number) uses a round about way of GetPlayer.components.inventory:GiveItem("prefab") and iterates it the number of times entered.

c_spawn("prefab",number) does the same thing, that DebugSpawn does (it calls inst.Transform:SetPosition(TheInput:GetWorldPosition:Get) which I'm not sure if it spawns at mouse or your position.  The number is just the number of times that it is going to run.

The important difference would be that c_give will place it in the inventory, c_spawn will place it outside. This means using things like planted grass or anything that would not go into the inventory will probably not work, and unless there is a check in place, would crash the game.