mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +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:
@@ -203,6 +203,8 @@ SUBSYSTEM_DEF(job)
|
||||
return FALSE
|
||||
if(job.veteran_only && !is_veteran_player(player.client))
|
||||
return FALSE
|
||||
if(job.has_banned_species(player.client.prefs))
|
||||
return FALSE
|
||||
//SKYRAT EDIT END
|
||||
var/position_limit = job.total_positions
|
||||
if(!latejoin)
|
||||
@@ -242,6 +244,9 @@ SUBSYSTEM_DEF(job)
|
||||
continue
|
||||
if(job.veteran_only && !is_veteran_player(player.client))
|
||||
JobDebug("FOC player is not veteran, Player: [player]")
|
||||
if(job.has_banned_species(player.client.prefs))
|
||||
JobDebug("FOC job not compatible with species, Player: [player]")
|
||||
continue
|
||||
//SKYRAT EDIT END
|
||||
if(job.required_playtime_remaining(player.client))
|
||||
JobDebug("FOC player not enough xp, Player: [player]")
|
||||
@@ -295,6 +300,9 @@ SUBSYSTEM_DEF(job)
|
||||
continue
|
||||
if(job.veteran_only && !is_veteran_player(player.client))
|
||||
JobDebug("GRJ player is not veteran, Player: [player]")
|
||||
if(job.has_banned_species(player.client.prefs))
|
||||
JobDebug("GRJ player has incompatible species, Player: [player]")
|
||||
continue
|
||||
//SKYRAT EDIT END
|
||||
|
||||
if(job.required_playtime_remaining(player.client))
|
||||
@@ -481,6 +489,9 @@ SUBSYSTEM_DEF(job)
|
||||
if(job.veteran_only && !is_veteran_player(player.client))
|
||||
JobDebug("DO player is not veteran, Player: [player], Job:[job.title]")
|
||||
continue
|
||||
if(job.has_banned_species(player.client.prefs))
|
||||
JobDebug("DO player has incompatible species, Player: [player], Job:[job.title]")
|
||||
continue
|
||||
//SKYRAT EDIT END
|
||||
|
||||
if(job.required_playtime_remaining(player.client))
|
||||
|
||||
Reference in New Issue
Block a user