Difference between revisions of "User:PigeonGuru/Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
=== °C ===
 
=== °C ===
 
=== 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.
 
 
[[File:AssaultRifleAccuracyNoTrait.png|494px|Assault rifle's accuracy with various shooters without any trait.]]
 
 
[[File:AssaultRifleAccuracyCarefulShooter.png|494px|Assault rifle's accuracy with various shooters with careful shooter.]]
 
 
[[File:AssaultRifleAccuracyTriggerHappy.png|494px|Assault rifle's accuracy with various shooters with trigger-happy.]]
 

Revision as of 10:08, 24 August 2017

template

http://rimworldwiki.com/index.php?title=Template:Nav/guides

save file

C:\Users\%username%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves

°C