[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:
Lyroy
2021-10-13 20:32:37 +01:00
committed by GitHub
parent b2ce1ac7c5
commit 99893bd8a8
12 changed files with 165 additions and 7 deletions
+11
View File
@@ -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))