mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[SEMI-MODULAR] Brings back custom Ash Walkers and Primal Podpeople, also fixes job banned species checks (#8665)
* initial commit * whoops hahah you don't need that comment * species check on the prefs menu * species check actually works now, podpeople quirks * goof was right
This commit is contained in:
@@ -156,6 +156,8 @@
|
||||
return "[jobtitle] is restricted from your languages."
|
||||
if(JOB_NOT_VETERAN)
|
||||
return "You need to be veteran to join as [jobtitle]."
|
||||
if(JOB_UNAVAILABLE_SPECIES)
|
||||
return "[jobtitle] is restricted from your species."
|
||||
//SKYRAT EDIT END
|
||||
return "Error: Unknown job availability."
|
||||
|
||||
@@ -189,6 +191,8 @@
|
||||
return JOB_UNAVAILABLE_QUIRK
|
||||
if(job.veteran_only && !is_veteran_player(client))
|
||||
return JOB_NOT_VETERAN
|
||||
if(job.has_banned_species(client.prefs))
|
||||
return JOB_UNAVAILABLE_SPECIES
|
||||
//SKYRAT EDIT END
|
||||
return JOB_AVAILABLE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user