RimWorld

RimWorld

Mutated Pawn
Whitelist and blacklist
putting this in discussions bc it's easier for me to find and follow than in the comments.

do i need a whitelist or am i good to just have a blacklsit?

user "watler" proposed this blacklist to not get android mutations

Originally posted by watler:
VREA_Hardware,VREA_Subroutine,VREA_MemoryProcessing,VREA_Power,VREA_JoyDisabled,VREA_BeautyDisabled,VREA_ComfortDisabled,VREA_OutdoorsDisabled,VREA_DrugDesireDisabled,VREA_RoomSizeDisabled,VREA_PainDisabled,VREA_SyntheticBody,VREA_NeutroCirculation,VREA_SyntheticImmunity,VREA_ComponentFreezing,VREA_ComponentOverheating,VREA_ColdTolerant,VREA_HeatTolerant,VREA_NoSkillGain,VREA_Uninspired,VREA_PsychicallyDeaf,VREA_MentalBreaksDisabled,VREA_PsychologyDisabled,VREA_SyntheticSkin,VREA_CombatIncapability,VREA_SolarFlareVulnerability,VREA_EMPVulnerability,VREA_FireVulnerability,VREA_RainVulnerability,VREA_SlowRAM,VREA_FastRAM,VREA_ColdEfficiency,VREA_LowPowerMode,VREA_HighPowerMode,VREA_Uncontrollable,VREA_AntiAwakeningProtocols,VREA_EmotionSimulators,VREA_PresenceFirewall,VREA_ZeroWaste,VREA_ExtraWaste,VREA_SelfRecharge,VREA_MemoryDecay,VREA_SleepMode,VREA_MechlinkSupport,VREA_NeutroSynthesis,VREA_SolarPowered,VREA_ClearInstructions,VREA_SelfDestructProtocols,VREA_AptitudeIncapable,VREA_AptitudeBasic,VREA_AptitudeIntermediate,VREA_AptitudeAdvanced,VREA_AptitudeExpert

miod author wowhvb said that only "VREA_" would be necessary

so in the "blacklist" field, do i just need to put "VREA_" , and with or without the quotation marks?

just for record's sake, here are the 220 genes "found" by the debug log:

Hair_SnowWhite - snow-white hair, Hair_InkBlack - ink-black hair, Hair_Gray - gray hair, Hair_DarkBlack - dark-black hair, Hair_MidBlack - mid-black hair, Hair_DarkReddish - dark-reddish hair, Hair_DarkSaturatedReddish - dark-brown hair, Hair_DarkBrown - brown hair, Hair_ReddishBrown - reddish-brown hair, Hair_SandyBlonde - sandy-blonde hair, Hair_Blonde - blonde hair, Hair_Pink - pink hair, Hair_LightPurple - purple hair, Hair_LightBlue - blue hair, Hair_LightTeal - teal hair, Hair_LightGreen - green hair, Hair_LightOrange - orange hair, Hair_BrightRed - red hair, Skin_Melanin1 - skin color, Skin_Melanin2 - skin color, Skin_Melanin3 - skin color, Skin_Melanin4 - skin color, Skin_Melanin5 - skin color, Skin_Melanin6 - skin color, Skin_Melanin7 - skin color, Skin_Melanin8 - skin color, Skin_Melanin9 - skin color, FireSpew - fire spew, FoamSpray - foam spray, LongjumpLegs - longjump legs, AnimalWarcall - animal warcall, Bloodfeeder - bloodfeeder, Coagulate - coagulator, XenogermReimplanter - reimplanter, PiercingSpine - piercing spine, AcidSpray - acid spray, Hair_BaldOnly - bald, Hair_ShortOnly - crop, Hair_LongOnly - long-haired, Hair_Grayless - grayless hair, Beard_BushyOnly - bushy, Beard_NoBeardOnly - beardless, Beard_Always - bearded, Skin_InkBlack - noir, Skin_SlateGray - slate, Skin_LightGray - gray, Skin_SheerWhite - pale, Skin_Blue - blue, Skin_Purple - purple, Skin_PaleRed - pink, Skin_DeepRed - red, Skin_PaleYellow - cream, Skin_DeepYellow - yellow, Skin_Orange - orange, Skin_Green - green, Furskin - furskinned, Eyes_Red - red-eyed, Eyes_Gray - gray-eyed, Brow_Heavy - heavy brow, Tail_Furry - furry tail, Tail_Smooth - smooth tail, FacialRidges - facial ridges, Body_Fat - fat body, Body_Thin - thin body, Body_Hulk - hulk body, Body_Standard - standard body, Ears_Human - human ears, Ears_Pig - pig ears, Ears_Floppy - floppy ears, Ears_Cat - cat ears, Ears_Pointed - pointed ears, Nose_Human - human nose, Nose_Pig - pig nose, Jaw_Baseline - human jaw, Jaw_Heavy - heavy jaw, Head_Gaunt - gaunt head, Hands_Human - human hands, Hands_Pig - trotter hands, ElongatedFingers - elongated fingers, Headbone_Human - human headbone, Headbone_MiniHorns - mini-horns, Headbone_CenterHorn - center-horn, Voice_Human - human voice, VoicePig - pig voice, VoiceRoar - roar voice, WoundHealing_Slow - slow-heal, WoundHealing_Fast - fast-heal, WoundHealing_SuperFast - super-heal, Immunity_Weak - susceptible, Immunity_Strong - immune, Immunity_SuperStrong - super-immune, ToxicEnvironmentResistance_Partial - tox-resistant, ToxicEnvironmentResistance_Total - tox-immune, Sterile - sterile, Fertile - fertile, Superclotting - superclotting, KindInstinct - kind, ViolenceDisabled - nonviolent, Nearsighted - nearsighted, StrongStomach - strong stomach, DarkVision - dark vision, KillThirst - kill-thirsty, FireResistant - fireproof, Inbred - inbred, RobustDigestion - robust digestion, Instability_Mild - mild cell instability, Instability_Major - major cell instability, PsychicBonding - psychic bonding, PollutionRush - pollution stimulus, Unstoppable - unstoppable, NakedSpeed - naked speed, Hemogenic - hemogenic, HemogenDrain - draining, FireWeakness - tinderskin, FireTerror - pyrophobic, PerfectImmunity - perfect-immune, DiseaseFree - non-senescent, TotalHealing - scarless, Deathrest - deathrest, Ageless - ageless, Deathless - deathless, ArchiteMetabolism - archite-metabolic, MinTemp_SmallIncrease - warm, MinTemp_SmallDecrease - cool, MinTemp_LargeDecrease - cold, MaxTemp_LargeIncrease - hot, MaxTemp_SmallIncrease - warm, MaxTemp_SmallDecrease - cool, PsychicAbility_Deaf - psy-deaf, PsychicAbility_Dull - psy-dull, PsychicAbility_Enhanced - psy-enhanced, PsychicAbility_Extreme - psy-extreme, MoveSpeed_Slow - slow, MoveSpeed_Quick - quick, MoveSpeed_VeryQuick - fast, Beauty_VeryUgly - hideous, Beauty_Ugly - unattractive, Beauty_Pretty - attractive, Beauty_Beautiful - very attractive, Learning_Slow - slow study, Learning_Fast - quick study, Mood_Depressive - very unhappy, Mood_Pessimist - unhappy, Mood_Optimist - happy, Mood_Sanguine - very happy, ToxResist_Partial - tox-resistant, ToxResist_Total - tox-immune, Delicate - delicate, Robust - robust, Pain_Reduced - pain-dull, Pain_Extra - wimpy, Aggression_DeadCalm - calm, Aggression_Aggressive - aggressive, Aggression_HyperAggressive - hyper-aggressive, VerySleepy - very sleepy, Sleepy - sleepy, LowSleep - low sleep, Neversleep - never sleep, MeleeDamage_Weak - weak, MeleeDamage_Strong - strong, UVSensitivity_Mild - UV-sensitive, UVSensitivity_Intense - UV-vulnerable, Libido_Low - low libido, Libido_High - high libido, AptitudeTerrible_Shooting - awful shooting, AptitudeTerrible_Melee - awful melee, AptitudeTerrible_Construction - awful construction, AptitudeTerrible_Mining - awful mining, AptitudeTerrible_Cooking - awful cooking, AptitudeTerrible_Plants - awful plants, AptitudeTerrible_Animals - awful animals, AptitudeTerrible_Crafting - awful crafting, AptitudeTerrible_Artistic - awful artistic, AptitudeTerrible_Medicine - awful medical, AptitudeTerrible_Social - awful social, AptitudeTerrible_Intellectual - awful intellectual, AptitudePoor_Shooting - poor shooting, AptitudePoor_Melee - poor melee, AptitudePoor_Construction - poor construction, AptitudePoor_Mining - poor mining, AptitudePoor_Cooking - poor cooking, AptitudePoor_Plants - poor plants, AptitudePoor_Animals - poor animals, AptitudePoor_Crafting - poor crafting, AptitudePoor_Artistic - poor artistic, AptitudePoor_Medicine - poor medical, AptitudePoor_Social - poor social, AptitudePoor_Intellectual - poor intellectual, AptitudeStrong_Shooting - strong shooting, AptitudeStrong_Melee - strong melee, AptitudeStrong_Construction - strong construction, AptitudeStrong_Mining - strong mining, AptitudeStrong_Cooking - strong cooking, AptitudeStrong_Plants - strong plants, AptitudeStrong_Animals - strong animals, AptitudeStrong_Crafting - strong crafting, AptitudeStrong_Artistic - strong artistic, AptitudeStrong_Medicine - strong medical, AptitudeStrong_Social - strong social, AptitudeStrong_Intellectual - strong intellectual, AptitudeRemarkable_Shooting - great shooting, AptitudeRemarkable_Melee - great melee, AptitudeRemarkable_Construction - great construction, AptitudeRemarkable_Mining - great mining, AptitudeRemarkable_Cooking - great cooking, AptitudeRemarkable_Plants - great plants, AptitudeRemarkable_Animals - great animals, AptitudeRemarkable_Crafting - great crafting, AptitudeRemarkable_Artistic - great artistic, AptitudeRemarkable_Medicine - great medical, AptitudeRemarkable_Social - great social, AptitudeRemarkable_Intellectual - great intellectual, ChemicalDependency_Alcohol - alcohol-dependent, ChemicalDependency_GoJuice - go-juice-dependent, ChemicalDependency_Psychite - psychite-dependent, ChemicalDependency_Smokeleaf - Smokeleaf-dependent, ChemicalDependency_WakeUp - wake-up-dependent, AddictionResistant_Alcohol - alcohol-resistant, AddictionResistant_GoJuice - go-juice-resistant, AddictionResistant_Psychite - psychite-resistant, AddictionResistant_Smokeleaf - Smokeleaf-resistant, AddictionResistant_WakeUp - wake-up-resistant, AddictionImmune_Alcohol - alcohol-impervious, AddictionImmune_GoJuice - go-juice-impervious, AddictionImmune_Psychite - psychite-impervious, AddictionImmune_Smokeleaf - Smokeleaf-impervious, AddictionImmune_WakeUp - wake-up-impervious [/qupte]
< >
Showing 1-2 of 2 comments
crec4et 22 Mar @ 3:20am 
When putting just "VREA_" , quotes or no quotes, it gives a message of no valid genes found, sadly, the author (wowhvb) was mistaken here. defName or LabelShortAdj have to be verbatim.
As i said previously, part of watler's proposed blacklist, dealing with Aptitudes will not work, because actual in-game genes are "VREA_AptitudeBasic_Melee" etc
thankfully, they dont seem to force android "xenotype" on the pawn, so it should not be that much of a problem


to the author:
"contains" clause you referenced in a code seems to check if the BL string contains the verbatim defName, and not vice versa
line 195 of MutatedPawnMod.cs :
var blackListGenes = allAvailableGenes.Where(x => blackList.Contains(x.defName) || blackList.Contains(x.LabelShortAdj)).ToList();

maybe if it could be supplemented by something that would check for "x.defName.Contains"?
i, sadly, am not too strong in C# and too has been on hiatus from gaming, so i cant, sadly, offer more productive input or even a thorough debug.
Last edited by crec4et; 22 Mar @ 3:20am
wowhvb  [developer] 14 Jul @ 5:58pm 
It turned out I haven't implemented wildcard feature, guys. I did a few lines of code and then walked away and forgot about it. I am so sorry for all the confusion. I implemented it now in the new update for 1.6. Thank you to both of you for your patience and feedback!!!
< >
Showing 1-2 of 2 comments
Per page: 1530 50