Palmitoyltransferase that catalyzes the addition of palmitate onto various protein substrates (PubMed:29326245). Has no stringent fatty acid selectivity and in addition to palmitate can also transfer onto target proteins myristate from tetradecanoyl-CoA and stearate from octadecanoyl-CoA (By similarity). May thereby regulate target proteins association and localization to membranes (By similarity). In the nervous system, probably catalyzes the palmitoylation of synaptic proteins and is involved in the differentiation of dopaminergic neurons and the development of the diencephalon (PubMed:26095893). hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] L-cysteinyl-[protein] + tetradecanoyl-CoA = CoA + S-tetradecanoyl-L-cysteinyl-[protein] L-cysteinyl-[protein] + octadecanoyl-CoA = CoA + S-octadecanoyl-L-cysteinyl-[protein] Maternally supplied mRNAs are initially observed (PubMed:26095893). Ubiquitous zygotic expression is visible at 3 hours post-fertilization/hpf and strongly increases from 8 hpf to 48 hpf (PubMed:26095893). From 10 hpf, the expression progressively concentrates in the anterior neural plate (PubMed:26095893). From 18 hpf through 48 hpf, expression is abundant in the forebrain, especially in the diencephalon (PubMed:26095893). The DHHC domain is required for palmitoyltransferase activity. Autopalmitoylated (in vitro). Morpholino knockdown has no effect on development till 18 hpf (PubMed:26095893). At 24 hpf, the embryos exhibit abnormal brain development with indistinguishable boundaries among different regions in the forebrain and a slightly reduced size of diencephalon (PubMed:26095893). A reduction in mature dopaminergic neurons is observed associated within learning and memory deficits (PubMed:26095893). Belongs to the DHHC palmitoyltransferase family.