User:PigeonGuru/Sandbox
template
http://rimworldwiki.com/index.php?title=Template:Nav/weapons
save file
C:\Users\%username%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves
datamined
datamining stuff related to prisoners...
private static float PopIntentAdjustedRecruitDifficulty(float baseDifficulty, float popIntent) { float num = Mathf.Clamp(popIntent, 0.25f, 3f); return 1f - (1f - baseDifficulty) * num; }
public static void DoTable_PopIntentRecruitDifficulty() { List<float> list = new List<float>(); for (float num = -1f; num < 3f; num += 0.1f) { list.Add(num); } List<float> colValues = new List<float> { 0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f, 0.95f, 0.99f }; DebugTables.MakeTablesDialog<float, float>(colValues, (float d) => "d=" + d.ToString("F0"), list, (float rv) => rv.ToString("F1"), (float d, float pi) => PawnUtility.PopIntentAdjustedRecruitDifficulty(d, pi).ToStringPercent(), "intents");
Graphs
The below graphs assume an unmodified shooter using a Normal quality weapon.