adds snail achievement to genetics (#49515)

This commit is contained in:
Time-Green
2020-02-25 16:07:42 +01:00
committed by GitHub
parent d30ee04b0a
commit 0cac6d4e20
6 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
///Name of the achievement, If null it wont show up in the achievement browser. (Handy for inheritance trees)
var/name
var/desc = "You did it."
///Found in /datum/asset/spritesheet/simple/achievements
///Found in UI_Icons/Achievements
var/icon = "default"
var/category = "Normal"
@@ -43,7 +43,7 @@
desc = "You janked hard"
database_id = MEDAL_HELBITALJANKEN
icon = "helbital"
/datum/award/achievement/misc/getting_an_upgrade
name = "Getting an upgrade"
desc = "Make your first unique material item!"
@@ -95,3 +95,9 @@
desc = "Well, that didn't take long."
database_id = MEDAL_LONGSHIFT
icon = "longshift"
/datum/award/achievement/misc/snail
name = "KKKiiilll mmmeee"
desc = "You were a little too ambitious, but hey, I guess you're still alive?"
database_id = MEDAL_SNAIL
icon = "snail"
+1
View File
@@ -56,6 +56,7 @@
return
if(shell && eyes && tongue && prob(5))
affected_mob.set_species(/datum/species/snail)
affected_mob.client?.give_award(/datum/award/achievement/misc/snail, affected_mob)
affected_mob.visible_message("<span class='warning'>[affected_mob] turns into a snail!</span>", \
"<span class='boldnotice'>You turned into a snail person! You feel an urge to cccrrraaawwwlll...</span>")
cure()