[MIRROR] Add a new achievement (#600)

* Add a new achievement (#53282)

This achievement can be gained by slapping bubblegum with a tongue.

For science!

Sprite by Arcane

* Add a new achievement

Co-authored-by: oranges <email@oranges.net.nz>
This commit is contained in:
SkyratBot
2020-09-02 03:01:02 +02:00
committed by GitHub
co-authored by oranges
parent 978f3ba7f1
commit f844c39ab1
5 changed files with 24 additions and 1 deletions
@@ -196,6 +196,21 @@ Difficulty: Hard
if(bloodpool.len && (!faction_check_mob(L) || L.stat == DEAD))
. += L
/**
* Attack by override for bubblegum
*
* This is used to award the frenching achievement for hitting bubblegum with a tongue
*
* Arguments:
* * obj/item/W the item hitting bubblegum
* * mob/user The user of the item
* * params, extra parameters
*/
/mob/living/simple_animal/hostile/megafauna/bubblegum/attackby(obj/item/W, mob/user, params)
. = ..()
if(istype(W, /obj/item/organ/tongue))
user.client?.give_award(/datum/award/achievement/misc/frenching, user)
/mob/living/simple_animal/hostile/megafauna/bubblegum/proc/try_bloodattack()
var/list/targets = get_mobs_on_blood()
if(targets.len)