mob
Login()
var/char_type = input("What are you?",) in list("Samurai","Minion")
switch(char_type)
if("Samurai")
Samurai()
if("Minion")
Minion()
mob/proc/Samurai() // this will be called if they choose Samurai
var/item_choice = input("Which are you?") in list("Male","Female")
switch(item_choice)
if("Male")
icon = 'Male.dmi'
if("Female")
icon = 'Female.dmi'
else
src << "No neuters allowed!!"
mob/proc/Minion() // this will be called if they choose Minion
var/item_choice = input("What colour Minion are you?",) in list("Red","Blue")
src << "You are a [item_choice] Minion!"
..()
This Login code leaves me with a black login screen.
ID:261333
Dec 25 2001, 12:23 pm
|
|
Dec 25 2001, 1:31 pm
|
|
..() must be indented one more time.
|
You need to actually have a ..() indented one from Login() place at the end of your login code. Like this:
Super saiyan3 wrote: mob..() |
In response to Exadv1
|
|
Exadv1 wrote:
..() must be indented one more time. Indenting once more gives me this. unnamedyet.dm:26::warning: operation has no effect here |