Merge pull request #9316 from Spookerton/spkrtn/fix/saboatage

only /item archeology finds try to set origin tech
This commit is contained in:
Atermonera
2024-01-30 16:54:55 -08:00
committed by GitHub
@@ -706,12 +706,14 @@
if(!desc)
desc = "This item is completely [pick("alien","bizarre")]."
var/is_item = istype(new_item, /obj/item)
//icon and icon_state should have already been set
if(new_item)
new_item.name = name
new_item.desc = src.desc
if(talkative)
if(talkative && is_item)
new_item.talking_atom = new(new_item)
LAZYINITLIST(new_item.origin_tech)
new_item.origin_tech[TECH_ARCANE] += 1
@@ -726,7 +728,7 @@
qdel(src)
else if(talkative)
else if(talkative && is_item)
src.talking_atom = new(src)
LAZYINITLIST(origin_tech)
origin_tech[TECH_ARCANE] += 1