Fix "Getting an upgrade" achievement (#93612)

## About The Pull Request

Closes https://github.com/tgstation/tgstation/issues/93609
## Why It's Good For The Game

It's fix
## Changelog
🆑 FeudeyTF
fix: Now you can get "Getting an upgrade" achievement. Craft your own
unique item!
/🆑
This commit is contained in:
FeudeyTF
2025-10-25 21:18:38 +02:00
committed by GitHub
parent 15f0356620
commit 15638ca18b
+7
View File
@@ -302,6 +302,13 @@
target_location = get_turf(src)
else
target_location = get_turf(src)
//give achievement for using unique material
if(design.materials[MAT_CATEGORY_ITEM_MATERIAL])
for(var/datum/material/material in materials_needed)
if(!istype(material, /datum/material/glass) && !istype(material, /datum/material/iron))
ui.user.client.give_award(/datum/award/achievement/misc/getting_an_upgrade, ui.user)
break
addtimer(CALLBACK(src, PROC_REF(do_make_item), design, build_count, build_time_per_item, material_cost_coefficient, charge_per_item, materials_needed, target_location), build_time_per_item)
return TRUE