mob/Login()
usr << sound ('offtoneverland.ogg')
mob/nation/var
Furion = 0
Ancient = 0
Arcadian = 0
Sky_Pirate = 0
turf/New
icon='New.bmp'
layer=3
Click()
var/list/nations = list("The Arcadians","The Ancients","Sky Pirates")
if(prob(30))
nations+= "The Furions"
switch(input("Select Your Nation.") in nations)
if("The Arcadians")
usr.icon='player.dmi'
usr.icon_state="male"
usr.loc=locate(148,28,4)
nation.Arcadian +=1
if("The Ancients")
usr.icon='player.dmi'
usr.icon_state="male"
usr.loc=locate(102,28,4)
nation.Ancient +=1
if("Sky Pirates")
usr.icon='player.dmi'
usr.icon_state="male"
usr.loc=locate(188,28,4)
nation.Sky_Pirate +=1
if("The Furions")
usr.icon='player.dmi'
usr.icon_state="male"
usr.loc=locate(248,28,4)
nation.Furion +=1
turf/Finished
icon='Finished.bmp'
density=1
opacity=1
layer=7
Click()
usr.loc=locate(/turf/landscape/start)
usr << sound(null)
sleep(50)
if "The Arcadians" = 1
usr.loc=locate(/turf/landscape/start)
usr << sound('songa.midi')
if "The Ancients" = 1
usr.loc=locate(/turf/landscape/start)
usr << sound('songb.midi')
if "Sky Pirates" = 1
usr.loc=locate(/turf/landscape/start)
usr << sound('songc.midi')
if "The Furions" = 1
usr.loc=locate(/turf/landscape/start)
usr << sound('songd.midi')
hows this looking, do i look to be on the right tracks?
What
and
That won't even compile. Or work how you want it to.
= is used to set a value
== is used to compare values
You're checking whether a text string equals 1, when you should be checking whether the nation variable equals the string.