mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
adds snail achievement to genetics (#49515)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user