mob/Login()
usr << sound('Opening_1.wav',0)
input("You have entered our universe...") in list ("Load","New")
if("New")
usr.gender = input("???: Hmmm... Are you a boy... or a girl?","Your Gender",usr.gender) in list ("male","female")
usr.name = input("???: What shall we name the baby?",usr.name)
usr.icon = 'Character.dmi'
usr.icon_state = "Wisp"
usr.loc = locate ('1_The Womb.dmm')
..()
world << " [usr] is being born"
usr << sound('Opening.wav',0)
sleep(110)
usr << sound('Middle.wav',0, volume = 50)
var/savefile/F = new("[usr.key].sav")
Write(F)
saved=1
if("Load")
var/savefile/F = new("[usr.key].sav")
Read(F)
else
usr << "You have no existing character."
..()
When I click "Load" it gives me the same result for when you click new. I also need to majorly revise the login to be more stylish, but for now I just need it to function.**Note: This DOES compile correctly but does not function the way it was intended to.
You probably wanted a switch() statement, here.