diff --git a/code/datums/achievements/achievements.dm b/code/datums/achievements/achievements.dm index 090e58e35dd8..b63b0e770fe2 100644 --- a/code/datums/achievements/achievements.dm +++ b/code/datums/achievements/achievements.dm @@ -12,3 +12,8 @@ name = "I live again" desc = "As a roboticist, create a cyborg" id = 2 + +/datum/achievement/pa_emag //Should be hidden but that's not a thing yet + name = "Catastrophe" + desc = "Emag a Particle Accelerator" + id = 4 diff --git a/yogstation/code/modules/power/singularity/particle_accelerator/particle_control.dm b/yogstation/code/modules/power/singularity/particle_accelerator/particle_control.dm index 7c54b06cf725..64b7b68c32d4 100644 --- a/yogstation/code/modules/power/singularity/particle_accelerator/particle_control.dm +++ b/yogstation/code/modules/power/singularity/particle_accelerator/particle_control.dm @@ -5,6 +5,7 @@ if(obj_flags & EMAGGED) return to_chat(user, "The laws of physics no longer apply in the future, god help you...") + SSachievements.unlock_achievement(/datum/achievement/pa_emag, user.client) do_sparks(5, 0, src) obj_flags |= EMAGGED