else setStrProperty( name ) else setIntProperty( serial ) else setIntProperty( color ) else setIntProperty( amount )
else setItemStrProperty( "name", name ) else setItemIntProperty( "color", color ) else setItemIntProperty( "amount", amount ) else setItemIntProperty( "serial", serial ) else setItemIntProperty( "x", pos.x ) else setItemIntProperty( "y", pos.y ) else setItemIntProperty( "z", pos.z ) else setItemIntProperty( "plane", pos.plane )
int Py_WPItemSetAttr( Py_WPItem *self, char *name, PyObject *value ){	if( !strcmp( name, "id" ) )		self->Item->setId( PyInt_AS_LONG( value ) );	else setStrProperty( name )	else setIntProperty( serial )	else setIntProperty( color )	else setIntProperty( amount )	return 0;}