Skip to content

Commit

Permalink
Merge pull request cecpk#315 from wraythex/wraythex-patch-8
Browse files Browse the repository at this point in the history
Add showcase support to RM-async
  • Loading branch information
wraythex authored Sep 6, 2023
2 parents 951bfd1 + d5f6fbe commit 1d1c910
Show file tree
Hide file tree
Showing 48 changed files with 18 additions and 2 deletions.
6 changes: 5 additions & 1 deletion rocketmad/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,12 @@ def get_pokestops(swLat, swLng, neLat, neLng, oSwLat=None, oSwLng=None,

if incident_orm is not None:
pokestop['incident_expiration'] = incident_orm.incident_expiration
if incident_orm.incident_display_type == 8:
if incident_orm.incident_display_type == 7:
pokestop['incident_grunt_type'] = 998
elif incident_orm.incident_display_type == 8:
pokestop['incident_grunt_type'] = 352
elif incident_orm.incident_display_type == 9:
pokestop['incident_grunt_type'] = 9001
else:
pokestop['incident_grunt_type'] = incident_orm.character_display
else:
Expand Down
8 changes: 8 additions & 0 deletions static/data/invasions.json
Original file line number Diff line number Diff line change
Expand Up @@ -807,5 +807,13 @@
"510": {
"type": "",
"grunt": "Savannah Trainer"
},
"998": {
"type": "",
"grunt": "Gimmighoul Coins"
},
"9001": {
"type": "",
"grunt": "Showcase"
}
}
Binary file added static/images/invasion/9001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/invasion/998.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/invasion/999.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001_l_501.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001_l_502.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001_l_503.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001_l_504.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001_l_505.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_9001_l_506.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998_l_501.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998_l_502.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998_l_503.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998_l_504.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998_l_505.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_998_l_506.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999_l_501.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999_l_502.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999_l_503.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999_l_504.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999_l_505.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_i_999_l_506.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_q_i_9001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/pokestop/stop_q_i_9001_l_501.png
Binary file added static/images/pokestop/stop_q_i_9001_l_502.png
Binary file added static/images/pokestop/stop_q_i_9001_l_503.png
Binary file added static/images/pokestop/stop_q_i_9001_l_504.png
Binary file added static/images/pokestop/stop_q_i_9001_l_505.png
Binary file added static/images/pokestop/stop_q_i_9001_l_506.png
Binary file added static/images/pokestop/stop_q_i_998.png
Binary file added static/images/pokestop/stop_q_i_998_l_501.png
Binary file added static/images/pokestop/stop_q_i_998_l_502.png
Binary file added static/images/pokestop/stop_q_i_998_l_503.png
Binary file added static/images/pokestop/stop_q_i_998_l_504.png
Binary file added static/images/pokestop/stop_q_i_998_l_505.png
Binary file added static/images/pokestop/stop_q_i_998_l_506.png
Binary file added static/images/pokestop/stop_q_i_999.png
Binary file added static/images/pokestop/stop_q_i_999_l_501.png
Binary file added static/images/pokestop/stop_q_i_999_l_502.png
Binary file added static/images/pokestop/stop_q_i_999_l_503.png
Binary file added static/images/pokestop/stop_q_i_999_l_504.png
Binary file added static/images/pokestop/stop_q_i_999_l_505.png
Binary file added static/images/pokestop/stop_q_i_999_l_506.png
6 changes: 5 additions & 1 deletion static/js/map/map.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2277,7 +2277,11 @@ function initItemFilters() {
}

function initInvasionFilters() {
const invasionIds = new Set([41, 42, 43, 44, 5, 4, 6, 7, 10, 11, 12, 13, 49, 50, 14, 15, 16, 17, 18, 19, 20, 21, 47, 48, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 28, 29, 38, 39, 352, 500, 501, 502, 504, 506, 507])
const invasionIds = new Set([41, 42, 43, 44, 5, 4, 6, 7, 10, 11, 12, 13,
49, 50, 14, 15, 16, 17, 18, 19, 20, 21, 47,
48, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33,
34, 35, 36, 37, 28, 29, 38, 39, 352, 998,
9001, 500, 501, 502, 504, 506, 507])

class InvasionFilterManager extends FilterManager {
getListSelector() { return '.invasion-filter-list' }
Expand Down

0 comments on commit 1d1c910

Please sign in to comment.