Page 1 of 1

[Command] setMajor

Posted: Sat Nov 06, 2021 6:22 pm
by Raddeck
setMajor()


USE:
Set the Major for the player, both for teaching and studying.
Must be preceded by chooseMajor().
The majors available are hardcoded in the GI file.


Out of curiosity, the courses are:
  • Architecture
  • Chemical Engineering
  • Classics
  • Computer Science
  • Economics
  • Education
  • English
  • Geography
  • History
  • Law
  • Mathematics
  • Medicine
  • Music
  • Philosophy
  • Psychology
  • Political Sciences

TYPE: Command, Non-Ref
RETURNS: /
THEME: University
COMPARE: chooseMajor()


EXAMPLE:

Code: Select all

    chooseMajor()
    setMajor()
    "I just selected my <Player.Major> as my major."