Editing User:Spdskatr

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 9: Line 9:
 
**Finished: ALL
 
**Finished: ALL
 
*Misc
 
*Misc
**Finished: ALL BUT some headgear and power armor (No page)
+
**Finished: '''Headgear category on hiatus - some items have no individual page.'''
 
*Plants
 
*Plants
 
**Finished: ALL(Plants don't have mass) (What?)
 
**Finished: ALL(Plants don't have mass) (What?)
Line 15: Line 15:
 
**Finished: ALL
 
**Finished: ALL
  
==Light reading for when reading a wiki is very boring and this is an impressive heading because I want to attract your attention have fun in the little section that I wrote :) XD==
+
==Behind the code==
  
 
===RNG===
 
===RNG===
 
<div style=text-align:center><b style="font-size:2em">How does [[Template:RNG]] work?</b></div>
 
<div style=text-align:center><b style="font-size:2em">How does [[Template:RNG]] work?</b></div>
 
DISCLAIMER: The template is useless for anything proper on the wiki. However feel free to use for shenenigans like [[Template:Impressive]].
 
  
 
Technically, the template does not generate ''truly'' random numbers, just numbers random enough so that you won't be able to tell that it is ordered. It works by exploiting the special property of square numbers, such that the last digit can be easily predicted, but the middle digits are statistically random for high values. Therefore, my RNG works by chopping off the last digit of a continuously changing square number (created by the magic word <nowiki>{{REVISIONTIMESTAMP}}</nowiki>), and then mashing the numbers around so the different seeds are unlike, until finally using modulo(<code>mod</code>) to truncate the number within the limits specified.  
 
Technically, the template does not generate ''truly'' random numbers, just numbers random enough so that you won't be able to tell that it is ordered. It works by exploiting the special property of square numbers, such that the last digit can be easily predicted, but the middle digits are statistically random for high values. Therefore, my RNG works by chopping off the last digit of a continuously changing square number (created by the magic word <nowiki>{{REVISIONTIMESTAMP}}</nowiki>), and then mashing the numbers around so the different seeds are unlike, until finally using modulo(<code>mod</code>) to truncate the number within the limits specified.  

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: