client/base_num_characters_allowed = 3
world
mob = /mob/create_character
mob/create_character
var/mob/character
Login()
var/charactername = input("Welcome to dark journy. Please pick a name for your character. Please, no DBZ names.","Character Name?")
switch(input("Please pick your characters class. It determines the spells and skills they can learn, as well as there stats.","Character Background?") in list("Warrior","Cleric","Mage","Monk"))
if ("Warrior")
character = new /mob/You/Warrior()
if ("Cleric")
character = new /mob/You/Cleric()
if ("Mage")
character = new /mob/You/Magician()
if ("Monk")
character = new /mob/You/Monk()
character.name = charactername
src.client.mob = character
if(character.gender=="female")
character.icon_state="2"
character.loc=locate (2,2,1)
world<<"<B>[character] has logged in!"
del(src)
..()
For some reason, when I put in the top line that says client/base_num_characters_allowed = 3, its giving me
warnings that are sayikng that the lione is "proceding its definition" and the other saying "definition is here". I cant fix this no matter what i do, and the login wont work without them. Please someone telll me whats wrong with this.