mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
Adds achievement datums (#47058)
* First step * achievements part 1 * epic * done * epic * removes test datums * adds minecraft achievement * asss * ass 2 * ass * fix * UPGRADE * back-end partially * back-end * woops * epic * linted * Achievements (#19) * initialize SSachievements lists * achievement ui actually tries to load * witty commit description * menu * done * done * jesus christ * ok linter * Update code/datums/achievements/_achievement_data.dm Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com> * Update _achievement_data.dm * Update misc_achievements.dm * Update achievements.dm * Update * And a space, goddamit! * Rebuild tgui * woops * bruh moemnet * ok conflicts * finally
This commit is contained in:
committed by
Rob Bailey
co-authored by
Emmett Gaines
parent
6468553911
commit
8a01398814
@@ -48,12 +48,12 @@ GLOBAL_LIST_INIT(tendrils, list())
|
||||
last_tendril = FALSE
|
||||
|
||||
if(last_tendril && !(flags_1 & ADMIN_SPAWNED_1))
|
||||
if(SSmedals.hub_enabled)
|
||||
if(SSachievements.hub_enabled)
|
||||
for(var/mob/living/L in view(7,src))
|
||||
if(L.stat || !L.client)
|
||||
continue
|
||||
SSmedals.UnlockMedal("[BOSS_MEDAL_TENDRIL] [ALL_KILL_MEDAL]", L.client)
|
||||
SSmedals.SetScore(TENDRIL_CLEAR_SCORE, L.client, 1)
|
||||
L.client.give_award(/datum/award/achievement/boss/tendril_exterminator, L)
|
||||
L.client.give_award(/datum/award/score/tendril_score, L) //Progresses score by one
|
||||
GLOB.tendrils -= src
|
||||
QDEL_NULL(emitted_light)
|
||||
QDEL_NULL(gps)
|
||||
|
||||
Reference in New Issue
Block a user