[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:
lessthanthree
2023-09-15 09:51:25 -07:00
committed by GitHub
parent e0f485b06c
commit 11b681dc61
7 changed files with 103 additions and 3 deletions
+4
View File
@@ -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