Difference between revisions of "User:PigeonGuru/Sandbox"
PigeonGuru (talk | contribs) |
PigeonGuru (talk | contribs) |
||
Line 41: | Line 41: | ||
}; | }; | ||
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"); | 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 == | == Graphs == |
Revision as of 08:39, 24 June 2017
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.