So the spawn code for the tek rifle that is cursed does not work
Cursed Tek Rifle
Shoots explosive plasma bolts, with an infrared zoomable scope. Equipping requires learning this Tekgram.

Recipe
Loading recipe…
To make Cursed Tek Rifle, combine Red Element, Black Pearl, Element, Crystal, Metal Ingot, and Polymer in a Tek Replicator for 15 seconds.