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

I don't know about DebugSpawn. HOWEVER, if you enable the console commands with RunScript("consolecommands") you will get access to c_give(X,Y). X will be the prefab and will be in quotes. Y will be the amount, and is optional.

RunScript("consolecommands") c_give("carrot",40)

Would produce 40 carrots directly in your inventory. The game may crash if you have no room. I have not tested it with a full inventory. It may just throw it on the ground. DebugSpawn would probably need to be used within a loop structure much like the skip more days section.