mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Adds a bunch of new achievements (#48094)
About The Pull Request
Now that achievements are open for adding again, adds 7 new misc achievements-
Disk, Please!: As a nuclear operative, hold up the captain with a loaded rocket launcher. The captain must be conscious for it to count!
My Watchlist Status is Not Important: Get reported to security and medical staff by displaying antisocial tendencies in a video game.
I Was a Teenage Anarchist: Get killed by a vending machine falling on you.
Mister Sandman: Kill someone by botching surgery while they're asleep
A Bowl-d New World: Die to a toilet
How Do I Switch Hands???: Hit yourself idiot
One Lean, Mean, Cleaning Machine: Gaze upon a fully promoted cleanbot
Why It's Good For The Game
Adds more fun things to do for the gamer cred that aren't just killing things on lavaland
Changelog
cl Ryll/Shaps
add: A bunch of new achievements have been added! To name a few, there are achievements for holding up the captain with a rocket launcher as a nuclear operative, dying to inanimate objects, dying in a toilet, and getting watchlisted! Go do some dumb stuff!
/cl
This commit is contained in:
@@ -50,6 +50,8 @@
|
||||
var/list/prefixes
|
||||
var/list/suffixes
|
||||
|
||||
var/ascended = FALSE // if we have all the top titles, grant achievements to living mobs that gaze upon our cleanbot god
|
||||
|
||||
|
||||
/mob/living/simple_animal/bot/cleanbot/proc/deputize(obj/item/W, mob/user)
|
||||
if(in_range(src, user))
|
||||
@@ -64,6 +66,8 @@
|
||||
/mob/living/simple_animal/bot/cleanbot/proc/update_titles()
|
||||
var/working_title = ""
|
||||
|
||||
ascended = TRUE
|
||||
|
||||
for(var/pref in prefixes)
|
||||
for(var/title in pref)
|
||||
if(title in stolen_valor)
|
||||
@@ -71,6 +75,8 @@
|
||||
if(title in officers)
|
||||
commissioned = TRUE
|
||||
break
|
||||
else
|
||||
ascended = FALSE // we didn't have the first entry in the list if we got here, so we're not achievement worthy yet
|
||||
|
||||
working_title += chosen_name
|
||||
|
||||
@@ -79,6 +85,8 @@
|
||||
if(title in stolen_valor)
|
||||
working_title += " " + suf[title]
|
||||
break
|
||||
else
|
||||
ascended = FALSE
|
||||
|
||||
name = working_title
|
||||
|
||||
@@ -87,6 +95,9 @@
|
||||
if(weapon)
|
||||
. += " <span class='warning'>Is that \a [weapon] taped to it...?</span>"
|
||||
|
||||
if(ascended && user.stat == CONSCIOUS && user.client)
|
||||
user.client.give_award(/datum/award/achievement/misc/cleanboss, user)
|
||||
|
||||
/mob/living/simple_animal/bot/cleanbot/Initialize()
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -86,6 +86,8 @@
|
||||
if(iscyborg(user))//any immunities to surgery slowdown should go in this check.
|
||||
modded_time = time
|
||||
|
||||
var/was_sleeping = (target.stat != DEAD && target.IsSleeping())
|
||||
|
||||
if(do_after(user, modded_time, target = target))
|
||||
|
||||
var/chem_check_result = chem_check(target)
|
||||
@@ -104,6 +106,9 @@
|
||||
if(surgery.status > surgery.steps.len)
|
||||
surgery.complete()
|
||||
|
||||
if(target.stat == DEAD && was_sleeping && user.client)
|
||||
user.client.give_award(/datum/award/achievement/misc/sandman, user)
|
||||
|
||||
surgery.step_in_progress = FALSE
|
||||
return advance
|
||||
|
||||
|
||||
@@ -474,6 +474,7 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
|
||||
if(in_range(fatty, src))
|
||||
for(var/mob/living/L in get_turf(fatty))
|
||||
var/was_alive = (L.stat != DEAD)
|
||||
var/mob/living/carbon/C = L
|
||||
|
||||
if(istype(C))
|
||||
@@ -531,6 +532,9 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
if(crit_case)
|
||||
L.apply_damage(squish_damage, forced=TRUE)
|
||||
|
||||
if(was_alive && L.stat == DEAD && L.client)
|
||||
L.client.give_award(/datum/award/achievement/misc/vendor_squish, L) // good job losing a fight with an inanimate object idiot
|
||||
|
||||
L.Paralyze(60)
|
||||
L.emote("scream")
|
||||
playsound(L, 'sound/effects/blobattack.ogg', 40, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user