<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Kagaku Monogatari</title>
  <link>https://chemtale.dreamwidth.org/</link>
  <description>Kagaku Monogatari - Dreamwidth Studios</description>
  <lastBuildDate>Thu, 19 Mar 2015 04:26:33 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>chemtale</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/4531628/1704284</url>
    <title>Kagaku Monogatari</title>
    <link>https://chemtale.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://chemtale.dreamwidth.org/1390.html</guid>
  <pubDate>Thu, 19 Mar 2015 04:26:33 GMT</pubDate>
  <title>Pooklet&apos;s Townie Face Randomising - Two Python Generators</title>
  <link>https://chemtale.dreamwidth.org/1390.html</link>
  <description>So, lately I stumbled upon &lt;a href=&quot;http://pooklet.tumblr.com/post/105711126676/hi-hun-sorry-to-bother-you-but-your-townies-are&quot;&gt;this awesome post by Pooklet&lt;/a&gt;, where they explain their method for creating diverse townies. It&apos;s utter magic, but my lazy bum self would like something that will give them the needed numbers quickly and without opening a browser. That, plus the fact that coding is fun, is exactly why I wrote some handy Python scripts *wink wink*&lt;br /&gt;&lt;br /&gt;There are two generators, one for each of the two steps detailed in Pooklet&apos;s tutorial.&lt;br /&gt;Generator 1 is the equivalent of Drew&apos;s Randomizer and Generator 2 of Random Integer Generator.&lt;br /&gt;They do exactly what is shown in Pooklet&apos;s method, except that:&lt;ul&gt;&lt;li&gt;in Generator 1 the range of sliders is -10 (extreme left) to 10 (extreme right) - that is, there is a chance you&apos;ll get 0 clicks for a particular slider;&lt;/li&gt;&lt;li&gt;it will ask you before rolling numbers for each part of the sim&apos;s face (just press Enter);&lt;/li&gt;&lt;li&gt;it rolls numbers for all of the modifier sliders (you&apos;re welcome to not use &amp;quot;face short-long&amp;quot; and &amp;quot;orbit up-down&amp;quot;, or any other if you wish so);&lt;/li&gt;&lt;li&gt;Generator 2 explicitly asks you how many facial templates you have (type the number and press Enter).&lt;/li&gt;&lt;/ul&gt;You can download the scripts here: &lt;a target=&quot;_blank&quot; href=&quot;https://www.dropbox.com/s/wvki74garcpwkkw/%5BShien%5D_TownieRandomisingScripts.7z?dl=0&quot;&gt;&lt;strong&gt;[DOWNLOAD]&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;Please note that you need to have &lt;a href=&quot;https://www.python.org/downloads/&quot;&gt;Python 2.7&lt;/a&gt; installed in order to use those scripts offline on your device. They have to be &lt;a href=&quot;https://mail.python.org/pipermail/tutor/2004-July/030634.html&quot;&gt;run from the command line&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Alternatively, you may run them from within your browser (does not require Python to be installed): &lt;a target=&quot;_blank&quot; href=&quot;https://trinket.io/python/004e94882f&quot;&gt;&lt;strong&gt;Generator 1&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; | &lt;/strong&gt;&lt;a target=&quot;_blank&quot; href=&quot;https://trinket.io/python/39ab792862&quot;&gt;&lt;strong&gt;Generator 2&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;Just press the &amp;quot;Run&amp;quot; button if the script hasn&apos;t already started. It will load in the right pane.&lt;br /&gt;Please do not change anything on the left (it&apos;s the code), or it may stop working.&lt;br /&gt;&lt;br /&gt;Major thanks to Pooklet; without them I would have never realised I needed a generator for townies :)&lt;br /&gt;Feedback is very welcome.&lt;br /&gt;Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=chemtale&amp;ditemid=1390&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://chemtale.dreamwidth.org/1390.html</comments>
  <category>python</category>
  <category>tutorials/utilities</category>
  <lj:music>LIPHLICH - My Name Was</lj:music>
  <lj:mood>determined</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
</channel>
</rss>
