mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +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
@@ -272,7 +272,7 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
|
||||
player_details = GLOB.player_details[ckey]
|
||||
player_details.byond_version = full_version
|
||||
else
|
||||
player_details = new
|
||||
player_details = new(ckey)
|
||||
player_details.byond_version = full_version
|
||||
GLOB.player_details[ckey] = player_details
|
||||
|
||||
@@ -465,6 +465,8 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
|
||||
|
||||
send2irc("Server", "[cheesy_message] (No admins online)")
|
||||
|
||||
player_details.achievements.save()
|
||||
|
||||
GLOB.ahelp_tickets.ClientLogout(src)
|
||||
GLOB.directory -= ckey
|
||||
GLOB.clients -= src
|
||||
@@ -914,3 +916,7 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
|
||||
screen -= S
|
||||
qdel(S)
|
||||
char_render_holders = null
|
||||
|
||||
|
||||
/client/proc/give_award(achievement_type, mob/user)
|
||||
return player_details.achievements.unlock(achievement_type, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user