mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-02 05:23:31 +00:00
* Elevators aren't bottomless voids!
* Updates changelog
* Sombrero Code
* Fixes #2365
* Adds changelog
* Sleeper is evil.
* no message
* Changelog
* Stops observers from leaving prints on the ground.
No more spooking the mortals, ghosts.
* Allows autotraitor in secret to start with 0 players
* Adds changelog
* Makes diona slightly less slow
* Adds changelog
* Bowling Shirts
* Updates changelog
* Adds a missing description
* Flat Cap Changes and Hair Bow
* Fixed Error
* Adds an in-hand
* Lower Torso cannot be amputated
* Smoke works, adds changelog
* Updates changelog
* Makes Unathi Voidsuits Less Fat
* Medical related fixes
* Fuzzy Cuffs
* Tube Top
* Made Icons for Security Suit Less Gaunt
* Revert "Medical related fixes"
This reverts commit d7c59520e6.
* Just the fix to random med item now
* Adds organ fixing
* Fixes Evening Glove Coloring
* HAZMAT Suits
* Changes Unathi sprite slightly
* Tweaks skirt pathing
* Corrects changelog
* Adds changelog
* Construction Voidsuits
* makes people bleed real good
* adderino changeling
* Biohazard Voidsuit
* Revert "Revert "Adds hub passwordu""
* Explosive implants should no longer gib on limbs.
* Adds space penguins and space geese.
* Revert "Revert "Revert "Adds hub passwordu"""
* Makes flash rounds respect eye protection
* Water > Fire
* There's plenty lying around, I think
* Naming inconsistencies fixed
The short naming of central command has been really inconsistent across
the game's files. This has always annoyed the shit out of me.
CentComm and Centcomm and Centcom are now all CentCom, specifically with
that capitalization. Why one M instead of two M's? Because Comm with two
'M's = Communications. Hence, Telecomms, NOT Telecoms. Telecoms is
incorrect. CentCom was also chosen because CentCom with one M and this
casing is most found throughout the game's files.
Speaking of Telecomms, I corrected one instance in the game where it's
Telecom. Like I said, this is not correct. There was only one
inconsistency.
Likewise, Nanotrasen has been changed to NanoTrasen. Nanotrasen only
appears 20 times, where NanoTrasen appears 62. NanoTrasen is clearly the
preferred, correct naming.
* Almost forgot plural of Telecomm
* Finalizes work, adds designs to research.
* Press Vest
* Removes Mags/Shells, Adds Recorder and Flashlight
* Fixes spans.
* Raises the number of players needed to start Ninja
* Still needs to fix internal bleeding
* Allows Wirer To Attach to Toolbelts
* Fixes #393
* Tweaks FBP temperature
* Corrects Changelog
* Fixes some Advanced Egun oversights
* Embiggens the laser carbine and the lasercannon.
* Messenger Bags
* Health analyzers detect appendicitis
* Custom Circuit Additions & Fixes
Adds Med Scanner and Advanced Med Scanner circuits.
Clock circuit is now functional.
Five second delay will delay for five seconds and not one second.
Renaming circuitry now respects ability to do so (e.g. being alive).
Firing circuit can now be obtained by science normally.
Examining inside assembly cases now requires adjacency.
* More Additions
You can now cancel inputting on a text or numberpad.
Zero is now displayed properly on the UI and not be shown as null.
The small and medium assemblies now have real sprites.
Total health percentage for med scanners and advanced med scanners now reports a proper percentage and not 1 or 0.
The constant memory chip now can be set by using it in hand, making it usable.
The constant memory chip now accepts refs as data to store. To use, select 'ref' when using inhand, then hit it against the thing you want to store.
* Allows Chemists to View Medical Records on their PDA
* Refactors splinting
* Refactors the forceMove() drop.
Makes dropping a its proc instead, cleaning up forceMove() handling.
* Replaces ORGAN_SPLINTED
* Supportive suits now only loop through bad organs
* Adds changelog
* Lasercannon tweaks
* Bloodloss tweak
* Adds hawaii shirt
Attachable to any uniform, works like suit jackets.
* Changelog cause why not
At this rate I'll forget how to do those otherwise
* Adds randomized alohas
Also some color matrix helpers from TG
* Appendicitis doesn't cancel itself out.
* Removes debug stuff
* Radsuit Sprite Changes
* Allows us to actually use the messenger bags
* Fixes spelling mistake
* Ported ventcrawling from vg.
* Fixes changelog errors
* Updates changelog
* Tweaks vent crawling.
The ability to ventcrawl is now checked by the /handle_ventcrawl() proc, making it possible to properly check before and after the do_after() call.
Moves various checks into the base can_ventcrawl proc.
Now lists the first object that prevents a mob from ventcrawling, making it easier to correct the exception list.
Removes the issmall() check, instead checks if the crawling mob has the relevant verb. Fixes #14081.
* Suit Storage Items
* Adds in IB removal
* More Circuit Things
Adds Locomotion circuit, which makes the machine move in a given direction.
Adds Signaler circuit, which can send and receive signals from a signaler.
Adds a new tool, the Debugger, which lets one directly set data in a specific pin. It can also pulse activation pins.
Adds ability to define custom cooldown times for each component.
Smoke generator now has a 30 second cooldown.
Cleans up some code somewhat.
* Adds design for locomotion circuit.
* Cleans up code
* Even more sprites by Mechoid.
Fixes abs to rel converter.
* Black Messenger Bag
* Powersink fix
* Even More Sodding Circuits
Adds new RNG circuit, to make random numbers each time.
Adds new Concatenating circuit, so you can make lots of small strings into one big one.
Adds new light and advanced light circuit. Basic just has a normal light that can be toggled. Advanced allows it to be any color using RGB, and a brightness between 0 and 6.
New sprites for the debugger and wirer, by Mechoid.
Hopefully finally fixes smoke generator from being unobtainable.
* Adds basic circuit kit and spare circuit tools to Tech Storage.
* Part the first
* Changelog
* Allows robots to be constructed with prosthetic limbs as well as borg limbs.
* Map change
* Secbelt can hold stun revolvers and eguns
* Voidsuit Sprite Changes
* Tweaks burst laser
* Lasers, energy projectiles, and muzzle flashes now produce light.
It's a bit wonky due to lighting only updating once every half-second,
but it's very much functional, at least on my desktop.
* Adds bridge bunnies
* Slightly cleans up the occupation screen, adds uniform to locker
* Map Changes
* Adds Changelog
* Fixes stuff
* Allows jobbanning of cargo department jobs
* Re-adds balance changes to heavy lasers.
They got changed by accident when I did the laser light show.
Also, adds changelogs for my last couple changes, because I'm an
idiot and forgot them.
* Fixed missing sprite
* Dress Loadout Additions
* I Can't Believe It's Not Circuits (it is)
Fixes numberpad and letterpad pulsing.
Debugger and Constant chip can now have null written to it.
Adds new sound output, with two types so far. One being the 'beeper' type, which can do things like buzz, ping, beep, etc. The second type is a securitron speaker, which allows us to get closer to building a functioning Beepsky.
* Adds EPv2 Circuit
Adds a circuit that allows it to send and receive EPv2 messages, allowing for a more robust transmission of data that signalers cannot deliver. Bonus: Communicators can send text messages to custom machines using this.
* Updates changelog
* Fixes not being able to put things in medkits.
* Technomancer Tweaks
Cost for various spells and equipment adjusted greatly. In general, things are cheaper, and everything should now be in multiples of 25, so no points are wasted.
The default jumpsuit for Technomancers is now heavily insulated, protecting them from tasers, batons, and perhaps unfortunate lightning strikes.
Instability between 31 and 50 made less harsh.
Wards made with a scepter of enhancement will break the cloak of anyone invisible that it can see.
Fire aura buffed, increased rate of heating as well as temperature cap for both non-scepter and scepter effects.
Reflect spell made more forgiving for the Technomancer, lasting longer before expiring.
Projectile spells should be able to hit people more reliably.
* Shotgun Reloading Tweak
Adds ability to hit a shotgun or similar weapon with a container containing ammo, to load said ammo into the shotgun one at a time automatically, instead of having to play inventory tetris, as requested by some people.
* Use sanitizeName for the guest pass terminal name input to prevent excessively long names.
* Circuit UI and Assembly Tweaks
Adds new drone assembly, which has stats between the medium and large assembly. Sprites by Mechoid.
Assemblies now have a light UI when examined while opened, which displays what's inside, as well as how close to the cap for parts or complexity you are getting. Click the names of a component to open the wiring interface for that component. You can also rename each component from the UI. Bonus: Having multiple components of the same name will no longer appear as one component.
Adds ability to rename the assembly, using the new UI.
* Revert "Ported ventcrawling from vg."
* Re-adds a nice, useful macro
* Fixes #2431
* Tweaks Riot armor
* Fixes a typo in the DNA Modifier
* Ripped Jeans (And White Shorts)
* Adds shanking
* Adds changelog
* Removes a stray world <<
* Ported ventcrawling from vg.
* Tweaks vent crawling.
The ability to ventcrawl is now checked by the /handle_ventcrawl() proc, making it possible to properly check before and after the do_after() call.
Moves various checks into the base can_ventcrawl proc.
Now lists the first object that prevents a mob from ventcrawling, making it easier to correct the exception list.
Removes the issmall() check, instead checks if the crawling mob has the relevant verb. Fixes #14081.
* Long, time-consuming not one-line fix
* Makes cigs branded too
Description of cig/cigbutt would reveal its brand for dastardly murdersolving revelations.
* Adding a article
* The door hacker now only pings the user
* Removes implants from Deathsquad
* Adds the ability to apply pressure to bleeding wounds
* Shoes
* EVA rigs should use their default sprites on Taj and Unathi
* Fixing some errors
* Update loadout_xeno.dm
* Delete back_vr.dmi
* Add files via upload
295 lines
11 KiB
Plaintext
295 lines
11 KiB
Plaintext
//used for pref.alternate_option
|
|
#define GET_RANDOM_JOB 0
|
|
#define BE_ASSISTANT 1
|
|
#define RETURN_TO_LOBBY 2
|
|
|
|
/datum/category_item/player_setup_item/occupation
|
|
name = "Occupation"
|
|
sort_order = 1
|
|
|
|
/datum/category_item/player_setup_item/occupation/load_character(var/savefile/S)
|
|
S["alternate_option"] >> pref.alternate_option
|
|
S["job_civilian_high"] >> pref.job_civilian_high
|
|
S["job_civilian_med"] >> pref.job_civilian_med
|
|
S["job_civilian_low"] >> pref.job_civilian_low
|
|
S["job_medsci_high"] >> pref.job_medsci_high
|
|
S["job_medsci_med"] >> pref.job_medsci_med
|
|
S["job_medsci_low"] >> pref.job_medsci_low
|
|
S["job_engsec_high"] >> pref.job_engsec_high
|
|
S["job_engsec_med"] >> pref.job_engsec_med
|
|
S["job_engsec_low"] >> pref.job_engsec_low
|
|
S["player_alt_titles"] >> pref.player_alt_titles
|
|
|
|
/datum/category_item/player_setup_item/occupation/save_character(var/savefile/S)
|
|
S["alternate_option"] << pref.alternate_option
|
|
S["job_civilian_high"] << pref.job_civilian_high
|
|
S["job_civilian_med"] << pref.job_civilian_med
|
|
S["job_civilian_low"] << pref.job_civilian_low
|
|
S["job_medsci_high"] << pref.job_medsci_high
|
|
S["job_medsci_med"] << pref.job_medsci_med
|
|
S["job_medsci_low"] << pref.job_medsci_low
|
|
S["job_engsec_high"] << pref.job_engsec_high
|
|
S["job_engsec_med"] << pref.job_engsec_med
|
|
S["job_engsec_low"] << pref.job_engsec_low
|
|
S["player_alt_titles"] << pref.player_alt_titles
|
|
|
|
/datum/category_item/player_setup_item/occupation/sanitize_character()
|
|
pref.alternate_option = sanitize_integer(pref.alternate_option, 0, 2, initial(pref.alternate_option))
|
|
pref.job_civilian_high = sanitize_integer(pref.job_civilian_high, 0, 65535, initial(pref.job_civilian_high))
|
|
pref.job_civilian_med = sanitize_integer(pref.job_civilian_med, 0, 65535, initial(pref.job_civilian_med))
|
|
pref.job_civilian_low = sanitize_integer(pref.job_civilian_low, 0, 65535, initial(pref.job_civilian_low))
|
|
pref.job_medsci_high = sanitize_integer(pref.job_medsci_high, 0, 65535, initial(pref.job_medsci_high))
|
|
pref.job_medsci_med = sanitize_integer(pref.job_medsci_med, 0, 65535, initial(pref.job_medsci_med))
|
|
pref.job_medsci_low = sanitize_integer(pref.job_medsci_low, 0, 65535, initial(pref.job_medsci_low))
|
|
pref.job_engsec_high = sanitize_integer(pref.job_engsec_high, 0, 65535, initial(pref.job_engsec_high))
|
|
pref.job_engsec_med = sanitize_integer(pref.job_engsec_med, 0, 65535, initial(pref.job_engsec_med))
|
|
pref.job_engsec_low = sanitize_integer(pref.job_engsec_low, 0, 65535, initial(pref.job_engsec_low))
|
|
if(!(pref.player_alt_titles)) pref.player_alt_titles = new()
|
|
|
|
if(!job_master)
|
|
return
|
|
|
|
for(var/datum/job/job in job_master.occupations)
|
|
var/alt_title = pref.player_alt_titles[job.title]
|
|
if(alt_title && !(alt_title in job.alt_titles))
|
|
pref.player_alt_titles -= job.title
|
|
|
|
/datum/category_item/player_setup_item/occupation/content(mob/user, limit = 17, list/splitJobs = list("Chief Medical Officer"))
|
|
if(!job_master)
|
|
return
|
|
|
|
. = list()
|
|
. += "<tt><center>"
|
|
. += "<b>Choose occupation chances</b><br>Unavailable occupations are crossed out.<br>"
|
|
. += "<table width='100%' cellpadding='1' cellspacing='0'><tr><td width='20%'>" // Table within a table for alignment, also allows you to easily add more columns.
|
|
. += "<table width='100%' cellpadding='1' cellspacing='0'>"
|
|
var/index = -1
|
|
|
|
//The job before the current job. I only use this to get the previous jobs color when I'm filling in blank rows.
|
|
var/datum/job/lastJob
|
|
if (!job_master) return
|
|
for(var/datum/job/job in job_master.occupations)
|
|
if(job.latejoin_only) continue //VOREStation Code
|
|
index += 1
|
|
if((index >= limit) || (job.title in splitJobs))
|
|
if((index < limit) && (lastJob != null))
|
|
//If the cells were broken up by a job in the splitJob list then it will fill in the rest of the cells with
|
|
//the last job's selection color. Creating a rather nice effect.
|
|
for(var/i = 0, i < (limit - index), i += 1)
|
|
. += "<tr bgcolor='[lastJob.selection_color]'><td width='60%' align='right'><a> </a></td><td><a> </a></td></tr>"
|
|
. += "</table></td><td width='20%'><table width='100%' cellpadding='1' cellspacing='0'>"
|
|
index = 0
|
|
|
|
. += "<tr bgcolor='[job.selection_color]'><td width='60%' align='right'>"
|
|
var/rank = job.title
|
|
lastJob = job
|
|
if(jobban_isbanned(user, rank))
|
|
. += "<del>[rank]</del></td><td><b> \[BANNED]</b></td></tr>"
|
|
continue
|
|
if(!job.player_old_enough(user.client))
|
|
var/available_in_days = job.available_in_days(user.client)
|
|
. += "<del>[rank]</del></td><td> \[IN [(available_in_days)] DAYS]</td></tr>"
|
|
continue
|
|
if(job.minimum_character_age && user.client && (user.client.prefs.age < job.minimum_character_age))
|
|
. += "<del>[rank]</del></td><td> \[MINIMUM CHARACTER AGE: [job.minimum_character_age]]</td></tr>"
|
|
continue
|
|
if((pref.job_civilian_low & ASSISTANT) && (rank != "Assistant"))
|
|
. += "<font color=grey>[rank]</font></td><td></td></tr>"
|
|
continue
|
|
if((rank in command_positions) || (rank == "AI"))//Bold head jobs
|
|
. += "<b>[rank]</b>"
|
|
else
|
|
. += "[rank]"
|
|
|
|
. += "</td><td width='40%'>"
|
|
|
|
. += "<a href='?src=\ref[src];set_job=[rank]'>"
|
|
|
|
if(rank == "Assistant")//Assistant is special
|
|
if(pref.job_civilian_low & ASSISTANT)
|
|
. += " <font color=55cc55>\[Yes]</font>"
|
|
else
|
|
. += " <font color=black>\[No]</font>"
|
|
if(job.alt_titles) //Blatantly cloned from a few lines down.
|
|
. += "</a></td></tr><tr bgcolor='[lastJob.selection_color]'><td width='60%' align='center'> </td><td><a href='?src=\ref[src];select_alt_title=\ref[job]'>\[[pref.GetPlayerAltTitle(job)]\]</a></td></tr>"
|
|
. += "</a></td></tr>"
|
|
continue
|
|
|
|
if(pref.GetJobDepartment(job, 1) & job.flag)
|
|
. += " <font color=55cc55>\[High]</font>"
|
|
else if(pref.GetJobDepartment(job, 2) & job.flag)
|
|
. += " <font color=eecc22>\[Medium]</font>"
|
|
else if(pref.GetJobDepartment(job, 3) & job.flag)
|
|
. += " <font color=cc5555>\[Low]</font>"
|
|
else
|
|
. += " <font color=black>\[NEVER]</font>"
|
|
if(job.alt_titles)
|
|
. += "</a></td></tr><tr bgcolor='[lastJob.selection_color]'><td width='60%' align='center'> </td><td><a href='?src=\ref[src];select_alt_title=\ref[job]'>\[[pref.GetPlayerAltTitle(job)]\]</a></td></tr>"
|
|
. += "</a></td></tr>"
|
|
. += "</td'></tr></table>"
|
|
. += "</center></table><center>"
|
|
|
|
switch(pref.alternate_option)
|
|
if(GET_RANDOM_JOB)
|
|
. += "<u><a href='?src=\ref[src];job_alternative=1'>Get random job if preferences unavailable</a></u>"
|
|
if(BE_ASSISTANT)
|
|
. += "<u><a href='?src=\ref[src];job_alternative=1'>Be assistant if preference unavailable</a></u>"
|
|
if(RETURN_TO_LOBBY)
|
|
. += "<u><a href='?src=\ref[src];job_alternative=1'>Return to lobby if preference unavailable</a></u>"
|
|
|
|
. += "<a href='?src=\ref[src];reset_jobs=1'>\[Reset\]</a></center>"
|
|
. += "</tt>"
|
|
. = jointext(.,null)
|
|
|
|
/datum/category_item/player_setup_item/occupation/OnTopic(href, href_list, user)
|
|
if(href_list["reset_jobs"])
|
|
ResetJobs()
|
|
return TOPIC_REFRESH
|
|
|
|
else if(href_list["job_alternative"])
|
|
if(pref.alternate_option == GET_RANDOM_JOB || pref.alternate_option == BE_ASSISTANT)
|
|
pref.alternate_option += 1
|
|
else if(pref.alternate_option == RETURN_TO_LOBBY)
|
|
pref.alternate_option = 0
|
|
return TOPIC_REFRESH
|
|
|
|
else if(href_list["select_alt_title"])
|
|
var/datum/job/job = locate(href_list["select_alt_title"])
|
|
if (job)
|
|
var/choices = list(job.title) + job.alt_titles
|
|
var/choice = input("Choose an title for [job.title].", "Choose Title", pref.GetPlayerAltTitle(job)) as anything in choices|null
|
|
if(choice && CanUseTopic(user))
|
|
SetPlayerAltTitle(job, choice)
|
|
return (pref.equip_preview_mob ? TOPIC_REFRESH_UPDATE_PREVIEW : TOPIC_REFRESH)
|
|
|
|
else if(href_list["set_job"])
|
|
if(SetJob(user, href_list["set_job"])) return (pref.equip_preview_mob ? TOPIC_REFRESH_UPDATE_PREVIEW : TOPIC_REFRESH)
|
|
|
|
return ..()
|
|
|
|
/datum/category_item/player_setup_item/occupation/proc/SetPlayerAltTitle(datum/job/job, new_title)
|
|
// remove existing entry
|
|
pref.player_alt_titles -= job.title
|
|
// add one if it's not default
|
|
if(job.title != new_title)
|
|
pref.player_alt_titles[job.title] = new_title
|
|
|
|
/datum/category_item/player_setup_item/occupation/proc/SetJob(mob/user, role)
|
|
var/datum/job/job = job_master.GetJob(role)
|
|
if(!job)
|
|
return 0
|
|
|
|
if(role == "Assistant")
|
|
if(pref.job_civilian_low & job.flag)
|
|
pref.job_civilian_low &= ~job.flag
|
|
else
|
|
pref.job_civilian_low |= job.flag
|
|
return 1
|
|
|
|
if(pref.GetJobDepartment(job, 1) & job.flag)
|
|
SetJobDepartment(job, 1)
|
|
else if(pref.GetJobDepartment(job, 2) & job.flag)
|
|
SetJobDepartment(job, 2)
|
|
else if(pref.GetJobDepartment(job, 3) & job.flag)
|
|
SetJobDepartment(job, 3)
|
|
else//job = Never
|
|
SetJobDepartment(job, 4)
|
|
|
|
return 1
|
|
|
|
/datum/category_item/player_setup_item/occupation/proc/SetJobDepartment(var/datum/job/job, var/level)
|
|
if(!job || !level) return 0
|
|
switch(level)
|
|
if(1)//Only one of these should ever be active at once so clear them all here
|
|
pref.job_civilian_high = 0
|
|
pref.job_medsci_high = 0
|
|
pref.job_engsec_high = 0
|
|
return 1
|
|
if(2)//Set current highs to med, then reset them
|
|
pref.job_civilian_med |= pref.job_civilian_high
|
|
pref.job_medsci_med |= pref.job_medsci_high
|
|
pref.job_engsec_med |= pref.job_engsec_high
|
|
pref.job_civilian_high = 0
|
|
pref.job_medsci_high = 0
|
|
pref.job_engsec_high = 0
|
|
|
|
switch(job.department_flag)
|
|
if(CIVILIAN)
|
|
switch(level)
|
|
if(2)
|
|
pref.job_civilian_high = job.flag
|
|
pref.job_civilian_med &= ~job.flag
|
|
if(3)
|
|
pref.job_civilian_med |= job.flag
|
|
pref.job_civilian_low &= ~job.flag
|
|
else
|
|
pref.job_civilian_low |= job.flag
|
|
if(MEDSCI)
|
|
switch(level)
|
|
if(2)
|
|
pref.job_medsci_high = job.flag
|
|
pref.job_medsci_med &= ~job.flag
|
|
if(3)
|
|
pref.job_medsci_med |= job.flag
|
|
pref.job_medsci_low &= ~job.flag
|
|
else
|
|
pref.job_medsci_low |= job.flag
|
|
if(ENGSEC)
|
|
switch(level)
|
|
if(2)
|
|
pref.job_engsec_high = job.flag
|
|
pref.job_engsec_med &= ~job.flag
|
|
if(3)
|
|
pref.job_engsec_med |= job.flag
|
|
pref.job_engsec_low &= ~job.flag
|
|
else
|
|
pref.job_engsec_low |= job.flag
|
|
return 1
|
|
|
|
/datum/category_item/player_setup_item/occupation/proc/ResetJobs()
|
|
pref.job_civilian_high = 0
|
|
pref.job_civilian_med = 0
|
|
pref.job_civilian_low = 0
|
|
|
|
pref.job_medsci_high = 0
|
|
pref.job_medsci_med = 0
|
|
pref.job_medsci_low = 0
|
|
|
|
pref.job_engsec_high = 0
|
|
pref.job_engsec_med = 0
|
|
pref.job_engsec_low = 0
|
|
|
|
pref.player_alt_titles.Cut()
|
|
|
|
/datum/preferences/proc/GetPlayerAltTitle(datum/job/job)
|
|
return (job.title in player_alt_titles) ? player_alt_titles[job.title] : job.title
|
|
|
|
/datum/preferences/proc/GetJobDepartment(var/datum/job/job, var/level)
|
|
if(!job || !level) return 0
|
|
switch(job.department_flag)
|
|
if(CIVILIAN)
|
|
switch(level)
|
|
if(1)
|
|
return job_civilian_high
|
|
if(2)
|
|
return job_civilian_med
|
|
if(3)
|
|
return job_civilian_low
|
|
if(MEDSCI)
|
|
switch(level)
|
|
if(1)
|
|
return job_medsci_high
|
|
if(2)
|
|
return job_medsci_med
|
|
if(3)
|
|
return job_medsci_low
|
|
if(ENGSEC)
|
|
switch(level)
|
|
if(1)
|
|
return job_engsec_high
|
|
if(2)
|
|
return job_engsec_med
|
|
if(3)
|
|
return job_engsec_low
|
|
return 0
|