Update hard override file and downports Vorestation changes of kin

This updates our override file to no longer override the functions that are now just default handling
This commit is contained in:
Sharkmare
2021-03-09 22:55:53 +01:00
parent 4dafc3196e
commit 234bfbb791
7 changed files with 25 additions and 143 deletions
@@ -349,11 +349,9 @@
alert("The trait you've selected cannot be taken by the species you've chosen!","Error")
return TOPIC_REFRESH
//CHOMPADDITION START Adding whitelist for traits
if( LAZYLEN(instance.allowed_species) && !(pref.species in instance.allowed_species)) //Adding white list handling -shark
alert("The trait you've selected cannot be taken by the species you've chosen!","Error")
return TOPIC_REFRESH
//CHOMPADDITION END
if(trait_choice in pref.pos_traits + pref.neu_traits + pref.neg_traits)
conflict = instance.name