mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MODULAR] Adds the option for missing a limb to the prosthetics menu (#22097)
* augment * Update tgstation.dme * sec restriction * Update _job.dm * revert * Update _job.dm * Update modular_skyrat/modules/customization/modules/surgery/bodyparts/parts.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update _job.dm * Update limbs.dm * add early return, no icon to set * Update new_player.dm * restrict sec from augment * Update modular_skyrat/modules/customization/modules/jobs/_job.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * command restriction --------- Co-authored-by: BluBerry016 <50649185+unit0016@users.noreply.github.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Co-authored-by: Bloop <vinylspiders@gmail.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -961,6 +961,10 @@ SUBSYSTEM_DEF(job)
|
||||
JobDebug("[debug_prefix] Error: [get_job_unavailable_error_message(JOB_UNAVAILABLE_FLAVOUR)], Player: [player][add_job_to_log ? ", Job: [possible_job]" : ""]")
|
||||
return JOB_UNAVAILABLE_FLAVOUR
|
||||
|
||||
if(possible_job.has_banned_augment(player.client.prefs))
|
||||
JobDebug("[debug_prefix] Error: [get_job_unavailable_error_message(JOB_UNAVAILABLE_AUGMENT)], Player: [player][add_job_to_log ? ", Job: [possible_job]" : ""]")
|
||||
return JOB_UNAVAILABLE_AUGMENT
|
||||
|
||||
|
||||
//SKYRAT EDIT END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user