Difference between revisions of "User:PigeonGuru/Sandbox"
PigeonGuru (talk | contribs) m |
PigeonGuru (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{Template:Heading|This user is a certified Dataminer.}} | ||
+ | |||
=== template === | === template === | ||
Revision as of 03:10, 29 December 2017
template
http://rimworldwiki.com/index.php?title=Template:Nav/guides
http://rimworldwiki.com/wiki/Category:Page_Deletion
save file
C:\Users\%username%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves
°C
image cropping flavor text
- oof ow my borders
- did you know that cropping images appropriately reduces size and user annoyance by more than 50%?
- image- cropped (some random player)
- pills that makes you stare at cropped images
- wildfire burnt off part of the image
datamined
namespace RimWorld.Planet { public static class CaravanTicksPerMoveUtility { private const int DownedPawnMoveTicks = 450;
public const float CellToTilesConversionRatio = 190f;
public const int DefaultTicksPerMove = 2500;
public static int GetTicksPerMove(Caravan caravan) { if (caravan == null) { return 2500; } return CaravanTicksPerMoveUtility.GetTicksPerMove(caravan.PawnsListForReading); }
public static int GetTicksPerMove(List<Pawn> pawns) { if (pawns.Any<Pawn>()) { float num = 0f; for (int i = 0; i < pawns.Count; i++) { int num2 = (!pawns[i].Downed) ? pawns[i].TicksPerMoveCardinal : 450; num += (float)num2 / (float)pawns.Count; } num *= 190f; return Mathf.Max(Mathf.RoundToInt(num), 1); } return 2500; } } }