world
mob = /mob/PC
mob/PC
var/tmp
list/chat_color[] = list("gm name"="#FF0000", "own name"="#8C8C8C", "emote text"="#9C009C", "info text"="#0000FF", "default"="#000000")
list/ignore_list = new()
obj/Stage/current_stage
current_game_type
message_left
busy
item_num = 1
sleep_in_menu
credits
Login()
loc = locate(/area/start)
..()
Problem description: I'm somewhat a novice to this though I understand the basics, but I can't figure this out. Above I've given a set of variables from my mob/PC object, Login() and my world/mob code. The idea is so that the user's mob is defaulted to mob/PC instead of just mob so the player mob has access to variables that other mobs can't. I followed several help topics and none worked (and a lot of them have Login in the mob/PC object when logging in as a PC mob for example). Can someone explain to me where I'm going wrong and maybe give examples.
If you don't have a handle on what the tabs and slashes mean, that would be the next place I'd suggest boning up. Everything that "belongs to" mob/PC needs to be indented one more time than mob/PC. Everything that belongs to mob/PC/Login needs to be indented one more time than Login(), and so on.