We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8841edb + 25b14e6 commit e3393dcCopy full SHA for e3393dc
code/modules/xenoarcheaology/finds/find_spawning.dm
@@ -706,12 +706,14 @@
706
if(!desc)
707
desc = "This item is completely [pick("alien","bizarre")]."
708
709
+ var/is_item = istype(new_item, /obj/item)
710
+
711
//icon and icon_state should have already been set
712
if(new_item)
713
new_item.name = name
714
new_item.desc = src.desc
715
- if(talkative)
716
+ if(talkative && is_item)
717
new_item.talking_atom = new(new_item)
718
LAZYINITLIST(new_item.origin_tech)
719
new_item.origin_tech[TECH_ARCANE] += 1
@@ -726,7 +728,7 @@
726
728
727
729
qdel(src)
730
- else if(talkative)
731
+ else if(talkative && is_item)
732
src.talking_atom = new(src)
733
LAZYINITLIST(origin_tech)
734
origin_tech[TECH_ARCANE] += 1
0 commit comments