Karma refactor (#17070)

* Karma refactor

* This too

* Fixes recursion

* Fixes bugs

* Fixes bad usr

* Update code/modules/karma/karma_holder.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* Logic tweak

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
AffectedArc07
2021-11-15 12:52:56 +00:00
committed by GitHub
parent 5e41a1e1d1
commit ab92435be0
20 changed files with 528 additions and 582 deletions

View File

@@ -220,7 +220,7 @@
var/prev_species = active_character.species
for(var/_species in GLOB.whitelisted_species)
if(is_alien_whitelisted(user, _species))
if(can_use_species(user, _species))
new_species += _species
active_character.species = input("Please select a species", "Character Generation", null) in sortTim(new_species, /proc/cmp_text_asc)