SS1984 - Modules - TypesVar Details - Proc Details

job

Vars

accessJob access. The use of minimal_access or access is determined by a config setting: CONFIG_GET(flag/jobs_have_minimal_access)
alt_titlesList of alternate titles, if any
current_positionsHow many players have this job
departmentThe department the job belongs to.
head_positionWhether this is a head position
hidden_from_job_prefsIf true, job preferences screen never shows this job.
minimal_player_ageIf you have use_age_restriction_for_jobs config option enabled and the database set up, this option will add a requirement for players to be at least minimal_player_age days old. (meaning they first signed in at least that many days before.)
optional_objectivesObjectives that are SOMETIMES added.
positions_lowpopPosition count override from config/jobs.txt and jobs_highpop.txt
req_admin_notifyIf this is set to 1, a text is printed to the player when jobs are assigned, telling him that he should let admins know that he has to disconnect.
required_objectivesObjectives that are ALWAYS added.
selection_colorSellection screen color
spawn_positionsHow many players can spawn in as this job
supervisorsSupervisors, who this person answers to directly. "На этой должности вы отвечаете непосредственно перед [supervisors]."
titleThe name of the job
total_positionsHow many players can be this job
transfer_allowedIf false, ID computer will always discourage transfers to this job, even if player is eligible

Procs

after_spawnOnly override this proc
player_old_enoughIf the configuration option is set to require players to be logged as old enough to play certain jobs, then this proc checks that they are, otherwise it just returns 1

Var Details

access

Job access. The use of minimal_access or access is determined by a config setting: CONFIG_GET(flag/jobs_have_minimal_access)

alt_titles

List of alternate titles, if any

current_positions

How many players have this job

department

The department the job belongs to.

head_position

Whether this is a head position

hidden_from_job_prefs

If true, job preferences screen never shows this job.

minimal_player_age

If you have use_age_restriction_for_jobs config option enabled and the database set up, this option will add a requirement for players to be at least minimal_player_age days old. (meaning they first signed in at least that many days before.)

optional_objectives

Objectives that are SOMETIMES added.

positions_lowpop

Position count override from config/jobs.txt and jobs_highpop.txt

req_admin_notify

If this is set to 1, a text is printed to the player when jobs are assigned, telling him that he should let admins know that he has to disconnect.

required_objectives

Objectives that are ALWAYS added.

selection_color

Sellection screen color

spawn_positions

How many players can spawn in as this job

supervisors

Supervisors, who this person answers to directly. "На этой должности вы отвечаете непосредственно перед [supervisors]."

title

The name of the job

total_positions

How many players can be this job

transfer_allowed

If false, ID computer will always discourage transfers to this job, even if player is eligible

Proc Details

after_spawn

Only override this proc

player_old_enough

If the configuration option is set to require players to be logged as old enough to play certain jobs, then this proc checks that they are, otherwise it just returns 1