ID:163192
 
How can I make an item but for example I wanna change a var in it also.. just for the new item.. so like
new /obj/pie/P(src.loc)
P.tastyness = 99999999
//This of course does not work
//Just an example

This is sort of what I am doing...
How can I change the vars.
Well, what you need to do is keep a reference to the object you're creating, so you can modify it.

var/obj/type/T = new /obj/type
T.value = newvalue