world/mob = /mob/Player; // Fixed typo. Still gives error.
client/North() {
if(src.mob.IsInMainMenu) {
src.mob.MoveOption(1);
} else {
return ..();
}
}
client/South() {
if(src.mob.IsInMainMenu) {
src.mob.MoveOption(2);
} else {
return ..();
}
}
mob/Player/proc/MoveOption(var/Direction) {
src << "Ew, i'm not done yet... [Direction]";
}
mob/Player/var
IsInMainMenu;
Problem description: It says MoveOption() and IsInMainMenu undefined proc and undefined var, when they're both defined and world.mob is set to mob/Player...
But client.mob is the one you are looking for.