mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-15 18:22:55 +01:00
Added survivalist job, wilderness spawn and checkpoint spawn to Cynosure.
This commit is contained in:
@@ -270,17 +270,16 @@
|
||||
/datum/category_item/player_setup_item/occupation/proc/SetJob(mob/user, role, level)
|
||||
var/datum/job/job = job_master.GetJob(role)
|
||||
if(!job)
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
if(job.type == /datum/job/assistant)
|
||||
if(pref.job_civilian_low & job.flag)
|
||||
pref.job_civilian_low &= ~job.flag
|
||||
else
|
||||
pref.job_civilian_low |= job.flag
|
||||
return 1
|
||||
|
||||
return TRUE
|
||||
SetJobDepartment(job, level)
|
||||
return 1
|
||||
return TRUE
|
||||
|
||||
/datum/category_item/player_setup_item/occupation/proc/reset_jobhigh()
|
||||
pref.job_civilian_med |= pref.job_civilian_high
|
||||
@@ -293,7 +292,7 @@
|
||||
// Level is equal to the desired new level of the job. So for a value of 4, we want to disable the job.
|
||||
/datum/category_item/player_setup_item/occupation/proc/SetJobDepartment(var/datum/job/job, var/level)
|
||||
if(!job || !level)
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
switch(job.department_flag)
|
||||
if(CIVILIAN)
|
||||
@@ -332,7 +331,7 @@
|
||||
pref.job_engsec_med |= job.flag
|
||||
if(3)
|
||||
pref.job_engsec_low |= job.flag
|
||||
return 1
|
||||
return TRUE
|
||||
|
||||
/datum/category_item/player_setup_item/occupation/proc/ResetJobs()
|
||||
pref.job_civilian_high = 0
|
||||
|
||||
Reference in New Issue
Block a user