StendhalItemsDropScoring: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Tools: add script usage
Line 19: Line 19:
== Tools ==
== Tools ==


A [https://gist.github.com/AntumDeluge/654ba150eb0c4f716b9b39719c010be8 Python script] is available for calculating. The <code>creatures_spawn_points.txt</code> file was generated with the <code>games.stendhal.tools.GenerateMonsterUsage</code> tool & needs to be regenerated if number of creature spawn points have changed.
A [https://gist.github.com/AntumDeluge/654ba150eb0c4f716b9b39719c010be8 Python script] is available for calculating.

Usage:

<blockquote>
<pre>
python stendhal_drop_score.py <item1> [<item2> [<item3> ...]]
</pre>
</blockquote>

The ''<span style="color:darkgreen;">creatures_spawn_points.txt</span>'' file was generated with the ''<span style="color:darkred;">games.stendhal.tools.GenerateMonsterUsage</span>'' tool & needs to be regenerated if number of creature spawn points have changed.


== Notes ==
== Notes ==