race = prompt("Blabla, which race will it be, sir?","Ding","Dong","Dung");
mob
race
icon = 'races.dmi'
if race = "Ding"
icon_state = "Ding_icon"
else if race = "Dong"
icon_state = "Dong_icon"
else if race = "Dung"
icon_state = "Dung_icon"
else
// Print message that says invalid selectio
Problem description:
***I know the above isn't accurate byond code, just musing a bit***
So, I am using the RPG Framework to help me learn BYOND. Right now I am trying to come up with a way for a race selection type thing. I want players to be prompted to select a race at character creation. And then, depending on their choice, I want to assign them the icon that represents that race.
I was hoping to have some kind of graphical interface that would give an icon/image of each race and a description as well as starting stats/skills that the race gets. I fear that may be a bit beyond my ability.
Any help (be it code, links to guides, or anything else) would be greatly appreciated.
http://www.byond.com/docs/ref/info.html#/proc/switch
http://www.byond.com/docs/ref/info.html#/proc/input
http://www.byond.com/docs/ref/info.html#/proc/alert
http://www.byond.com/docs/ref/info.html#/operator/<</ output
http://www.byond.com/docs/ref/info.html#/atom/proc/New