ID:1752846
 
(See the best response by LordAndrew.)
Code:
mob
Player
Human
Elf
Dwarf
Orc


Problem description:

I am working on a game with four types of races to choose from. I want to have them all under my player mob type, and have the particular race selected upon logging in. Suggestions on how I would accomplish this?
Best response
When the player logs in, you could have them placed in a temporary mob for the purpose of character selection. When they've picked what race they want to be, then you can create a new instance of that race and set the player's client.mob variable to the new instance.
Sounds interesting, but I can't say I know how that would be done. I don't have much experience directly coding mobs, outside simply declaring them.
What I have so far:
 world
mob = /mob/Player

mob
Login (reply)
reply = input ("What race are you?") in list (" Human","Elf","Dwarf","Orc")
if (reply == "Human")
client.mob = /mob/Player/Human


It goes on like that for the other three races, then sets you in your location.
In response to Lawpiecla1
Here's a pretty rudimentary example:

// Note: I did not compile this, so errors might be present.
world
mob = /mob/player_select

mob/player_select

mob/player_select/Login()
..()
var race = input("What race would you like to play?", "Race Select") in list("Human", "Elf", "Dwarf", "Orc")

switch (race)
if ("Human")
src.client.mob = new /mob/player/human

if ("Elf")
src.client.mob = new /mob/player/elf

if ("Dwarf")
src.client.mob = new /mob/player/dwarf

if ("Orc")
src.client.mob = new /mob/player/orc

mob/player
var health = 0

human
health = 100

elf
health = 50

dwarf
health = 125

orc
health = 75

mob/player/Login()
..()
src << "You have [src.health] health!"

Again, this is a very basic example that could be improved upon in many ways, but it should give you an idea of what I mean.
Made a few alterations to fit my program, but that has worked out for me. Thanks.