/mob/new_player/Login()
update_Login_details() //handles setting lastKnownIP and computer_id for use by the ban systems as well as checking for multikeying
if(join_motd)
to_chat(src, "
[join_motd]
")
client.reset_screen()
if(!mind)
mind = new /datum/mind(key)
mind.active = 1
mind.current = src
if(length(newplayer_start))
loc = pick(newplayer_start)
else
loc = locate(1,1,1)
change_sight(adding = SEE_TURFS)
player_list |= src
/* Handle media initialization */
client.media = new /datum/media_manager(src)
client.media.open()
client.media.update_music()
if(client)
spawn()
client.playtitlemusic()
/*
var/list/watch_locations = list()
for(var/obj/effect/landmark/landmark in landmarks_list)
if(landmark.tag == "landmark*new_player")
watch_locations += landmark.loc
if(watch_locations.len>0)
loc = pick(watch_locations)
*/
new_player_panel()
if(ckey in deadmins)
client.verbs += /client/proc/readmin
#if SHOW_CHANGELOG_ON_NEW_PLAYER_LOGIN
spawn(0)
if(client)
//If the changelog has changed, show it to them
if(client.prefs.get_pref(/datum/preference_setting/string/changelog) != changelog_hash)
// Need to send them the CSS and images :V
client.getFiles(
'html/postcardsmall.jpg',
'html/somerights20.png',
'html/88x31.png',
'html/bug-minus.png',
'html/cross-circle.png',
'html/hard-hat-exclamation.png',
'html/image-minus.png',
'html/image-plus.png',
'html/music-minus.png',
'html/music-plus.png',
'html/tick-circle.png',
'html/wrench-screwdriver.png',
'html/spell-check.png',
'html/burn-exclamation.png',
'html/chevron.png',
'html/chevron-expand.png',
'html/changelog.css',
'html/changelog.js',
'html/changelog.html'
)
src << browse('html/changelog.html', "window=changes;size=675x650")
client.prefs.SetChangelog(ckey, changelog_hash)
winset(client, "rpane.changelog", "background-color=none;font-style=;")
#endif