fix: 5% movements and timelapse support week-1

This commit is contained in:
pwgen2155 2024-03-01 17:16:35 +11:00
parent 78aa924279
commit 3ba52fb424
2 changed files with 5 additions and 3 deletions

View file

@ -2433,8 +2433,8 @@ class DawdleBot(abstract.AbstractBot):
destx = self._db._quest.dests[self._db._quest.stage-1][0]
desty = self._db._quest.dests[self._db._quest.stage-1][1]
for p in self._db._quest.questors:
if not rand.randomly("quest_movement", 10):
# Move at 10% speed when questing.
if not rand.randomly("quest_movement", 20):
# Move at 5% speed when questing.
op = [x for x in op if x != p]
continue
# mode 2 questors always move towards the next goal

View file

@ -6,10 +6,12 @@
<h1>Timelapse of movements</h1>
<p>A Timelapse of everyone since:
Mon, Feb 26 00:05:24 UTC 2024 </p>
{% with timelapse='Wed Feb 28 04:01:29 UTC 2024' %}
{% with timelapse='DEFAULT' %}
<p> Last Generated: {{ timelapse }} </p>
{% endwith %}
<video controls width="500"> <source src="/static/map.mp4" type="video/mp4" />
<p> Week 1: <p>
<video controls width="500"> <source src="/static/map-week-1.mp4" type="video/mp4" />
</div>