-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed some hint issues and started time unlock puzzles
- Loading branch information
Showing
10 changed files
with
260 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 2.2 on 2020-02-09 13:56 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('huntserver', '0044_auto_20200207_0936'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='puzzle', | ||
name='points_cost', | ||
field=models.IntegerField(default=0, help_text='The number of points needed to unlock this puzzle.'), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='puzzle', | ||
name='points_value', | ||
field=models.IntegerField(default=0, help_text='The number of points this puzzle grants upon solving.'), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='puzzle', | ||
name='unlock_type', | ||
field=models.CharField(choices=[('TIM', 'Points Based Unlock'), ('SOL', 'Solves Based Unlock'), ('ETH', 'Either Unlocking Method'), ('BTH', 'Both Unlocking Methods')], default='SOL', help_text='The type of puzzle unlocking scheme', max_length=3), | ||
), | ||
migrations.AlterField( | ||
model_name='puzzle', | ||
name='is_meta', | ||
field=models.BooleanField(default=False, help_text='Is this puzzle a meta-puzzle?', verbose_name='Is a metapuzzle'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated by Django 2.2 on 2020-02-09 16:12 | ||
|
||
from django.db import migrations, models | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('huntserver', '0045_auto_20200209_0856'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='hunt', | ||
name='last_update_time', | ||
field=models.DateTimeField(default=django.utils.timezone.now, help_text='The last time that the periodic update management command was ran'), | ||
), | ||
migrations.AddField( | ||
model_name='hunt', | ||
name='points_per_minute', | ||
field=models.IntegerField(default=0, help_text='The number of points granted per minute during the hunt'), | ||
), | ||
migrations.AddField( | ||
model_name='team', | ||
name='num_unlock_points', | ||
field=models.IntegerField(default=0, help_text='The number of points the team has earned'), | ||
), | ||
migrations.AlterField( | ||
model_name='hunt', | ||
name='hint_lockout', | ||
field=models.IntegerField(default=60, help_text='The number of minutes before a hint can be used on a newly unlocked puzzle'), | ||
), | ||
migrations.AlterField( | ||
model_name='puzzle', | ||
name='unlock_type', | ||
field=models.CharField(choices=[('SOL', 'Solves Based Unlock'), ('POT', 'Points Based Unlock'), ('ETH', 'Either (OR) Unlocking Method'), ('BTH', 'Both (AND) Unlocking Methods')], default='SOL', help_text='The type of puzzle unlocking scheme', max_length=3), | ||
), | ||
migrations.AlterField( | ||
model_name='team', | ||
name='num_available_hints', | ||
field=models.IntegerField(default=0, help_text='The number of hints the team has available to use'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.